Amazon EventBridge is a serverless event bus service from AWS that receives events from AWS services, software-as-a-service partners and custom applications, matches them against rules with event patterns, and delivers them to targets such as AWS Lambda functions, queues and workflows. In serverless architectures within the Cloud, EventBridge acts as the routing layer of event-driven design: producers publish facts about what happened, and the bus decides who needs to know.
The service grew out of Amazon CloudWatch Events, and it keeps that lineage: the default event bus still carries the same AWS service events. Because the team operating EventBridge manages capacity, patching and scaling, engineers configure only buses, rules, schemas and targets, and they pay per event published rather than for idle infrastructure.
How Amazon EventBridge routes events
EventBridge routes events by evaluating every incoming event against the rules attached to an event bus and invoking each target whose rule matches. An event is a JSON document with standard envelope fields such as source, detail-type, account, region, time and a free-form detail object, limited to 256 KB per event.
A rule holds an event pattern, a JSON filter that matches on field values, prefixes, numeric ranges, the existence of a field or the absence of a value. When a pattern matches, EventBridge sends the event to up to five targets per rule, optionally reshaping it with an input transformer so the target receives only the fields it needs. Rules can also run on a schedule, although scheduled work has largely moved to the dedicated EventBridge Scheduler.
Delivery is asynchronous and at least once. If a target is throttled or unavailable, EventBridge retries with exponential backoff for up to 24 hours and 185 attempts by default, and events that still fail can be sent to an Amazon SQS dead-letter queue. There is no ordering guarantee, so consumers must tolerate duplicates and out-of-order arrival.
The table below lists the main building blocks and the role each one plays in a routing decision.
| Component | What it does | Typical configuration |
|---|---|---|
| Event bus | Receives and holds events for matching | Default, custom or partner bus |
| Rule | Filters events with a pattern or schedule | One pattern, up to five targets |
| Target | Receives matched events | Lambda, SQS, Step Functions, API destination |
| Input transformer | Reshapes the payload before delivery | Path map plus template |
| Archive and replay | Stores events and resends them later | Retention period, filter pattern |
| Schema registry | Records event structures for code generation | Discovery on a bus |
Event bus types and related EventBridge features
EventBridge offers three kinds of event bus, and choosing the right one determines who can publish and which events arrive automatically. Each AWS account has one default event bus per Region that receives AWS service events, such as an EC2 instance state change or an S3 object notification when enabled.
Custom buses isolate application events, and resource-based policies allow other accounts to publish to them, which supports cross-account and cross-Region routing. Partner buses receive events from integrated SaaS providers without the need for polling or webhooks.
| Bus type | Event sources | Best suited for |
|---|---|---|
| Default bus | AWS services in the account | Operational automation and auditing |
| Custom bus | Your own applications via PutEvents | Domain events between services |
| Partner bus | Integrated SaaS providers | Reacting to external business events |
Around the bus, the service family includes EventBridge Pipes, which connect a single source such as an SQS queue, a DynamoDB stream or a Kinesis stream to a single target with optional filtering and enrichment, and EventBridge Scheduler, which runs millions of one-time or recurring schedules with time zone support. API destinations let a rule call any HTTPS endpoint with managed authentication and rate limiting.
EventBridge compared with other AWS messaging services
EventBridge differs from other AWS messaging services mainly in its content-based routing: it decides where an event goes by inspecting the payload, while queues and topics deliver whatever they receive to their subscribers. The comparison below helps decide when the bus is the right tool and when a neighboring service fits better.
| Service | Delivery model | Strength | Main limitation |
|---|---|---|---|
| EventBridge | Push with rule-based routing | Rich filtering, SaaS and AWS sources | No ordering, moderate latency |
| Amazon SNS | Push fan-out to subscribers | Very high throughput, low latency | Simpler filtering on attributes |
| Amazon SQS | Pull by consumers | Buffering and load leveling | One consumer group per queue |
| Kinesis Data Streams | Pull from ordered shards | Ordering and replay at scale | Shard capacity planning |
In practice these services are combined rather than chosen exclusively. A common pattern places an SQS queue behind an EventBridge rule so that a slow consumer can buffer bursts and process events at its own pace, while EventBridge keeps responsibility for deciding which consumers receive which events.
Designing event-driven systems with EventBridge
Good EventBridge designs treat events as public contracts between teams. A well-formed event states a past fact, such as OrderPlaced, carries a stable source and detail-type, and includes enough data for most consumers without exposing internal database structures.
- Use one custom bus per domain or per organization boundary, and keep the default bus for AWS service events.
- Version event schemas and add fields in a backward-compatible way; consumers should ignore unknown fields.
- Make every consumer idempotent, for example by storing processed event identifiers, because delivery is at least once.
- Attach a dead-letter queue and alarms to every rule whose target matters to the business.
The following decision table maps common requirements to a recommended EventBridge feature.
| Requirement | Recommended feature | Reason |
|---|---|---|
| Many consumers per event | Rules on a custom bus | Each team adds its own rule |
| Point-to-point stream processing | EventBridge Pipes | Single source to single target |
| Delayed or recurring jobs | EventBridge Scheduler | Scales beyond rule schedules |
| Calling an external webhook | API destination | Managed auth and rate limiting |
| Recovering from a consumer bug | Archive and replay | Resends past events after a fix |
Limitations, costs and common mistakes
EventBridge trades latency and ordering for flexibility. End-to-end delivery usually completes within a second, which suits business workflows but not tight request paths or high-frequency trading data. Throughput for PutEvents is governed by soft quotas that vary by Region, so very high-volume telemetry is often cheaper and safer on Kinesis.
Pricing is about one US dollar per million custom events published, with AWS service events on the default bus delivered at no charge; each 64 KB chunk of a payload counts as one event. Costs rise with archives, replays, Pipes requests and API destination invocations, so noisy event sources deserve filtering close to the producer.
| Symptom | Likely cause | Fix |
|---|---|---|
| Rule never fires | Pattern field names or types do not match | Test with the sandbox pattern tester |
| Duplicate processing | At-least-once delivery | Idempotency keys in consumers |
| Events silently lost | Retries exhausted without a DLQ | Configure a dead-letter queue |
| Infinite invocation loop | Target writes events that match its own rule | Narrow the pattern or split buses |
A frequent design error is the recursive event loop, where a Lambda function triggered by a rule publishes an event that the same rule matches again. Such loops can generate large bills within minutes, so patterns should be specific and budget alarms should exist from the first deployment.
The short version
Amazon EventBridge works like a smart mail sorting room for software. Different programs drop off short notes saying that something happened, such as a new order or a finished upload. The sorting room reads each note and, based on rules you write, forwards a copy to every program that cares about it.
The sender does not need to know who the readers are, and new readers can be added without changing the sender. That is the key benefit: loosely connected systems that are easier to grow. The trade-off is that notes may occasionally arrive twice or in a different order, so each reader must handle that calmly.
Where it makes a difference
An online retailer runs its checkout as a set of serverless services. When a payment succeeds, the checkout service publishes one OrderPlaced event to a custom event bus. Separate rules forward that event to a Lambda function that reserves stock, to an SQS queue feeding the warehouse system, to a Step Functions workflow that sends the confirmation email, and to an analytics stream.
During a seasonal sale the shop processes about two million orders in a week. When a bug in the loyalty points service corrupts several thousand records, the team fixes the code and uses archive and replay to resend the affected six hours of events only to the loyalty rule. The outcome is a complete recovery without touching checkout or any other consumer, and the event publishing bill for the week stays at a few dollars.