What is a custom event bus in EventBridge, and when would you create one instead of using the default event bus?
Short answer
A custom event bus is a dedicated event bus you create separately from the default account wide event bus, often used to isolate events belonging to a specific application or business domain, which helps with organizing rules more clearly, applying more granular access…
Advertisement
AModel answer
A custom event bus is a dedicated event bus you create separately from the default account wide event bus, often used to isolate events belonging to a specific application or business domain, which helps with organizing rules more clearly, applying more granular access permissions, and avoiding accidental cross application event matching that could occur if everything shared the same default bus.
Example
aws events create-event-bus --name 'OrderServiceBus'
Real-world example
A company with several independent microservice teams creates a separate custom event bus for each major domain, such as orders and inventory, keeping each team's events and rules cleanly isolated from unrelated teams.
Likely follow-ups
- Can events be routed between different custom event buses?
- How do IAM permissions differ between custom event buses?
Related topics