Lesson 6 of 10 Serverless and API Architecture

Routing Events Across Accounts and Regions with EventBridge

This lesson explains how EventBridge delivers events to buses in other accounts and Regions, the patterns for central hubs and fan-out, and how global endpoints protect event ingestion.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the two permissions that cross-account event delivery requires.
  • Describe central hub, fan-out and cross-Region forwarding patterns.
  • Explain how EventBridge global endpoints fail over event ingestion.

Sending events to another account or Region

An EventBridge rule can have an event bus in another account or Region as its target. Two permissions are needed: the receiving bus's resource-based policy must allow events:PutEvents from the sending account, which can be granted to the whole organisation with the aws:PrincipalOrgID condition, and the sending rule needs an IAM role that allows events:PutEvents on the target bus ARN. Missing either permission shows up as failed invocations on the rule.

Routing patterns

Central event hub

Rules in every account and Region, deployed with StackSets, forward matching events (for example GuardDuty findings, Config compliance changes or business events) to a central bus in an operations or security account, where teams add their own rules for ticketing, notifications or automation.

Fan-out to consumer accounts

A producer domain publishes events to its bus, and rules forward them to buses in consumer accounts, which own their rules and targets. Producers do not need to know consumers' implementations.

Cross-Region forwarding and global endpoints

Rules can forward events to a bus in another Region for regional processing or disaster recovery. EventBridge global endpoints go further for ingestion: producers send events to one endpoint, a Route 53 health check decides whether the primary or secondary Region's bus receives them, and optional event replication keeps both Regions' buses in sync.

Scenario questions

Routing events between accounts

Exam skills 1.1.5

Design event routing across accounts and Regions.

Log in to try this activity Interactive activities are free with an account.

Operating event routing

  • Use archives and replay on central buses to reprocess events after fixing a consumer.
  • Use dead-letter queues on rule targets so failed deliveries are not lost.
  • Use the schema registry to document event structures shared between teams.
  • Keep event content minimal across boundaries and avoid sending sensitive data to accounts that do not need it.
Worked example

A central operations bus

An operations team wants AWS Health, CloudWatch alarm state changes and custom deployment events from 150 accounts in four Regions in one place, routed to its ticketing system by severity.

The team creates a central bus with a resource policy that allows the organisation ID, and a StackSet deploys forwarding rules and the sending role to every account and Region.

On the central bus, one rule sends critical events to the ticketing system through an API destination and another sends everything to an archive. New accounts get the forwarding rules automatically through the StackSet, and no bus policy changes are needed.

Check yourself

A central bus must accept events from every current and future account. How should its policy be written?

Show answer

Allow events:PutEvents with a condition on aws:PrincipalOrgID equal to the organisation ID, so new accounts are covered without editing the policy.

Exam Tips

Remember for the exam

  • Events from every account to one place: forwarding rules to a central bus whose policy allows the organisation.
  • Cross-account delivery fails: check the target bus policy and the rule's IAM role.
  • Event ingestion must survive a Regional failure: EventBridge global endpoints.
  • Reprocess events after a consumer fix: archive and replay.