AWS Step Functions vs Node-RED

AWS Step Functions fits AWS-native workflows that need managed durability and execution history inside AWS. Node-RED fits event-driven flows on your own servers or devices with no software license fee, but you must test durability and retention yourself.

On this page

AWS Step Functions vs Node-RED: which workflow engine fits your team

Step Functions fits AWS-native workflows that need managed durability, where the state machine, its execution history and its service integrations already live in AWS. Node-RED fits event-driven flows on your own servers or devices, with a visual editor and no software license fee, since its Apache-2.0 license carries no charge for the code itself. Standard workflows bill per state transition, at $0.000025 per transition in US East (N. Virginia) after a free tier of 4,000 transitions a month, according to the AWS Step Functions pricing page. Node-RED has no per-transition charge, but you pay for the hardware or cloud instances, storage, patching, monitoring and the engineers who run it. If your team faces a renewal, a cost increase or a data location requirement, four questions decide the fit.

The first question is location. Step Functions runs only in AWS, so workflows that must stay in your own data center or on devices in a plant do not fit its model. Node-RED 5.0 runs wherever Node.js 22.9.0 or later runs on a 64-bit OS. The second question is run length. Standard workflows can run for up to one year, while Express workflows stop at five minutes, so approvals or waits that span days belong on Standard. The third is delivery semantics. Standard executions are exactly-once, while asynchronous Express runs are at-least-once and synchronous ones are at-most-once, so steps that cannot safely repeat, such as payments or provisioning, need Standard or an idempotent design. The fourth is who edits. Step Functions definitions are written in Amazon States Language, and the workflow type cannot be changed after creation. Node-RED's browser editor suits operators and integrators who prefer to wire flows visually.

Node-RED durability and retry behavior must be proven in testing before any cutover. Its flows are stored as JSON, but whether a message survives a process restart, a downstream outage or a redelivered event depends on the nodes, storage and broker you add, so test each path with injected faults and record the outcome. Compare those results with what you rely on today, including exactly-once execution and 90-day Standard history retention, and set where the audit trail will live before you move. Before go-live, also lock the editor, since Node-RED does not secure it by default and anyone who can reach its address can deploy changes. The Securing Node-RED guide describes HTTPS and username, password, OAuth or OpenID options for the editor and admin API, so have your security team review those settings alongside the test results.

Which AWS Step Functions workloads suit Node-RED and which stay on Step Functions

This table maps common AWS Step Functions workloads to the platform that usually fits them better, Step Functions or self-hosted Node-RED. Read each row with its condition in the third column, because a change in trigger location, wait length or team skills can reverse the answer. The main takeaway is that Node-RED suits event-driven and edge work you run yourself, while long waits, AWS-native triggers and history retention need explicit design on either platform.

ScenarioBetter fitWhy, and what changes the answer
Starts from API Gateway, IoT rules or EventBridgeStep FunctionsNative triggers and IAM roles stay inside AWS. Node-RED fits only if your network can reach these events through a connector you operate and secure.
Approvals or waits lasting up to one yearStep Functions (Standard)Standard workflows run for up to one year with exactly-once execution. Confirm that a Node-RED flow holds long waits durably in your own tests before moving them.
Short, high-volume AWS event handlingStep Functions (Express)Express workflows run for up to five minutes and bill per request and duration. Node-RED fits if the logic must stay in your network and you can size the runtime for peak load.
Workflows that must run outside AWS or in a data centerNode-REDNode-RED runs on Node.js in your servers, containers or edge hardware. Stay on Step Functions if steps depend on AWS service integrations you would have to rebuild.
Edge and IoT flows on local devicesNode-REDNode-RED 5.0 requires a 64-bit OS, so Raspberry Pi 3B and older boards are excluded. Check your hardware against the release notes before choosing this route.
Operations staff who edit flows visuallyNode-REDFlows are edited in a browser and stored as JSON. The editor is not secured by default, so enable HTTPS and authentication first. Stay on Step Functions if the team reviews state machine definitions in code.
Execution history kept beyond 90 daysNeither by defaultStandard keeps history for 90 days and Express keeps none without CloudWatch Logs. Plan your own archive for either platform, and confirm retention requirements with your compliance team.

