Amazon EventBridge vs AWS Step Functions

Choose Amazon EventBridge when AWS, your applications and SaaS events must reach many targets, and AWS Step Functions when a process needs ordered steps, retries and state. Both are AWS-managed, so data control and exit depend on your AWS setup and how you define workflows.

On this page

Amazon EventBridge vs AWS Step Functions: which fits your workflow

Choose Amazon EventBridge when the job is routing events to many consumers, and choose AWS Step Functions when the job is running a multi-step process that must keep state, wait, branch and retry. EventBridge is a serverless event router that connects AWS services, your own applications and SaaS applications, and it provides centralized event routing across all accounts in an AWS organization. It fits event fan-out: one event can reach consumers in other accounts or SaaS tools, including API destinations such as Shopify and Zendesk, and events can be retained for up to 365 days. Step Functions fits a process where each step depends on the one before, such as an order that reserves stock, waits for a payment callback, branches on the result and retries a failed shipment call.

Pick the workflow type before you write the first state, because it cannot be changed after the state machine is created. Standard workflows run for up to one year with exactly-once execution and keep execution history for 90 days after an execution completes, which suits long approvals and audit needs. Express workflows run for up to five minutes, do not capture execution history (so you need CloudWatch Logs for visibility), and do not support the Job-run (.sync) or Callback (.waitForTaskToken) patterns, Distributed Map or activities. Standard is billed at $0.000025 per state transition in US East (N. Virginia) after a free tier of 4,000 transitions per month, while Express is billed at $1.00 per million requests plus $0.00001667 per GB-second, so model your transition count and duration against your own volume. Compare the two types in the AWS guide to choosing a workflow type.

The decision turns on three questions. First, is the work ordered state (one process that must know where it is across steps) or event fan-out (many independent consumers reacting to the same fact)? Second, which workflow type does that process need, given the one-year and five-minute limits and the logging difference? Third, is the team willing to stay on AWS-managed services? EventBridge has no self-managed edition described on its product page, and Step Functions is also AWS-managed, so leaving AWS means replacing both. The two are often combined: Step Functions workflows can start from Amazon API Gateway, IoT rules and over 140 other EventBridge event sources, so a common pattern is EventBridge routing the event and a state machine running the process it triggers. Confirm the pricing for your region and event volume with AWS before you commit.

How to decide between event routing, orchestration and self-hosting

The diagram starts with one question: is the work routing events to many targets, or running a process that keeps state between steps? Event routing across AWS accounts and SaaS applications points to Amazon EventBridge. Stateful orchestration points to AWS Step Functions, where the workflow type is the next choice. Standard workflows suit long runs that need exactly-once execution, and Express workflows suit short, high-volume runs. If the runtime must stay in your own infrastructure, the branch leads to a self-hosted workflow engine, because EventBridge is an AWS managed service with no self-managed edition described on its product page. Confirm the workflow type before building, since it cannot be changed after the state machine is created.

Decision path from event routing or orchestration to a self-hosted option.

How the capabilities of Amazon EventBridge and AWS Step Functions compare

This table compares what Amazon EventBridge and AWS Step Functions do, including Step Functions workflow types and limits. Read each row as a question of fit: EventBridge routes events between producers and targets, while Step Functions runs ordered steps that can wait, retry and track state. The workflow type cannot be changed after a state machine is created, so choose Standard or Express before you write the definition.

CapabilityAmazon EventBridgeAWS Step Functions
What the service isServerless event router for building event-driven applications from AWS services, your own applications and SaaS applicationsWorkflow orchestrator that runs state machines made of steps
Cross-account routingCentralized event routing across all AWS accounts in an organizationNot a stated routing feature; confirm cross-account patterns in AWS documentation
Retention, formats and orderingUp to 365 days of event retention; JSON, Avro, Protobuf and CloudEvents; ordering guaranteesNot an event store; see execution history for run records
API destinationsSends events to API destinations such as Shopify and ZendeskStarts from API Gateway and IoT rules; confirm HTTP task options for outbound calls
Workflow typesNot applicable; routes events rather than running workflowsStandard runs up to one year with exactly-once execution; Express runs up to five minutes with at-least-once (asynchronous) or at-most-once (synchronous)
Execution history and logsConfirm archive and replay options for your event bus in AWS documentationStandard keeps history 90 days after completion; Express needs CloudWatch Logs
Express workflow limitsNot applicableNo Job-run (.sync) or Callback (.waitForTaskToken) patterns, no Distributed Map and no activities
Definition languageEvent rules and patterns configured in AWS; confirm current syntax in AWS documentationAmazon States Language for Standard and Express state machines
Start sourcesEvent producers include AWS services, your applications and SaaS applicationsAPI Gateway, IoT rules and over 140 other event sources in Amazon EventBridge

Amazon EventBridge vs AWS Step Functions pricing structure, unit by unit

Both services bill by usage, but the meters differ. EventBridge counts custom events, scheduled invocations and filtered pipe requests, while Step Functions counts state transitions for Standard and requests plus duration for Express. Prices and regions change, so check the current AWS pricing pages before you model anything.

EventBridge bills custom events per bus

Custom events ingested on an event bus are the core unit of EventBridge billing. The pricing page's worked examples use $1.00 per million custom events ingested on a bus, so event volume is the main lever. Count how many producers publish to each bus, how many events each sends, and whether those events come from your own applications or from AWS services and SaaS partners. Then confirm on the pricing page which event types are billed, because rates can change.

EventBridge pricing page

Scheduler includes a free tier

EventBridge Scheduler includes a free tier of 14,000,000 invocations per month, metered separately from custom events on a bus. Recurring jobs, for example nightly syncs, draw on that allowance, so count your scheduled invocations per month before you assume any scheduler charge. Confirm on the pricing page which invocation types count toward the free tier and whether the targets your schedules call carry their own charges.

Pipes bills requests after filtering

The EventBridge Pipes worked example prices requests at $0.40 per million requests after filtering. Events a filter drops fall outside that count, so filter design directly sets the billed volume. Check how much of your traffic a pattern removes before it reaches the target, then test the pattern on a sample stream before you size the pipe for production. Confirm the current request definition on the pricing page.

Standard bills per state transition

Standard workflows cost $0.000025 per state transition in US East (N. Virginia), with 4,000 free transitions per month. Every state a run enters counts, so a workflow with many states or loops costs more per run than a shorter one reaching the same outcome. Regional rates can differ, so use the rate for the region where you deploy. Confirm on the pricing page how retries are counted before you model a retry-heavy process.

Step Functions pricing page

Express bills requests and duration

Express workflows are priced at $1.00 per million requests plus $0.00001667 per GB-second of duration. Duration grows with how long each run lasts and how much memory it uses, and Express runs last up to five minutes, so long-running logic usually belongs on Standard. Model request count and average duration together, since the two meters move independently. The workflow type cannot be changed after creation, so choose it before you build.

Workflow type guide

Logging is a separate cost

Express workflows do not capture execution history, so they depend on CloudWatch Logs to show what ran. That log volume is billed under CloudWatch, so it appears as a separate line from the Step Functions charge. Standard workflows keep execution history for 90 days after an execution completes. Set log levels deliberately on high-volume workflows, and confirm the CloudWatch Logs pricing and retention settings for your region.

Which scenarios favor each AWS service in practice

This table maps common workloads to the AWS service that fits them best, and to the case where neither does. Read the why column first, because each advantage depends on a condition such as delivery semantics, run length or where the runtime must live. The main takeaway is that the workflow type is fixed at creation, so settle delivery and duration needs before building.

