Debug School

Cover image for EventBridge
Suyash Sambhare
Suyash Sambhare

Posted on

EventBridge

To configure an Amazon EventBridge rule to send notifications about AWS Health events, follow these steps:


Step-by-Step Setup in the AWS Console

  1. Open EventBridge Console

  2. Create a Rule

    • In the navigation pane, choose Rules.
    • Click Create rule.
  3. Define Rule Details

    • Enter a name and description.
    • Keep the default values for Event bus and Rule type.
    • Click Next.
  4. Build Event Pattern

    • For Event source, choose AWS services.
    • For AWS service, select Health.
    • Choose the Event type:
      • Any service or a Specific service (e.g., EC2).
      • Any event type category or a specific one like issue, accountNotification, or scheduledChange.
      • Any event type code or specific codes like AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED.
  5. Set the Target

    • Choose a target such as:
      • SNS topic (for email/SMS notifications)
      • Lambda function (for custom processing)
      • Step Functions, SQS, or other integrations.
  6. Review and Create

    • Review your configuration.
    • Click Create rule.

EventBridge

Effective Monitoring

  • To monitor all AWS Health events for a service, choose:
    • Any event type category
    • Any resource
  • You can manually update the event pattern to monitor multiple services or categories.
  • Use advanced filters to route specific events to different teams or systems. For example, filter by eventTypeCode, statusCode, or region.

Ref:

Top comments (0)