AWS EventBridge: Event-Driven Architecture Patterns for Production
Quick summary: Use EventBridge when a rule must match fields inside the event. Classic custom events are $1.00 per million (64 KB chunks). A custom bus launched in September 2026 bills by the gigabyte. Put a DLQ on every production rule.
Key Takeaways
- Classic custom events are $1.00 per million (64 KB chunks)
- A custom bus launched in September 2026 bills by the gigabyte
- Classic custom events are $1.00 per million ingested (each 64 KB chunk is one event); the custom bus launched in September 2026 bills by the gigabyte
- AWS management events on the default bus are free to ingest, and every production rule needs a DLQ
- AWS's example of 10 million events is $10 of ingestion

Table of Contents
Put a dead-letter queue and a CloudWatch alarm on every production rule before you add another consumer. A failed delivery with no DLQ is gone.
A slow payment call that the order service waits on will still time out checkout. That path stays a direct API call. EventBridge is for the work that can finish after the response.
Rules on a custom bus sit next to Lambda and Step Functions.
Symptom → mechanism → AWS control
| Production symptom | Mechanism | AWS control |
|---|---|---|
| Tight coupling via direct Lambda invoke | Synchronous dependency chains | EventBridge pub/sub with event contracts |
| Fan-out filter logic in code | Every consumer parses all events | EventBridge content-based filtering rules |
| Schema drift breaks consumers | Unversioned event payloads | EventBridge Schema Registry + code bindings |
For domain events that route on fields, EventBridge is the bus to start with. Use Schema Registry from day one, not after the third breaking change. Pull and FIFO stay on SQS. A blast to every subscriber stays on SNS.
Why EventBridge over SQS or SNS
AWS offers three messaging services. Each serves a different purpose:
| Service | Model | Best For |
|---|---|---|
| SQS | Queue (point-to-point) | Decoupling producers from consumers, buffering, rate limiting |
| SNS | Pub/sub (fan-out) | Broadcasting notifications to multiple subscribers |
| EventBridge | Event bus (content-based routing) | Complex routing, filtering, transformation, cross-account events |
Choose EventBridge when:
- Events need content-based routing (route based on event fields, not just topic)
- Multiple consumers need different subsets of the same event stream
- You need built-in schema discovery and evolution
- Events come from AWS services or SaaS integrations (100+ sources supported natively)
- Cross-account or cross-Region event routing is required
Choose SQS when:
- You need guaranteed ordering (FIFO queues) or exactly-once processing
- The consumer needs to control processing rate (pull-based consumption)
- Simple point-to-point messaging without content-based routing
Choose SNS when:
- Simple fan-out to multiple subscribers (all subscribers get every message)
- You need SMS or email delivery alongside application consumers
In practice, these services complement each other. A common pattern: EventBridge routes events to different SQS queues based on content, and Lambda consumers process each queue independently.
Core concepts
Event buses
An event bus receives events and routes them to targets based on rules. EventBridge provides three types:
Default event bus: Receives events from AWS services automatically. CloudTrail API calls, EC2 state changes, S3 notifications, and dozens of other AWS service events arrive on the default bus without any configuration.
Custom event buses: Created for your application’s events. Isolate your application events from AWS service events for cleaner rule management and access control.
Partner event buses: Receive events from SaaS partners (Auth0, Datadog, Zendesk, PagerDuty, Stripe, Twilio, and others) without custom integration.
Best practice: Create a custom event bus per domain or bounded context in your application. This provides isolation, independent access control, and cleaner event catalogs.
Event Structure
Every EventBridge event follows a standard envelope:
{
"version": "0",
"id": "12345678-1234-1234-1234-123456789012",
"source": "com.myapp.orders",
"detail-type": "OrderPlaced",
"account": "123456789012",
"time": "2026-07-05T14:30:00Z",
"region": "us-east-1",
"resources": [],
"detail": {
"orderId": "ord-001",
"customerId": "cust-123",
"total": 99.99,
"items": [{ "productId": "prod-001", "quantity": 2 }]
}
}Naming conventions:
source: Reverse domain notation identifying the producer (com.myapp.orders)detail-type: Past-tense event name describing what happened (OrderPlaced,PaymentProcessed,UserRegistered)detail: The event payload with business data
Rules and targets
Rules match events and route them to targets. Each rule has an event pattern (what to match) and one or more targets (where to send matching events).
Event pattern examples:
Match all order events:
{
"source": ["com.myapp.orders"]
}Match only high-value orders:
{
"source": ["com.myapp.orders"],
"detail-type": ["OrderPlaced"],
"detail": {
"total": [{ "numeric": [">", 1000] }]
}
}Match orders for specific products:
{
"detail": {
"items": {
"productId": ["prod-001", "prod-002"]
}
}
}Supported targets (28+):
- Lambda functions
- Step Functions state machines
- SQS queues
- SNS topics
- Kinesis Data Streams
- API Gateway endpoints
- EventBridge buses (cross-account/Region)
- CloudWatch Logs
- ECS tasks
- CodePipeline
Each rule can have up to 5 targets, enabling fan-out from a single event pattern.
Production patterns
Pattern 1: Event-driven microservices
Decouple microservices by communicating through events instead of synchronous API calls:
Order Service → EventBridge → Inventory Service
→ Payment Service
→ Notification Service
→ Analytics ServiceThe Order Service publishes an OrderPlaced event. Each downstream service has a rule matching that event and processes it independently. Adding a new consumer (e.g., a Loyalty Points Service) requires only a new rule, with no changes to the Order Service.