ScenarioBetter fitWhy
Fanning AWS service events or SaaS webhooks out to several targetsAmazon EventBridgeHelps when several consumers need the same event. API destinations can deliver to services such as Shopify and Zendesk.
Order or onboarding process with waits, branches and retriesStep Functions StandardFits when each step must be audited. Runs up to one year with exactly-once execution; history kept 90 days after completion.
High-volume short workflow where at-least-once delivery is acceptableStep Functions ExpressFits when handlers are idempotent and runs stay under five minutes. Express keeps no execution history, so CloudWatch Logs is needed.
Team needing events and orchestration togetherBoth, with EventBridge triggering Step FunctionsFits when a routed event should start a stateful workflow. Step Functions can start from over 140 EventBridge event sources.
Team that must keep runtime in its own data centerNeitherEventBridge has no self-managed edition. Confirm Step Functions options, then evaluate self-hosted engines such as Temporal or Kestra.
Team unsure which Step Functions workflow type to pickStandard or Express, chosen before buildThe workflow type cannot be changed after creation, so settle the delivery and duration needs first.

What running each AWS service takes day to day

Running Amazon EventBridge day to day centers on rule design, targets, permissions and monitoring. AWS describes EventBridge as a serverless event router, and its product page describes no self-managed edition, so there are no clusters to patch. The team still owns the event bus layout, the event patterns in each rule, the targets each rule invokes and the IAM role that lets EventBridge call those targets. Centralized routing across an AWS organization adds cross-account permissions that someone must review as accounts change. Ask your AWS team who approves new rules, who reviews target permissions and which failed deliveries raise an alarm for each target.

Step Functions effort centers on the state machine itself. Each workflow is written in Amazon States Language, so the team owns those definitions, their version history and the IAM role attached to each state machine. The Standard or Express choice is made at creation and cannot be changed later, so settle it in design review before the first deployment. Standard keeps execution history for 90 days after an execution completes. Express does not capture history in Step Functions and requires CloudWatch Logs, so the team must own log group creation, retention and access. Express workflows also do not support the .sync or .waitForTaskToken patterns, Distributed Map or activities, which shapes how a workflow is built. The workflow type guide lists these differences.

Before you commit to either service, confirm four things with your AWS team. First, IAM design: which roles can create or change rules, targets, state machines and definitions, and who can call DescribeStateMachine, including kms:Decrypt where definitions are KMS-encrypted. Second, logging retention: how long CloudWatch Logs keeps Express history, and whether the 90-day Standard window meets your audit period. If it does not, plan a retention route outside Step Functions and confirm the options with AWS. Third, alerting: which failed invocations and failed executions page a person. Fourth, change ownership: who approves a new rule, a new state machine version and an IAM change. Per-event and per-transition pricing does not change this operating work, so budget time for these four checks in either design.

Where your data sits and what leaving Amazon EventBridge or AWS Step Functions involves

Both services keep event and workflow data inside AWS, and the controls over that data sit in the regions, IAM roles, KMS keys and retention settings you configure. The cards below cover where the data lives, how to export definitions and run history, the retention windows that limit what you can recover, the AWS-specific dependencies that shape a move, and what leaving involves.

Where workloads run

Amazon EventBridge and AWS Step Functions run inside the AWS regions you select when you create buses, state machines and log groups. Ask your team to list the region of every event bus, state machine and CloudWatch log group, then trace each rule target and API destination to find any cross-region or external path. Confirm every cross-region path before you write residency terms into a contract or data processing agreement.

Exporting state machine definitions

The Step Functions DescribeStateMachine API returns the Amazon States Language definition, the IAM role ARN and the configuration of a state machine. Callers need kms:Decrypt permission when the definition is encrypted with a KMS key, so confirm that your export role holds it before you plan a bulk export. The response covers workflow logic only, so trigger rules and run history must be exported separately.

DescribeStateMachine reference

Retention windows and run history

EventBridge supports up to 365 days of event retention, while Standard workflow execution history is kept for 90 days after an execution completes. Express workflows do not keep execution history in Step Functions, so their history exists only in CloudWatch Logs if you enable that logging. Export run history before the window closes and align it with the audit retention period your regulator or internal policy requires.

Workflow type comparison

AWS-specific integration points