How far Node-RED works as an AWS Step Functions alternative

Node-RED is a low-code, flow-based tool for event-driven applications. A browser editor sits on a Node.js runtime, and every flow is stored as JSON that can live in version control. AWS Step Functions works differently: it is a managed orchestrator that runs Amazon States Language definitions inside AWS, and the service holds the state machine, its IAM role and its execution history. Node-RED is Apache-2.0 licensed and governed by the OpenJS Foundation. Its own history is a useful maturity signal: IBM's Emerging Technology Services group started it in early 2013, it was open sourced in September 2013, and it moved to the OpenJS Foundation in 2019. Start by sorting your state machines into event handlers, which map well to flows, and long orchestrations, which need the most testing.

The Node-RED flow library contains over 5,000 community-contributed nodes, which can shorten integration work but moves the effort to vetting and maintaining each node. Every node is third-party code with its own maintainer, license, dependency tree and release history, so the team that adopts one owns its risk. Before a node enters production, check its license, last release, open issues and npm dependencies, then pin its version in the package.json file in your Node-RED user directory. Node-RED 5.0 was released on June 9, 2026, requires Node.js 22.9.0 or later, recommends Node.js 24 and no longer supports Raspberry Pi 3B and older models, so run every flow and palette node against the target Node.js version before upgrading. Name one owner for each node your processes depend on.

Whether Node-RED can run long-running, exactly-once business processes must be proven in a pilot before anyone commits to it. Step Functions Standard workflows run for up to one year with exactly-once execution, while Express workflows run for up to five minutes with at-least-once or at-most-once execution, and the workflow type cannot be changed after creation. Build the pilot around failure: a process that waits several days for an approval, a restart of the Node.js process during a step, an API that times out after accepting a payment, and a retry that could send the same notice twice. Record what resumed, what ran again and who noticed. Then decide where execution history lives, since Step Functions keeps Standard history for 90 days and a Node-RED design will need its own audit logging, storage and retention.

How AWS Step Functions and Node-RED compare on run length, history and triggers

This table compares AWS Step Functions with self-hosted Node-RED on the capabilities that most often decide a move: how long work can run, what history survives, and how runs start. Read each Node-RED cell as a set of checks to run in your own environment, because its behavior depends on how your team deploys and configures it. The main takeaway: Step Functions provides run limits, delivery guarantees and history as managed features, while Node-RED gives you control of the runtime that you must test yourself.

CapabilityAWS Step FunctionsNode-RED
LicensingAWS managed service billed by usage. It cannot be self-hosted or moved to another cloud.Apache-2.0 license under the OpenJS Foundation. Check the license of each community node you install, since they are separate packages.
Workflow definitionAmazon States Language JSON. Workflow type is Standard or Express, and that type cannot change after creation.Flows built in a browser editor and stored as JSON. Confirm editor authentication is enabled, since the editor is not secured by default.
Run lengthStandard workflows run up to one year. Express workflows run up to five minutes.Flows run as long as the Node.js process stays up. Test restart behavior and how delay and timer nodes resume after a restart.
Execution guaranteesStandard workflows run exactly once. Express asynchronous runs are at-least-once and synchronous runs are at-most-once.Not a managed execution engine. Test duplicate, lost and retried messages during restarts before relying on any flow for money or records.
Execution historyStandard history kept 90 days after completion. Express workflows keep no history and need CloudWatch Logs.No per-run history by default. Confirm which logging nodes or log sinks you will add, and how long your team must keep the logs.
Event triggersStarts from Amazon API Gateway, IoT rules and over 140 other EventBridge event sources.Triggers come from input nodes in the palette, many from community packages. Confirm each event source has a maintained node before you design flows around it.
Definition exportDescribeStateMachine returns the definition and IAM role ARN. KMS-encrypted definitions also need kms:Decrypt.Flows are JSON files you can copy. Test an export and confirm how credentials are stored and whether they travel with the file.
Pricing modelStandard: $0.000025 per transition, 4,000 free monthly (US East). Express: $1.00 per million requests plus $0.00001667 per GB-second. Per AWS pricing page.No license fee under Apache-2.0. Your costs are the hosts, operations time and monitoring you add. Ask your team to cost each runtime host.
Runtime requirementsNo servers to run. Needs an AWS account and IAM roles, plus CloudWatch Logs for Express history.Node.js 22.9.0 or later for Node-RED 5.0, Node.js 24 recommended, on a 64-bit OS. Confirm your hardware, since Raspberry Pi 3B and older are unsupported.