Figure: a custom event bus fans OrderPlaced out to independent consumers. Each arrow is a rule match, not a synchronous call. Sample event id ORDER-DEMO-001. Open the draw.io source.
Benefits:
- Services deploy and scale independently
- Adding consumers does not require producer changes
- Temporary consumer downtime does not affect producers. Your order service keeps publishing
OrderPlacedevents whether the notification service is up or not. When the notification service recovers, it processes the backlog - Natural audit trail of all business events
Pattern 2: Event replay and archive
EventBridge Archives store events for replay, which is essential for debugging, testing, and recovery:
Events → EventBridge → Archive (retain 90 days)
→ Normal targets
Replay: Archive → EventBridge → Specific target (with replay filter)Use cases:
- Replay events through a new or fixed consumer
- Populate a new service with historical events
- Debug production issues by replaying the event sequence that caused them
- Disaster recovery: replay events to rebuild state
Configuration: Create an archive with a retention period and an optional event pattern filter. Replay specific time ranges to specific targets.
Disaster recovery value: Without archive replay, a consumer that goes down for two hours loses two hours of events permanently. Reconstructing that state requires a complex reconciliation process against upstream systems, if it is even possible. With archive replay, you point the consumer at the archive, specify the two-hour window, and the events flow again. This is particularly valuable for compliance and audit workloads where every event must be processed, not just most of them.
Pattern 3: Cross-account event routing
In a multi-account AWS organization, events often need to flow between accounts:
Workload Account A → EventBridge → Central Event Bus (Shared Services Account)
Workload Account B → EventBridge ↗ ↓
→ Security Account (audit events)
→ Analytics Account (business events)Implementation:
- Create a central custom event bus in the shared services account
- Add a resource policy allowing workload accounts to
PutEvents - Create rules in workload accounts with the central bus as the target
- Create rules in the central bus to route events to consumer accounts
This pattern centralizes event routing while keeping event producers and consumers in their own accounts.
Pattern 4: API destination (webhook)
EventBridge API Destinations send events to external HTTP endpoints, such as webhooks for SaaS tools, partner APIs, or on-premises systems:
Application Events → EventBridge → API Destination → Slack webhook
→ API Destination → Partner API
→ API Destination → On-premises systemFeatures:
- Built-in rate limiting (requests per second)
- Connection management (API keys, OAuth, Basic auth)
- Automatic retries with exponential backoff
- Dead-letter queue for failed deliveries
Pattern 5: Scheduled events
EventBridge Scheduler replaces CloudWatch Events for time-based triggers:
Schedule (cron/rate) → EventBridge → Lambda → Cleanup old data
→ Step Functions → Generate reports
→ ECS Task → Run batch jobEventBridge Scheduler advantages over CloudWatch Events:
- One-time schedules (not just recurring)
- Time zones support
- Flexible time windows for distributed execution
- Higher throughput (millions of schedules)
Input transformation
EventBridge can transform events before delivering them to targets, which reduces the need for Lambda functions that simply reformat data:
Original event:
{
"detail": {
"orderId": "ord-001",
"customerId": "cust-123",
"total": 99.99
}
}Input transformer:
{
"inputPathsMap": {
"orderId": "$.detail.orderId",
"total": "$.detail.total"
},
"inputTemplate": "\"Order <orderId> placed for $<total>\""
}Delivered to target:
"Order ord-001 placed for $99.99"This is useful for sending formatted messages to SNS, Slack, or other notification targets without a Lambda function in between.
Schema Registry and discovery
EventBridge Schema Registry automatically discovers event schemas from events flowing through your event buses:
- Auto-discovery: Enable on any event bus to automatically generate schemas from observed events
- Schema versions: Track schema evolution over time
- Code bindings: Generate TypeScript, Python, or Java classes from schemas for type-safe event handling
Best practice: Define schemas explicitly for your custom events and publish them to the registry. This serves as a contract between producers and consumers and enables code generation for consumer development.
Error handling and reliability
Dead-letter queues
Configure a dead-letter queue (SQS) on every EventBridge rule. Events that fail to deliver to the target after retries are sent to the DLQ for investigation:
EventBridge Rule → Target (Lambda) → Fails after retries → DLQ (SQS)Without a DLQ, failed events are silently dropped after retry exhaustion. Always configure DLQs on production rules.