Routing depends on IAM roles, resource policies, service integrations and API destinations such as Shopify and Zendesk, and each of these is written against AWS APIs. Express workflows also lack the Job-run (.sync) and Callback (.waitForTaskToken) service integration patterns, so a port may need different orchestration logic. List every AWS-only dependency in one inventory before you estimate the effort of a move.

Amazon EventBridge overview

What leaving involves

The EventBridge product page describes no self-managed edition, so leaving means rebuilding the routing layer on another platform. That work covers recreating triggers, targets and retry behavior, then rewriting state machines from Amazon States Language into the new engine's model. Before shutdown, move run history and audit evidence into storage you control and keep it available for your full retention period. Plan the routing rebuild first, because it sets the order of every other step.

When a self-hosted open-source option fits better than either AWS service

Neither AWS service is the right answer when the workflow runtime itself must run in your own data center or an air-gapped network. EventBridge is an AWS managed service with no self-managed edition, so a runtime that must sit inside a network with no path to AWS needs a different engine. The same applies when event payloads and workflow history must stay outside a public cloud. Step Functions keeps Standard execution history for 90 days, and Express workflows need CloudWatch Logs for history, so ask where your compliance record will live. Node-RED (Apache-2.0, an OpenJS Foundation project) suits flow-based, event-driven logic across devices and internal services. Windmill can run on Docker Compose or Kubernetes Helm charts against an external PostgreSQL database you control, which keeps both the engine and its state inside your estate.

License terms decide which of these options you can use commercially, and in some cases they apply file by file. n8n's main codebase is under the Sustainable Use License, which allows internal business and non-commercial use, but files with .ee in their name need a valid n8n Enterprise License, and without a license key the install runs as the Community edition (n8n's LICENSE file). Activepieces is MIT (Expat) licensed except the packages/ee and packages/server/api/src/app/ee directories, which fall under a separate commercial license. Windmill's source is AGPLv3 and Apache-2.0 when compiled without the enterprise feature flag, and its prebuilt Community Edition images include proprietary code that is free for internal use only. Managed services or reselling need a commercial license. Ask counsel to map each feature you need to the license that covers it before you commit.

Running it yourself moves operational work to your team. You own the infrastructure, high availability for the engine and its database, backups with tested restores, upgrades, and the logging and retention settings. Cost shifts from per-transition or per-event billing to hosting and staff time, so model both before deciding. Delivery semantics are the test most teams skip. Step Functions Standard workflows run exactly once, Express workflows are at-least-once for asynchronous runs and at-most-once for synchronous ones, and AWS lists up to 365 days of event retention for EventBridge. Confirm with your own tests whether each option gives the retry, deduplication and durability behavior your workflows need, including what happens when a worker crashes mid-run.

What a move between Amazon EventBridge and AWS Step Functions involves