Where workflow definitions, run data and editor access live on each platform

Each platform keeps workflow definitions, run data and editor access in different places, and those places decide who can read, change and export your automations. The six cards cover where the data lives, what each install needs, how people sign in, how the editor is exposed and who holds the evidence. Read them together before you size the migration.

AWS-side data location

Standard workflow definitions and execution history sit in your AWS account, in the region you chose when you created the state machine. Standard execution history is kept for 90 days after an execution completes. Express workflows do not capture execution history, so their run data depends on CloudWatch Logs in the same account and region. Before you plan an export, confirm which region and log group hold each workflow's data, because that answers most residency questions.

Workflow type guide

Node-RED data location

Node-RED stores each flow as JSON on the host you run it on, so definitions stay on your servers, device or cloud account. Run data is whatever your flows write out: debug output, log files, databases or third-party services that your nodes call, so map each destination before cutover. Credentials need a separate check. Confirm with the Node-RED maintainers or test a clean install to see where credentials are written, how they are encrypted and which operating system users can read them.

Install footprints and versions

Node-RED installs with npm, through an install script on Raspberry Pi, in Docker, on BeagleBone boards, on Android through Termux (experimental), and on cloud platforms including FlowFuse, AWS and Microsoft Azure. Node-RED 5.0 requires Node.js 22.9.0 or later, recommends Node.js 24 and needs a 64-bit OS, so Raspberry Pi 3B and older models are no longer supported. Step Functions has no host to size. For Node-RED, check the device, OS and Node.js version against the release you plan to run before you choose a footprint.

5.0 release post

Identity and access controls

On AWS, IAM roles and policies control who can create, start and describe a state machine, and KMS keys protect encrypted definitions. DescribeStateMachine returns the Amazon States Language definition and IAM role ARN, and a caller needs kms:Decrypt to read a KMS-encrypted definition. Node-RED uses a different model: editor and admin API sign-in runs through Passport, with username and password, OAuth or OpenID, and HTTP nodes use basic authentication. Map every current editor to an identity provider group, and confirm who can deploy flows and read credentials.

DescribeStateMachine reference

Editor exposure and network reach

The Node-RED editor is not secured by default, so anyone who can reach its IP address can deploy changes to running flows. Put HTTPS and authentication in place before the editor is reachable from any network beyond your admin workstation. Then review reverse proxies, firewall rules and cloud load balancers, since one open port can expose deployment rights. Step Functions access runs through AWS accounts and IAM, so this exposure is new work you take on during the move.

Securing Node-RED

Compliance evidence ownership

Assessors ask for logs, change records and access reviews, and the platform that holds each record determines who can produce it. On AWS, execution history and CloudWatch Logs stay in your account, which means retention settings are yours to set and keep. For Node-RED, confirm what the runtime logs, where it writes those logs and how long they are kept before cutover. Auditors and certification bodies issue the reports. DeployOpen prepares the systems, controls and evidence for those assessments but does not issue reports or certifications itself.

What drives the cost of Step Functions and of running Node-RED

The Step Functions bill is metered, so the first decision is the workflow type. Standard workflows charge $0.000025 per state transition in US East (N. Virginia), after 4,000 free transitions each month. Every state a run enters counts, including each pass through a retry loop, so a payment flow that retries a failed step several times multiplies the transition count for one order. Express workflows charge $1.00 per million requests plus $0.00001667 per GB-second of duration, but they keep no execution history of their own, so CloudWatch Logs charges recur on top. Confirm log ingestion and retention rates on the AWS Step Functions pricing page before you model them. Customer managed KMS keys add a cost to confirm separately, and callers of DescribeStateMachine need kms:Decrypt on encrypted definitions. Engineering time to write and maintain Amazon States Language is a cost that no invoice shows.

