What is EventBridge?

EventBridge is a router for events: when something happens anywhere, rules decide who needs to know.

1 min read

An event is a small JSON record saying something happened: "an EC2 instance stopped", "an order was placed", "a file landed in S3". Amazon EventBridge receives events and uses rules to route each one to the right targets, like Lambda, SQS, Step Functions, or an API.

Think of it like this

EventBridge is the mailroom of a large company. Letters (events) arrive from everywhere. The mailroom reads each envelope and, based on rules ("anything for Finance goes to floor 3"), delivers copies to the right desks. Senders don't need to know who works where.

Where events come from

  • AWS services (automatically, on the default event bus): EC2 state changes, S3 object events (when enabled), CodePipeline status, and many more
  • Your own apps, via PutEvents
  • SaaS partners such as Zendesk, Datadog, and Auth0

Also included

  • EventBridge Scheduler: run any target on a schedule, like cron in the cloud.
  • EventBridge Pipes: connect a source (like an SQS queue) to a target, with optional filtering and enrichment.
How it flows
  1. 1Event source

    AWS service, your app, SaaS

  2. 2Event bus

    Receives the event

  3. 3Rules

    Match on the event's content

  4. 4Targets

    Lambda, SQS, Step Functions…

Key takeaways

  • Events are JSON records of something that happened.
  • Rules on an event bus match events and send them to targets.
  • AWS services publish events to the default bus automatically.

Check your understanding

Pick an answer to see the explanation.

  1. 1. Which bus receives events from AWS services like EC2 automatically?