ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

服务 · Application Integration · 基于 CLF-C02

Amazon EventBridge

Event buses, rules, Pipes, Scheduler, archive and replay, and events across accounts and Regions.

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • EventBridge is a serverless event bus for events from AWS services, your apps and SaaS partners.
  • Rules match the content of events and send them to targets.
  • EventBridge Scheduler runs tasks on a schedule.
阅读云从业者课程
AWS services
Your apps
SaaS partners
EventBridge
LambdaSQSStep Functions
Rules on the bus match each event and pick the targets.
  • Event bus

    Route events from many sources to many targets
  • Pipe

    Connect one source to one target, with filter and enrichment
  • Scheduler

    Run a task on a cron, rate or one-time schedule
  • Archive and replay

    Store events and play them again
  • Cross-account bus

    Collect events from other accounts or Regions
The EventBridge features to know.

1 / 2

  • Event bus

    Route events from many sources to many targets
  • Pipe

    Connect one source to one target, with filter and enrichment
  • Scheduler

    Run a task on a cron, rate or one-time schedule
  • Archive and replay

    Store events and play them again

2 / 2

  • Cross-account bus

    Collect events from other accounts or Regions
The EventBridge features to know.

是什么

Every account has a default event bus, which receives events from AWS services. You can add custom event buses for your own applications, and partner event buses for SaaS providers. A rule on a bus holds an event pattern, a filter on the event content, and up to five targets, such as Lambda, SQS, SNS, Step Functions or another bus. Producers never know who listens, so teams add consumers without changing the producer.

是什么

A rule can send events to a bus in another account or Region, so a central team can collect them. Archive and replay store events and send them again later, to test a fix or to recover from a failed consumer. A schema registry records the shape of events. If a target fails, EventBridge retries (by default for up to 24 hours) and can park the event in a DLQ.

EventBridge Pipes connects one source (such as SQS, or a Kinesis or DynamoDB stream) to one target, with optional filtering and enrichment in between. EventBridge Scheduler runs one-time or recurring jobs with cron or rate expressions, and is the recommended way to schedule tasks.

要记住

  • Event buses: default (AWS events), custom (your apps), partner (SaaS).
  • Rule = event pattern + up to five targets.
  • Cross-account and cross-Region: send events to another bus.
  • Archive and replay: store events and play them again.
  • Pipes: one source to one target, with filter and enrichment.

要记住

  • Scheduler: cron, rate and one-time schedules. Failed targets are retried, then can go to a DLQ.

考试中

  • “React when an EC2 instance changes state” points to an EventBridge rule on the default bus.
  • “Receive events from a SaaS provider” points to a partner event bus.
  • “Replay last week’s events after fixing a bug” points to EventBridge archive and replay.
  • “Run a task at 2 AM every day without a server” points to EventBridge Scheduler.