Node-RED carries no license fee because it is released under Apache-2.0, so its costs are the hosts and the people who run it. One-time work includes building the host, hardening the editor (it is not secured by default, so HTTPS and authentication through Passport must be configured first), and reviewing the community nodes you allow from a library of over 5,000. Recurring costs include servers or devices, backups of flow files and credentials, OS and Node.js patching, and the Node.js upgrades that Node-RED 5.0 requires (Node.js 22.9.0 or later, with Node.js 24 recommended). High availability is a design you pay for in extra instances and a load balancer, so confirm your failover design before you size the hosts. If the team wants a support contract, FlowFuse, Inc., founded in 2021 by Node-RED co-creator Nick O'Leary, develops Node-RED for enterprise and industrial use, so confirm its support terms directly with the company.

The main drivers differ by side. On Step Functions, transition counts including retry loops, Express duration and log retention move the bill most, so measure them from your own execution data before you model cost. On Node-RED, the number of instances, the environments you keep (development, test and production) and your team's skill with Node-RED flows and JavaScript set the effort. Ask any implementation partner, DeployOpen included, for a written quote that states the flow scope (which state machines or flows move, and how many), the instance count, the environments, the assumed hours by role and the deliverables, such as documentation, backups, hardening evidence and handover. Check that the quote also lists exclusions, such as ongoing support. DeployOpen does not publish a price list, so a quote follows from that written scope.

Which path to take: a decision sequence for the two platforms

The sequence starts with one question: must the workflows run outside AWS? A yes sends the work to a Node-RED pilot, where durability tests decide whether it fits. A no moves to run length. Runs over five minutes, or runs that need exactly-once behavior, point to Step Functions Standard. Short, high-volume workloads are considered for Express, which caps runs at five minutes and does not capture execution history. Operations staff who need visual editing also lead to the Node-RED pilot. Every path ends at a proof step: test restarts, retries and duplicate events before cutover.

Decision path from hosting constraints to a tested cutover.

What a move from AWS Step Functions to Node-RED involves, step by step