This sequence moves event routing and workflow orchestration from one AWS service to the other, or to a different platform, while keeping track of what each flow does. It starts with an inventory and ends with a cutover and retained execution history. Each step names the output you should have in hand before you move on.

  1. Inventory event sources, targets and state machines

    List every event bus, rule, scheduler schedule, pipe, API destination and target in each AWS account and Region that touches the flows, along with every Step Functions state machine and the systems it calls. Include cross-account routing across the organization, since EventBridge can route events between accounts, and note any archive or replay settings. The owner of each flow should confirm the inventory line by line. The step closes when the inventory is signed off by the team that owns each flow and every item has an owner, a Region and a business purpose written next to it.

  2. Classify each flow as routing or orchestration

    Decide, flow by flow, whether EventBridge should keep fanning events out to targets (routing) or Step Functions should hold state, branch, wait and retry across steps (orchestration). Some flows will use both, with a rule starting an execution. For each orchestrated flow, pick the workflow type now, because Standard workflows run for up to one year with exactly-once execution, Express workflows run for up to five minutes, and the type cannot be changed after the state machine is created. Express also lacks the Job-run (.sync) and Callback (.waitForTaskToken) patterns, Distributed Map and activities. The step closes with a decision record per flow.

  3. Export definitions and review IAM and KMS permissions

    Call DescribeStateMachine for each state machine and save the returned Amazon States Language definition, the IAM role ARN and the configuration to version control. The caller needs kms:Decrypt permission when the definition is KMS-encrypted, so confirm that the account running the export holds it. Review the execution role attached to each state machine against the services it calls, and note the permissions each flow needs. If the target platform is not AWS, translating definitions and retry settings is a separate piece of work, so scope it in writing first. The step closes when every definition is stored in version control and every role has a reviewed permission list.

  4. Rebuild or re-point rules and triggers

    Recreate each EventBridge rule that starts a Step Functions execution, or point the existing rule at the new target, and check the rule's target role, input transformer and dead-letter configuration. Triggers that come from API Gateway or IoT rules are re-pointed in their own service, so list them separately. For a move to a non-AWS platform, each rule becomes an endpoint, webhook or queue consumer on the new system, and its event payload format must be tested against the new flow. The step closes with a table mapping each old trigger to its replacement, plus a passing test event for every trigger in a non-production account.

  5. Run both paths in parallel and compare behavior

    Send live or replayed events to both the old and new paths for an observation period agreed in writing, and compare what each one delivers. Record duplicate deliveries, retry counts, dead-letter handling and the order in which steps complete. Standard and Express differ here: Standard is exactly-once, while asynchronous Express runs at-least-once and synchronous Express at-most-once, so test the consequences of duplicates or missing executions for each flow before cutover. Ask the engineers who own the downstream systems to confirm what they receive from each path. The step closes with a written comparison of delivery and failure behavior, signed off by the flow owners.

  6. Cut over and keep execution history

    Switch the triggers to the new path and disable the old rules only after the comparison is signed off. Keep the old state machine in place for a rollback window the team agrees in writing. Standard workflows retain execution history for 90 days after an execution completes, and Express workflows do not capture execution history, so they depend on CloudWatch Logs. Confirm the retention period with your auditor or compliance lead, then export or archive what it requires before the 90-day window closes for Standard executions. The step closes with a cutover record, an archive of execution history for the agreed retention period, and a tested rollback.

Questions buyers ask before comparing Amazon EventBridge and AWS Step Functions costs

How do the Amazon EventBridge and AWS Step Functions bills differ?

EventBridge bills by event volume, and Step Functions bills by state transition for Standard workflows or by request and duration for Express workflows. The pricing card on this page shows the published figures: custom events ingested on a bus at $1.00 per million in the EventBridge pricing examples, and Standard workflows at $0.000025 per state transition in US East (N. Virginia), with a free tier of 4,000 state transitions per month. Express workflows cost $1.00 per million requests plus $0.00001667 per GB-second of duration. Your bill therefore depends on how many events you publish, how many steps each workflow runs, and how long Express executions last. The Step Functions rates apply to US East (N. Virginia), so confirm the rates for your region on the AWS Step Functions pricing page before you model volumes.

Can Amazon EventBridge and AWS Step Functions be used together?

Yes. Step Functions workflows can start from over 140 other event sources in Amazon EventBridge, so a rule on an event bus can trigger a state machine when an event matches. One design uses EventBridge to route events from AWS services, your applications and SaaS applications, and Step Functions to run the multi-step logic that needs branching, retries and waits. Check the workflow type first, because Express workflows do not support the Job-run (.sync) or Callback (.waitForTaskToken) integration patterns, Distributed Map or activities. Running both services also means two bills, so model the routing volume and the workflow transitions in one estimate. Confirm the event patterns and targets in your own accounts before you rely on this split.

How long does it take to move flows off AWS?

The duration depends on the size and complexity of your estate, so no reliable figure can be given before an inventory exists. The main drivers are the number of flows, the complexity of each state machine (states, retries, parallel branches, nested workflows and Distributed Map use), and the number of integrations, since each connector to a target system needs credentials and its own tests. Testing and audit evidence add effort, because each flow needs documented behavior, test results comparing old and new outputs, and logs kept for review. Start with an inventory of EventBridge rules, targets and Step Functions state machines, then ask for a timeline based on that list. Standard execution history is kept for 90 days, so export or archive it before cutover if auditors need older runs.