Figure: solid arrows are delivery and archive retention. Dashed arrows are retry exhaustion into the SQS dead-letter queue, and a later archive replay to the fixed target. Open the draw.io source.
Retry Policy
EventBridge retries failed target invocations with configurable settings:
- Maximum age: How long to retry (default 24 hours, configurable 1 minute to 24 hours)
- Maximum retries: How many times to retry (default 185, configurable 0-185)
For time-sensitive events, reduce the maximum age. For idempotent consumers, maximize retries.
Idempotency
EventBridge guarantees at-least-once delivery, so events may be delivered more than once. Every consumer must be idempotent:
- Use the event
idfield as a deduplication key - Store processed event IDs in DynamoDB with a TTL
- Design operations to be safely repeatable (upsert instead of insert, set state instead of toggling)
Monitoring
Key CloudWatch metrics
Invocations: Events matched and sent to targetsFailedInvocations: Events that failed to deliverTriggeredRules: Rules that matched at least one eventThrottledRules: Rules throttled due to target limits
Alarms
Set CloudWatch alarms for:
FailedInvocations > 0: any delivery failure requires investigationInvocationRateanomaly: unusual event volume may indicate a producer bug or attack- DLQ message count > 0: events are being dropped
Cost optimization
Two custom-bus prices are on the pricing page as of 27 November 2026.
Classic custom events are $1.00 per million ingested. Each 64 KB chunk is one event. AWS management events ingested on the default bus are $0. In AWS’s classic example, sending those custom events on to a bus in another account adds another $1.00 per million, and delivery to a service in the same account adds $0.
The newer custom bus, which the pricing page dates to September 2026, bills ingress and egress by gigabyte. Do not budget that bus with the $1.00 per million rate. Scheduler is separate again: 14 million invocations a month are included, then $1.00 per million.
Cost reduction strategies:
- Use the default bus for AWS service events (free)
- Filter events at the source: publish only events that consumers need, not every state change
- Batch related data into fewer events where possible
- Use event patterns to filter precisely, and avoid catch-all rules that invoke Lambda functions just to discard events
On a classic bus, 10 million custom events ingested in a month is $10. That figure is ingestion only. It is the published list-price example, not a client invoice. Cross-account delivery is extra, and the September 2026 bus is not on this rate.
Common mistakes
Mistake 1: Using EventBridge for synchronous communication
EventBridge is asynchronous by design. If a service needs an immediate response from another service, use a direct API call. EventBridge is for workflows where the producer does not need to wait for the consumer’s result.
Mistake 2: Overly broad event patterns
A rule that matches all events ({}) routes everything to a single target. That defeats content-based routing and creates a processing bottleneck. Write precise event patterns that match only the events each consumer needs.
Mistake 3: No schema governance
Without schema governance, producers change event structures without coordinating with consumers, breaking downstream processing. Define event schemas, version them, and treat schema changes as API contract changes.
Mistake 4: Missing DLQs
Events that fail delivery with no DLQ are lost forever. Every production rule should have a dead-letter queue configured, and every DLQ should have a CloudWatch alarm monitoring its message count.
For the wider choice among SQS, MSK, and Amazon MQ, read Event-Driven Boundaries on AWS.
Getting started
For serverless applications on AWS, EventBridge provides the routing, filtering, and reliability that production event-driven systems require, without any infrastructure to manage.
As an AWS Select Tier Services Partner, FactualMinds designs and implements event-driven architectures that stay reliable in production: domain event modeling, schema governance, cross-account routing, DLQ strategy, and observability built in from day one. Common entry points are teams migrating off synchronous service calls that cause cascading failures, and systems with reliability gaps where failed events disappear without a trace.
For event-driven architecture design and implementation, see our AWS Architecture Review or book a no-obligation consultation about serverless application development.
Book a no-obligation event-driven architecture consultation →
More in this track
Part of the Engineering Guides library (June 2026).
- Previous: Part 4
- Browse tracks: Engineering Guides hub
Related reading
- Event-Driven Boundaries on AWS
- SQS patterns for production
- Step Functions workflow patterns
- Event Schema Evolution without a Flag Day
- Relational Outbox Notes: Postgres, DMS, and Pipes
Frequently asked questions
When should you not use EventBridge?
When should you pick SQS instead?
When does the $1 per million rate not apply?
What goes wrong if a rule has no dead-letter queue?
Should you publish every state change to a custom bus?

Enterprise AI Transformation
Enterprise AI transformation and implementation leader focused on pilot-to-production playbooks, with a background in financial services. Writes the FactualMinds guides on serverless, CI/CD, and DevOps on AWS, the delivery plumbing production AI depends on.