This sequence moves each state machine into Node-RED flows that you run in your own infrastructure. It starts with a complete inventory and export from AWS, then rebuilds the logic, secures the editor, and cuts over only after both systems have been tested side by side. The result is a documented, backed-up set of flows with a record of what was exported and how each behavior was verified.

  1. Inventory each state machine

    Call the DescribeStateMachine API for every state machine in each account and region where your workflows run. For each one, record the Amazon States Language definition, the IAM role ARN and the configuration, including logging and tracing settings. Note whether each machine is Standard or Express, because the workflow type cannot be changed after creation and the two types have different capabilities. The owning team reviews one inventory sheet that lists every machine, its owner and its triggers. Done when the sheet matches what your AWS console or CLI lists in each region, and every owner has confirmed their rows.

  2. Decrypt KMS-encrypted definitions

    Some state machine definitions are encrypted with KMS. For those, the principal running the export needs kms:Decrypt permission on the relevant key, or the definition cannot be read back in plain form. Create a dedicated export role, scope the permission to the specific key ARN and remove it once the export is finished. Confirm with your security team who approves key policy changes, because this step touches a key that protects workflow logic. Done when every definition in the inventory opens as readable Amazon States Language and is stored in version control with its checksum.

  3. Record integrations, roles and event sources

    For each machine, list every service integration in its definition, such as calls to Lambda, DynamoDB or SNS, and note which integration patterns it uses. Map each IAM role ARN to the permissions it grants, because the Node-RED host will need its own credentials and those permissions must be recreated deliberately. Record each event source that starts a workflow, including Amazon API Gateway, IoT rules and EventBridge rules, since each trigger must be rebuilt as an input to a flow. Mark any Express machines, because they do not support the .sync or callback patterns. Done when each machine has a row covering integrations, role, triggers and patterns, reviewed by the service owner.

  4. Export execution history before retention ends

    Standard workflow execution history is retained for 90 days after an execution completes, so older runs drop out of Step Functions on that schedule. Export the history you need for audit, troubleshooting or reconciliation before that window closes, and treat anything older as already gone. Express workflows do not capture execution history in Step Functions, so their records depend on CloudWatch Logs; confirm that logging is enabled and retained for the period you need. The detailed export method is covered in the sibling guide on exporting state machines from AWS Step Functions. Done when the history for each in-scope machine is stored in your retention location and someone other than the exporter has confirmed it opens.

  5. Map each state to Node-RED logic

    Translate each Task, Choice, Wait, Parallel and Map state into Node-RED nodes or function logic. Task states usually become a node that calls the external service over HTTP or through a dedicated integration node, if one exists in the library you have approved. Choice states map to switch nodes, Wait states to delay logic, and Parallel and Map states to split and join patterns or function code that iterates over collections. Keep the mapping in a table with the source state name, the target node and any behavior that differs, such as how errors are surfaced. Done when a reviewer has traced every state in each definition to a flow element and the table lists each accepted difference.

  6. Replace callback and sync patterns

    The Job-run (.sync) and Callback (.waitForTaskToken) patterns wait on external work without your code tracking it, so they need an explicit design in Node-RED. Replace each one with a polling loop or a webhook handler, and store a correlation key that ties each response to the flow instance that started it. Design every call to be idempotent so that a retry or duplicate message does not repeat a payment, write or notification. Confirm how each external system handles duplicate requests, and record the retry limit and backoff chosen for each integration. Done when a test run completes each external job and resumes the correct flow instance, and a forced retry produces no second side effect.

  7. Harden the editor and back up flows

    The Node-RED editor is not secured by default, so anyone who can reach its address can deploy changes. Before production use, serve the editor over HTTPS and enable authentication for the editor and admin API, using a username and password or OAuth and OpenID through Passport. Protect HTTP nodes with basic authentication where they accept requests. Confirm where Node-RED stores node credentials so they are not committed with the flow JSON. Keep flows in version control and take scheduled backups of the flows and credential files to a separate location. Done when an unauthenticated request to the editor is refused, a restored backup loads in a test instance, and the hardening steps are written into your runbook.

  8. Test side by side, cut over and decommission

    Run the Node-RED flows alongside Step Functions in a non-production environment, feeding both the same test events. Test restarts, retries and duplicate deliveries on purpose, and compare outcomes, execution records and downstream data with what Step Functions produced. When results match and the owner signs off, move the event sources to Node-RED in a planned cutover window, keeping the AWS state machines in place as a fallback. Decommission each state machine only after its retention export is verified and the fallback period agreed with the owner has ended. Done when the decommission record lists each machine, its export location and its approver.

Questions buyers ask before moving off AWS Step Functions

Is Node-RED a direct replacement for Step Functions state machines?

No. Node-RED runs flows, so each state machine must be rebuilt as a flow and tested against the behavior of the original. Node-RED is an Apache-2.0 licensed, flow-based tool with a browser editor and a Node.js runtime, and it stores flows as JSON. Step Functions defines workflows in Amazon States Language, so those definitions cannot be imported as they are. The model changes in several places that matter for migration:

  • Definition format: Task, Choice, Wait, Parallel and Map states map to Node-RED nodes, wires and function logic that your team writes and reviews.
  • Execution guarantees: Standard workflows can run for up to one year with exactly-once execution, so confirm how your flows handle long waits, retries and restarts.
  • Triggers: API Gateway, IoT rules and EventBridge sources need matching input nodes that you configure and secure.
  • Identity: IAM roles give way to editor authentication and the credentials stored for each external system.
What does Node-RED cost to run compared with Step Functions?

Node-RED has no license fee, so its cost is the hosting and staff time needed to run it, while Step Functions bills per state transition in Standard workflows and per request and duration in Express workflows. Standard workflows are priced at $0.000025 per state transition in US East (N. Virginia), with 4,000 free state transitions per month, according to the AWS Step Functions pricing page. Transition counts rise with loops, retries and parallel branches, so measure them in your own account first. Node-RED's costs come from:

  • Servers or VMs for the editor and runtime, sized for flow volume and uptime needs.
  • Storage, backups and log retention.
  • TLS certificates, monitoring and patching.
  • Engineering and on-call time for upgrades and incidents.