What does a migration need from our team?

Four things should be in place before work starts: read access to the AWS estate, a named owner for each flow, representative test data, and written decisions on retention and regions. For access, the Step Functions DescribeStateMachine API returns each state machine's Amazon States Language definition, IAM role ARN and configuration, and the caller needs kms:Decrypt permission for KMS-encrypted definitions. Each flow needs an owner who can confirm the business behavior and sign off on test results. Test data should include normal inputs, edge cases and failure cases, and it should run in a non-production environment. Retention decisions set how long run history and event records must be kept, and region decisions set where data may be processed. DeployOpen agrees the scope and deliverables in writing before work starts.

Can our own engineers do the move without outside help?

Yes, for a small set of simple flows. A team with AWS and workflow experience can rebuild those flows on a self-hosted platform and test them in-house. The work gets harder as the number of flows grows or when audit evidence matters, because each flow then needs documented behavior, test records, access controls and retained logs. A fixed-scope engagement from DeployOpen covers planning, implementation, hardening, backup, documentation and handover inside your own infrastructure, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not issue audit reports or certifications. It prepares the systems, controls and evidence that your independent auditor or certification body reviews. Ongoing support, upgrades and continuous testing are available as retainers.

What does a self-hosted option change about operating effort?

A self-hosted option removes the per-event and per-transition meter, but it moves those costs into infrastructure and staff time. EventBridge is an AWS managed service, and its product page describes no self-managed edition, so a self-hosted move means rebuilding flows on a different engine. Self-hosted workflow engines, including Temporal, Kestra and Apache Airflow, which are covered in the migration pages for this service, bring recurring work that your team owns:

  • Hosting, scaling and database capacity
  • Upgrades and security patches
  • Backups and tested restores
  • Monitoring, alerting and on-call coverage

Confirm each engine's license terms and support options before you choose one. Your infrastructure bill then replaces the AWS meter, and the staff time to run the platform becomes a recurring line to estimate.

How long does Step Functions keep execution history for audits?

Standard workflow execution history is retained for 90 days after an execution completes. Step Functions does not capture execution history for Express workflows, which require CloudWatch Logs for that record. If auditors ask for older run evidence, export or archive it on your own schedule before cutover. Retention in EventBridge is a separate setting, and the AWS product page describes event retention of up to 365 days, so confirm which period your audit requires. The workflow type cannot be changed after a state machine is created, so choose between Standard and Express before rebuilding flows. Standard workflows run for up to one year with exactly-once execution, while Express workflows run for up to five minutes. Ask your compliance team to confirm the retention period in writing.

How DeployOpen helps you evaluate, implement and integrate workflow automation

DeployOpen approaches Amazon EventBridge and AWS Step Functions as two AWS services with different execution models, billing and data controls. We start from the workflows you run today, then plan, implement and integrate an open-source replacement or complement inside your own cloud accounts, data centers or air-gapped networks.

How we scope

  • Inventory which EventBridge buses, rules, pipes and Step Functions state machines your workflows depend on today.
  • Map each workflow's execution type, retention needs, event sources and API destinations to a target open-source design.
  • Engagements are fixed-scope, so deliverables are agreed in writing before any build work starts.

How we build

  • Implement the chosen open-source workflow engine in your accounts, with IAM, network and logging settings reviewed by your team.
  • Rebuild state machine logic, event rules and retry behavior in the target engine, then test each path against the original.
  • Connect event sources and API destinations, such as Shopify and Zendesk, and recreate credentials in a secrets store you control.

How we hand over

  • Document each migrated workflow, its triggers, owners, retention settings and rollback steps for your operations team.
  • Provide configuration, audit logging and access control evidence that your compliance and security teams can review.
  • Cut over only after your team signs off on the test results and the retention plan.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the handover.
  • Confirm the license of the chosen engine with your legal team before scaling use across the organization.
  • Retest after each upgrade and document changes so runbooks stay current.

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.