Service · Application Integration · Builds on CLF-C02
Amazon EventBridge
Event buses, rules, Pipes, Scheduler, archive and replay, and events across accounts and Regions.
You know from Cloud Practitioner
- EventBridge is a serverless event bus for events from AWS services, your apps and SaaS partners.
- Rules match the content of events and send them to targets.
- EventBridge Scheduler runs tasks on a schedule.
Event bus
- Route events from many sources to many targets
Pipe
- Connect one source to one target, with filter and enrichment
Scheduler
- Run a task on a cron, rate or one-time schedule
Archive and replay
- Store events and play them again
Cross-account bus
- Collect events from other accounts or Regions
| Feature | Use it to |
|---|---|
| Event bus | Route events from many sources to many targets |
| Pipe | Connect one source to one target, with filter and enrichment |
| Scheduler | Run a task on a cron, rate or one-time schedule |
| Archive and replay | Store events and play them again |
| Cross-account bus | Collect events from other accounts or Regions |
1 / 2
Event bus
- Route events from many sources to many targets
Pipe
- Connect one source to one target, with filter and enrichment
Scheduler
- Run a task on a cron, rate or one-time schedule
Archive and replay
- Store events and play them again
| Feature | Use it to |
|---|---|
| Event bus | Route events from many sources to many targets |
| Pipe | Connect one source to one target, with filter and enrichment |
| Scheduler | Run a task on a cron, rate or one-time schedule |
| Archive and replay | Store events and play them again |
2 / 2
Cross-account bus
- Collect events from other accounts or Regions
| Feature | Use it to |
|---|---|
| Cross-account bus | Collect events from other accounts or Regions |
What it is
Every account has a default event bus, which receives events from AWS services. You can add custom event buses for your own applications, and partner event buses for SaaS providers. A rule on a bus holds an event pattern, a filter on the event content, and up to five targets, such as Lambda, SQS, SNS, Step Functions or another bus. Producers never know who listens, so teams add consumers without changing the producer.
What it is
A rule can send events to a bus in another account or Region, so a central team can collect them. Archive and replay store events and send them again later, to test a fix or to recover from a failed consumer. A schema registry records the shape of events. If a target fails, EventBridge retries (by default for up to 24 hours) and can park the event in a DLQ.
EventBridge Pipes connects one source (such as SQS, or a Kinesis or DynamoDB stream) to one target, with optional filtering and enrichment in between. EventBridge Scheduler runs one-time or recurring jobs with cron or rate expressions, and is the recommended way to schedule tasks.
Remember
- Event buses: default (AWS events), custom (your apps), partner (SaaS).
- Rule = event pattern + up to five targets.
- Cross-account and cross-Region: send events to another bus.
- Archive and replay: store events and play them again.
- Pipes: one source to one target, with filter and enrichment.
Remember
- Scheduler: cron, rate and one-time schedules. Failed targets are retried, then can go to a DLQ.
On the exam
- “React when an EC2 instance changes state” points to an EventBridge rule on the default bus.
- “Receive events from a SaaS provider” points to a partner event bus.
- “Replay last week’s events after fixing a bug” points to EventBridge archive and replay.
- “Run a task at 2 AM every day without a server” points to EventBridge Scheduler.
Do not mix it up with
Amazon Simple Notification Service (Amazon SNS)Filter policies, FIFO topics, fan-out to SQS, retries and DLQs, and when to pick SNS, SQS or EventBridge.
Amazon Simple Queue Service (Amazon SQS)The settings that decide behavior: visibility timeout, long polling, delay, retention, DLQs, and scaling on queue depth.
AWS Step FunctionsStandard or Express, the state types, retries and Catch, callbacks, and when it beats chaining Lambda or SQS.
In this task · 2.1
- Microservices and stateless design
- Multi-tier architectures
- Event-driven and loose coupling patterns
- Serverless application patterns
- AWS Amplify and AWS Device Farm
- Horizontal vs vertical scaling
- Caching strategies
Load Balancing
API Gateway
- When and how to containerize
SQS
SNS
EventBridge
Step Functions
MQ
Secrets Manager
- Choosing purpose-built services
- Choosing object, file or block
Lambda
- Read replicas
ElastiCache
CloudFront
Global Accelerator
Transfer Family
S3
EFS
EBS
Fargate
ECS
EKS