Use EventBridge as an event backbone in your multi-account setup

Serverless Tip #3: Use EventBridge as an event backbone in your multi-account setup

EventBridge is a serverless event bus that enables services to publish events and subscribe to event streams. Its flexible rule engine opens up limitless use cases.

It is common to adopt a multi-account strategy to isolate domains into separate accounts as your AWS footprint expands. Isolation has its benefits, but it also comes with specific challenges.

Keeping track of events and their schemas gets exponentially more challenging as the number of domains and services increases. Tight coupling could also pose a problem.

SNS and SQS allow you to communicate asynchronously between components and services. However, they tend to couple services together in the configuration layer. With a lot of cross-domain communication, you might end up with a tangled web of queues and topics.

Building an event backbone powered by EventBridge will help you create a scalable and loosely coupled architecture.

Eoin Shanaghy at fourTheorem wrote a fantastic article on how to do just that: How to use EventBridge as a Cross-Account Event Backbone