AWS · Application Integration

Amazon EventBridge

A serverless event bus that routes events from AWS services, your apps and SaaS partners to targets using rules that match event content.

On the SAA-C03 exam listEvent routingServerlessWorkflow orchestration

What it is and what problem it solves

Amazon EventBridge receives events (JSON describing something that happened) on an event bus and sends each one to the targets of every rule whose pattern matches. Events come from AWS services, from your own applications, and from SaaS partners.

It adds three things SNS and SQS do not: matching on the content of events, built-in sources and targets across AWS and partners, and extras such as schedules (cron and rate), archive and replay, a schema registry and Pipes for point-to-point connections with filtering and enrichment.

AWS servicesEC2 state change, S3…Your appsPutEventsSaaS partnersZendesk, Datadog…Event busrules match event patternsLambdaStep FunctionsSQS / SNSBus in another account
EventBridge routes events from AWS services, your apps and SaaS partners to targets by rule

When to use it

  • You react to events from AWS services (for example an EC2 state change, a CodePipeline failure or a GuardDuty finding).
  • Different consumers need different subsets of the same stream, chosen by the event's content.
  • You integrate SaaS partner events, or want an event backbone shared across accounts.
  • You need scheduled invocations without running servers.
  • You want to replay past events after fixing a bug (with an archive).

When to avoid it

  • Very high-throughput data streams or ordering guarantees: use Kinesis or MSK.
  • Buffering work for a slow consumer: EventBridge delivers and retries but is not a queue; add SQS as a target.
  • Plain fan-out of identical messages to queues or email: SNS is simpler and cheaper for that.

Scaling model and bottlenecks

EventBridge scales without capacity planning. The limits that matter are per-Region throttles on events published (PutEvents) and on invocations of targets, which differ by Region and can be raised, and service quotas such as the number of rules per bus and targets per rule.

Performance, latency and throughput

EventBridge is built for event-driven integration, not for lowest latency: delivery is typically fast but not guaranteed to be instantaneous. Use it where reacting within a short time is enough.

Limits and quotas

ItemValueContextSource
Rules per event bus 300
Can be raised with a quota request
Classic event buses in most Regions; two Regions have a lower default of 100. Source
checked
Targets per rule 5
Fixed limit
Classic event buses. Source
checked
Event buses per account per Region 100
Can be raised with a quota request
Source
checked
Default PutEvents throttle 10,000 per second
Can be raised with a quota request
In US East (N. Virginia), US West (Oregon) and Europe (Ireland); other Regions have lower defaults. Source
checked
Event pattern size 2,048 characters
Can be raised with a quota request
Source
checked
Custom event bus retention 1 to 365 days
The maximum is fixed.
Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

  • Events published to custom or partner buses, per million, with payloads billed in 64 KB chunks. AWS service events on the default bus are free to ingest.
  • Events delivered to targets, including cross-account delivery.
  • Optional features: Pipes (per request), Scheduler (per invocation beyond a free tier), API destinations, event archive storage and replay, and schema discovery.
  • Targets bring their own charges (Lambda, SQS and so on).

Where it is cost-efficient

Event-driven integration with moderate volume, where rules replace polling and custom glue code.

Where costs grow

  • Very high event volumes, since each published and delivered event is billed.
  • Large payloads, which are billed in 64 KB chunks.
  • Long archives and frequent replays.

Cost controls and common surprises

Filter at the rule so targets only receive what they need, keep events small and put large data in S3, and set archive retention to what recovery needs.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

  • Resource policies on event buses control which accounts and services may put events.
  • IAM roles let EventBridge invoke each target with only the permissions it needs.
  • Encryption in transit and at rest, with the option of a customer-managed KMS key on custom buses.

What you configure

Limit events:PutEvents to the producers that need it, scope bus policies to specific accounts or an AWS Organization, give each rule's target role least privilege, and avoid putting secrets in event payloads.

Logging and monitoring

CloudTrail records bus and rule changes; CloudWatch metrics track matched events, invocations and failed deliveries.

Related security services

IAM, KMS, CloudTrail, and a dead-letter queue on targets for events that cannot be delivered.

Shared responsibility

AWS operates the bus. You own the rules, who may publish, the permissions of each target, and the data in events.

Availability, backup and failure behavior

EventBridge is a regional, managed service. Targets are retried for a period with backoff, and you can attach a dead-letter queue to a target for events that still fail. For disaster recovery, rules and buses are regional resources: recreate them in a second Region with infrastructure as code, and use global endpoints where you need event publishing to fail over.

Common service combinations

EventBridge to Lambda, SQS, SNS, Step Functions, Kinesis or API destinations; S3 and CloudTrail events as sources; Scheduler for timed jobs; Pipes for SQS or DynamoDB streams to a target with filtering.

Business application examples

  • A security team routes GuardDuty findings to a ticketing system and a chat channel.
  • A nightly job at a fixed time starts a Step Functions workflow.
  • A marketplace routes "payment failed" events to billing and "order shipped" events to notifications.

Exam cues and common confusions

  • React to AWS service events or a schedule: EventBridge rules.
  • Route by event content to different targets: EventBridge, not SNS.
  • SaaS partner events: EventBridge partner event sources.
  • Replay past events: EventBridge archive and replay.
  • EventBridge vs CloudWatch Events: EventBridge is the newer name and superset of CloudWatch Events.
  • Buffering for a slow consumer: add an SQS queue as the target.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake