Skip to main content
Welcome. This lesson explains how Amazon EventBridge connects detection systems (CloudWatch, CloudTrail, SaaS partners, custom applications) to automated remediation, notification, and audit workflows. Detection identifies issues; EventBridge routes those detections into rules and targets that take action — enabling end-to-end automated responses and centralized auditing.
A slide titled "From Detection to Action" showing four numbered boxes: Monitor & Detect, Route Events, Trigger Actions, and Verify & Log. Each box includes short notes (e.g., CloudWatch/CloudTrail, EventBridge, automated remediation, and confirmation/audit logging).
Why EventBridge matters EventBridge is the serverless event bus for event-driven architectures on AWS. It accepts JSON events from many producers, evaluates them with powerful event patterns, and forwards matches to a wide range of targets (Lambda, Step Functions, Systems Manager, third‑party integrations, etc.). It scales automatically, is fully managed, supports cross-account routing, and simplifies connecting detection to action. What is EventBridge? EventBridge receives events from AWS services, custom applications, and SaaS partners; evaluates events against user-defined rules; and dispatches matching events to configured targets. It offers:
  • Serverless, fully managed event routing
  • Flexible and precise JSON pattern matching
  • Native integrations with AWS services and partner SaaS
  • Cross-account and partner event bus support
  • Retry and failure-handling features (including dead-letter support)
EventBridge supports three event bus types: Typical flow: event source → event bus → rule evaluation (pattern matching) → target invocation. EventBridge will retry deliveries for supported targets (retry behavior and MaximumEventAgeInSeconds are configurable).
A slide titled "Amazon EventBridge" listing features with "Intelligent Event Routing" highlighted and "Pattern Matching and Filtering" and "Zero Infrastructure Management" shown beneath. It notes EventBridge routes events from AWS services, custom applications, and SaaS partners to designated targets.
Event formats and pattern matching EventBridge events are JSON objects. Rules use JSON event patterns to evaluate fields such as source, detail-type, and nested attributes inside detail. Pattern matching supports exact values, prefixes, numeric comparisons, existence checks, and checking arrays. These capabilities allow precise, content-based routing without custom infrastructure.
A slide titled "Amazon EventBridge" listing three features: Intelligent Event Routing, Pattern Matching and Filtering (highlighted), and Zero Infrastructure Management. It also notes JSON-based event patterns that enable filtering on source, detail-type, and nested detail fields with exact, prefix, and numeric matching.
Serverless features and cost model EventBridge is a fully managed, serverless service with built‑in high availability and automatic scaling. Pricing is pay-per-event (with per‑million event tiers). Because you don’t manage servers, you focus on rules and integrations instead of infrastructure operations.
A slide about Amazon EventBridge listing features: Intelligent Event Routing, Pattern Matching and Filtering, and Zero Infrastructure Management. It notes EventBridge is a fully managed serverless service with automatic scaling, high availability, and pay‑per‑event pricing.
When to use EventBridge vs SNS vs SQS Use the right messaging/routing service for the problem:
Use EventBridge for sophisticated routing and transformations; use SNS for broadcast-style notifications; use SQS when you need persistent queues and throttling/decoupling.
Event sources EventBridge accepts events from multiple sources:
  • AWS service events (e.g., CloudWatch, CloudTrail)
  • Custom applications (via the PutEvents API)
  • Partner SaaS integrations (Datadog, MongoDB, Zendesk, PagerDuty, etc.)
  • Scheduled rules (cron/rate expressions)
A presentation slide titled "Event Sources — Where Events Come From" showing a diagonal chain of colored circles for different event types (AWS Service Events, Custom Application Events, SaaS Partner Events, Schedule-Based Events). Each circle has brief bullets with examples like CloudWatch/CloudTrail, PutEvents API, Datadog/MongoDB/Zendesk, and cron/rate schedules.
Event pattern capabilities EventBridge supports the following pattern types:
  • Exact match on fields
  • Prefix match (e.g., {"prefix":"prod"})
  • Numeric comparisons (>, <, >=, <=)
  • exists operator (presence/absence of a field)
  • Array matching (match if any array element equals a value)