Ask for a quote that lists each component, the hosting assumptions and who pays for each one.

How long does it take to migrate off Step Functions?

No duration figure applies to every migration, so ignore any number that is not tied to a written scope. The timeline depends on how many state machines you run, how many service integrations and event sources they use, how much retry and error handling must be rebuilt, and how long the old and new systems must run side by side during cutover. Count each of these in your inventory before planning. DeployOpen agrees timelines in writing under a fixed-scope plan, with scope, deliverables and timelines set before work starts. A useful written scope names the state machines in scope, the integrations to rebuild, the test method, the cutover steps and the acceptance criteria. Also confirm whether any Standard workflow is long running, since those can run for up to one year and may need more time to cut over.

Can our own engineers move Step Functions workflows to Node-RED?

Yes, an experienced team can do the work itself, but it needs time to rebuild and test each workflow and to run the platform afterward. The skills that matter most are JavaScript for function nodes, JSON for flow definitions, Linux and Docker for hosting, and reverse proxy and TLS configuration. Your team also needs enough AWS knowledge to read IAM roles, service integrations and execution logs from the old system. Node-RED 5.0 requires Node.js 22.9.0 or later, with Node.js 24 recommended, and a 64-bit OS, according to the Node-RED 5.0 release post. Secure the editor before it is reachable from any network, since it is not secured by default. The Node-RED security guide covers HTTPS, username and password, and OAuth and OpenID authentication. If your team lacks capacity for these tasks, a fixed-scope engagement with DeployOpen can plan, implement, harden, back up and document the platform.

How do we keep execution history and logs past 90 days?

Step Functions keeps Standard workflow execution history for 90 days after an execution completes, and Express workflows do not capture execution history, so they depend on CloudWatch Logs. On either platform, keeping records past 90 days means deciding what must be retained, then writing it to storage you control with retention and access rules applied there. Records to keep usually include execution inputs and outputs where policy allows, error details, state machine definitions and audit entries. Export the definitions and the execution records you need before the 90-day window closes on existing runs. For Node-RED, confirm what the runtime and your logging stack keep by default, since the Step Functions window does not carry over. Then run a test that retrieves a record after 90 days. Your compliance owner should set the retention period, since it depends on your policy.

Does DeployOpen issue certifications or audit reports for our migration?

No. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those documents, and they decide what evidence they accept. DeployOpen prepares the systems, controls and evidence that those assessors review, such as access control settings, audit logging configuration, backup records and documentation of how the migrated workflows handle data. Before work starts, ask your auditor which evidence they expect from the new platform, and write that evidence into the scope. Your compliance lead should also confirm which frameworks apply to these workflows and whether the self-hosted platform changes your audit boundary, because moving workflows off AWS can change which systems and controls an assessor reviews.

How DeployOpen evaluates and migrates AWS Step Functions workflows to Node-RED

DeployOpen plans, implements, customizes, integrates, hardens, backs up, documents and supports self-hosted open-source platforms inside your own infrastructure. For AWS Step Functions workflows moving to Node-RED, the work starts with a written scope that lists each state machine, its triggers and the AWS services it calls.

How we scope

  • Inventory every state machine, its workflow type, its triggers and the AWS services each state calls.
  • Flag Express workflows early, since they have no built-in execution history and lack the job-run and callback patterns.
  • Document the fixed scope with deliverables, timelines and acceptance criteria agreed in writing before work starts.

How we build

  • Map each state machine to a Node-RED flow, translating Task, Choice, Wait and Parallel states into nodes.
  • Secure the editor with HTTPS and authentication before any flow goes live, since the editor is not secured by default.
  • Connect AWS services with credentials your security team approves, and test each integration in a non-production environment.

How we hand over

  • Deliver a migration inventory, flow documentation and a mapping from each original state machine to its replacement.
  • Export Amazon States Language definitions and Standard execution history before the 90-day retention window closes.
  • Run old and new flows side by side during cutover, then document the decommissioning steps for the AWS resources.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer, covering Node-RED releases and flow changes.
  • Run security testing on the flows, editor access and admin API, and retest after fixes are applied.
  • Back up the Node-RED configuration and flow files, and document restore steps your operations team can run.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.