Amazon EventBridge Event Bus (EVENTBRIDGE)
Central routing backbone for event-driven architectures. Decouples event producers from consumers by matching JSON patterns in event envelopes and fanning out to over 20 AWS targets with payload transformations, event archiving, and replay.
AWS Container Placement
Regional / Global Managed Scope (Outside VPC Subnets)
Summary
Serverless event bus that routes events from AWS services, SaaS applications, and custom code using declarative JSON schema filtering.
When to Use (SAA-C03)
Use instead of SNS when you need schema registry, content-based JSON pattern filtering, or SaaS/cross-account event routing.
Allowed Ingress Connections & Ports
| Source Service | Protocol | Port | Architectural Rationale |
|---|---|---|---|
| EC2 | HTTPS | 443 | EC2 application microservices publishing events via eventbridge:PutEvents |
| LAMBDA | HTTPS | 443 | Serverless Lambda functions publishing domain event envelopes |
| S3 | HTTPS | 443 | S3 Event Notifications routed directly into EventBridge |
| CLOUDTRAIL | AWS_MANAGED | 443 | AWS CloudTrail API call event logging and reactive triggers |
| INTERFACE-ENDPOINT | HTTPS | 443 | PrivateLink connection to EventBridge from private VPC subnets |
Allowed Egress Targets & Ports
| Target Service | Protocol | Port | Data Flow Rationale |
|---|---|---|---|
| LAMBDA | HTTPS | 443 | Asynchronous function invocation with event JSON payload |
| SQS | HTTPS | 443 | Message enqueue for buffered downstream processing |
| SNS | HTTPS | 443 | Pub/sub topic fan-out to email, SMS, and mobile push endpoints |
| STEPFUNCTIONS | HTTPS | 443 | StartExecution trigger for multi-step workflow sagas |
Key Configuration Parameters & AWS Best Practices
| Parameter | Format / Example | Purpose & Rationale |
|---|---|---|
| Event Bus Name (eventBusName / name) (Required) | production-orders-bus | The name of the event bus. Use "default" for AWS-generated events or a custom name for application microservices. Why: Determines the boundary where event rules match incoming event JSON patterns. |
| Rule Event Pattern (ruleFilterPattern / event_pattern) (Required) | {"source": ["ecommerce.orders"], "detail": {"status": ["PAID"]}} | Declarative JSON pattern matching fields in the event envelope (source, detail-type, and nested detail keys). Why: Rules require an event pattern or schedule expression to trigger targets. |
| Target ARN (targetArn / arn) (Required) | arn:aws:sqs:us-east-1:123456789012:orders-processing-queue | The destination ARN (Lambda, SQS, SNS, Step Functions, or CloudWatch Log Group) receiving matched events. Why: Rules must specify at least one target to take action on matched events. |
| Event Bus Type (eventBusType) | default | The architectural type of event bus. Why: Distinguishes internal AWS service buses, custom application buses, and SaaS partner buses (Datadog, Auth0). |
| Enable Event Archive (eventArchiveEnabled) | false | Records and retains all events published to this bus for historical auditing and replay. Why: Crucial for financial and regulated workloads where historical transactions must be replayable. |
| Archive Retention Days (retention_days) | 30 | Number of days to retain archived events before automated cleanup. Why: Balances regulatory compliance retention requirements against S3-tier storage costs. |
| Target Dead-Letter Queue (dead_letter_config.arn) | arn:aws:sqs:us-east-1:123456789012:eb-target-dlq | Specifies an SQS queue that receives events that could not be delivered to the target after retries. Why: Prevents data loss during downstream target service outages or rate-limit throttling. |
Practice Labs Using Amazon EventBridge Event Bus
E-Commerce Flash Sale: EventBridge Dead-Letter Queue (DLQ) Delivery Blackhole
Configure the EventBridge rule to route failed execution events to sqs-order-dlq.…
BUILD-11Build: Event-Driven Serverless Order Pipeline
Build an event-driven architecture with API Gateway, Ingestion Lambda, EventBridge Bus, SQS Queue, SQS DLQ, Wo…
Frequently Asked Questions
Where does Amazon EventBridge Event Bus live inside an AWS VPC architecture?
Valid container placement: Regional / Global Managed Scope (Outside VPC Subnets). Central routing backbone for event-driven architectures. Decouples event producers from consumers by matching JSON patterns in event envelopes and fanning out to over 20 AWS targets with payload transformations, event archiving, and replay.
When should I use Amazon EventBridge Event Bus on the AWS SAA-C03 exam?
Use instead of SNS when you need schema registry, content-based JSON pattern filtering, or SaaS/cross-account event routing.
Can I simulate Amazon EventBridge Event Bus packet routing without an AWS account?
Yes. CloudTracer simulates Amazon EventBridge Event Bus along with 53 AWS services directly in your browser and exports production Terraform HCL.