These allow you to write concise rules that trigger only on the conditions you care about.
An infographic slide titled "Event Patterns — Filtering Events with Precision" showing five pattern-matching capabilities. The five types listed are Exact match, Prefix match, Numeric operators, Exists operator, and Array matching with brief descriptions for each.
Example: event and pattern Below is a compact example showing an EC2 instance state change event and a matching event pattern. Use this pattern style to route EC2 termination events for automated remediation or audit logging. Event (example):
Event pattern (example):
When a rule matches this pattern, EventBridge invokes its configured targets (for example, a Step Function or Lambda that performs cleanup and notifies the security team). Targets and integrations EventBridge rules can invoke many target types natively. Common targets include:
  • AWS Lambda
  • Step Functions (State Machines)
  • Systems Manager Automation runbooks
  • SNS and SQS
  • Amazon ECS tasks
  • Kinesis Data Streams
  • AWS CodePipeline / CodeBuild
  • API Destinations (HTTP endpoints)
  • Other supported AWS integrations
Many organizations use CloudWatch alarms to emit events (formerly CloudWatch Events), which EventBridge rules then match to kick off remediation flows such as Systems Manager runbooks or Lambda functions. Cross-account centralization Centralizing events into a central event bus helps with organization-wide monitoring and compliance. To centralize:
  • Add a resource-based policy on the central event bus to allow source accounts to put events
  • Grant permissions in source accounts to put events to the central bus
  • Design for regions (cross-account ingestion is region-specific; consider a multi-region aggregation strategy)
Centralized routing simplifies auditing, as the monitoring/compliance account becomes a single control plane for event rules and logs.
A slide titled "Cross-Account Event Routing — Centralized Event Management" showing three numbered parts: 01 Source Accounts (generate events), 02 Central Event Bus (monitoring account receives and filters events), and 03 Compliance & Auditing (centralized logs and audit trails). Each part has a colored icon and a short explanation of its role.
Automation patterns Common automation patterns using EventBridge:
  • AWS Config → EventBridge → Systems Manager (automated remediation of noncompliant resources)
  • EventBridge → Lambda → SNS (security incident response with notification)
  • Scheduled automation via EventBridge schedules (cron/rate)
  • EventBridge → Step Functions for orchestrated, multi-step workflows with retries and human approval gates
Choose the pattern based on required duration, conditionals, human approvals, logging, and error handling.
A slide titled "Common Automation Patterns" showing AWS event-driven flows (e.g., AWS Config, CloudTrail, EC2 state changes, cron) routed via EventBridge to services like Systems Manager, Lambda, SNS, and Step Functions. Each pattern is paired with an outcome label such as Auto-Remediation, Security Response, Lifecycle Automation, and Scheduled Automation.
Step Functions for orchestration Use Step Functions when workflows require multiple steps, branching, long-running actions, retries, or human approval gates. Step Functions offer built-in state management, failure handling, and audit logging — making them ideal for orchestration triggered by EventBridge.
A colorful diagram titled "Step Functions Integration" showing a five-stage workflow: Event Detection, Multi-Step Processing, Error Handling, Human Approval Gates, and Completion & Logging. Each rounded box summarizes that stage's role in handling complex workflows and errors.
Limits and operational considerations Know these important limits and operational points before designing EventBridge-based automation:
  • Default 300 rules per event bus (soft limit; you can request increases)
  • Limits on targets per rule (check current EventBridge quotas)
  • Cross-account event ingestion is region-specific; multi-region architectures require explicit design
  • EventBridge retries failed deliveries for many targets up to 24 hours (configurable via MaximumEventAgeInSeconds) with exponential backoff — consider DLQs or alternative failure-handling
Check current AWS service quotas before large-scale deployments. Plan for dead-lettering, monitoring of retries, and multi-region considerations for centralized architectures.
Slide titled "Limitations and Considerations" showing four colored cards: 300 rules per event bus (soft limit), 5 targets per rule (hard limit), same-region limitation for cross-account routing, and a 24-hour retry window for failed delivery retries.
Summary EventBridge is the recommended solution for centralized, content-based event routing and automation across AWS and partner ecosystems. Use it when you need:
  • Precise event filtering and transformations
  • Cross-account or SaaS partner integrations
  • Orchestrated or multi-step automated remediation (Step Functions, Systems Manager)
  • Centralized auditing and compliance workflows
For broadcast notifications, consider SNS. For durable queues and backpressure buffering, use SQS. Links and references

Watch Video