Certopolis

AWS Certified DevOps Engineer – Professional

AWS Health events with EventBridge and organizational view

AWS Health sends its events to Amazon EventBridge with the source aws.health, so a rule can start a Lambda function, queue or notification when AWS schedules maintenance or reports a service issue. The AWS Health User Guide says a rule only sees events for its own account. Organizational view aggregates events across AWS Organizations.

How do AWS Health events reach EventBridge?

AWS Health events arrive with the source aws.health and the detail-type AWS Health Event. A second detail-type, AWS Health Abuse Event, also exists. Delivery is attempted at least once. Rule targets include Lambda functions, Kinesis data streams, SQS queues and SNS topics.

The detail section carries the event. eventTypeCategory is one of issue, accountNotification, investigation or scheduledChange. affectedEntities is an array of the affected resources and their status. detail.eventRegion holds the impacted Region. The top-level region field only shows where the notification was delivered.

No API call or polling is needed for this path. The AWS Health API is separate, and calling it requires a qualifying AWS Support plan such as Business Support+ or Enterprise Support. An account without one receives a SubscriptionRequiredException.

Public vs account-specific events

Account-specific events affect your account and resources, for example a required update to an EC2 instance or another scheduled change. Public events are not tied to an account and report the Regional availability of a service. eventScopeCode is ACCOUNT_SPECIFIC or PUBLIC, and a rule can filter on it.

A rule that matches the source aws.health receives both kinds. Public events can take up to one hour to start arriving after the rule is created. Public events are not available through AWS managed notifications in AWS User Notifications. To receive them, use an EventBridge rule or a user-configured notification.

For public events AWS recommends a backup rule in a second Region. Public events are sent to the backup Region only if a valid rule exists in the impacted Region. Deduplicate with eventARN and communicationId.

How do you see events for a whole organization?

By default AWS Health shows the events of a single account, and an EventBridge rule receives events only for its own account. Organizational view shows events across the organization, with filters by Region, account and service. It requires an organization with all features enabled, and it is turned on from the management account.

AWS recommends registering a member account as a delegated administrator for the organizational view. That account can then see the aggregated events on the AWS Health Dashboard or through the AWS Health API, and the management account stays restricted. Organizational events are kept for 90 days.

In an event received through organizational view, the account field is the account that received it. detail.affectedAccount is the impacted account.

Where the exam catches people

  • Believing an EventBridge rule in one account sees the whole organization's Health events: a rule receives events for its own account only. Use organizational view.
  • Believing the AWS Health API is needed to react to Health events: events reach EventBridge without it, and the API needs a qualifying Support plan.
  • Believing the event's region field is the affected Region: it is where the notification was delivered. Use detail.eventRegion.
  • Believing organizational view must be read from the management account: a delegated administrator member account can read it.
  • Believing AWS managed notifications cover public events: they do not. Use an EventBridge rule or a user-configured notification.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. A company runs about 300 Amazon EC2 instances for a payments platform in one AWS account. From time to time, AWS schedules maintenance or retirement for the hardware under some of these instances and posts a notice about it to the account. The DevOps team wants every such notice to start an AWS Systems Manager Automation runbook that moves the workload off the affected instance. The notices must reach the runbook automatically, without a polling script. What should a DevOps engineer do to meet these requirements?

    Right. In the game that’s Renown for your Incident and Event Response building.

    Not that one: D is right. In the game your Incident and Event Response building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Nothing polls.

    Written from docs.aws.amazon.com/health/latest/ug/cloudwatch-events-health.html

  2. A company has 200 accounts in AWS Organizations with all features enabled. Company policy limits sign-in to the management account to three administrators. The platform team works from a member account named tooling. From that account, the team must review the notices that AWS posts about the company's accounts, such as scheduled retirements of Amazon EC2 instances, end-of-support dates for database engine versions and service issues in a Region, for every account in the organization, and filter them by account and Region in a console. What should a DevOps engineer do to meet these requirements?

    Right. In the game that’s Renown for your Incident and Event Response building.

    Not that one: C is right. In the game your Incident and Event Response building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Registering tooling as a delegated administrator for AWS Health then lets the platform team work in that view from tooling, so the management account stays limited to its three administrators.

    Written from docs.aws.amazon.com/health/latest/ug/aggregate-events.html

  3. A company runs its order platform in eu-west-1 from one AWS account that has the AWS Developer Support plan, and finance has declined to change the plan. The incident team wants a ticket opened for each AWS Health event about the account's resources in eu-west-1, and each ticket must list the resources involved. A new ticket function will read an Amazon Simple Queue Service (Amazon SQS) standard queue in eu-west-1. The team creates every resource with the AWS CLI. Which combination of steps will meet these requirements? (Select THREE.)

    Right. In the game that’s Renown for your Incident and Event Response building.

    Not that one: A,D,E is right. In the game your Incident and Event Response building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Because the rule is created with the CLI, nothing adds the queue permission automatically, so the queue policy must allow events.amazonaws.com to send messages. Each event already carries its affectedEntities list, so the function can build the ticket from the message alone.

    Written from docs.aws.amazon.com/health/latest/ug/health-api.html

Ask for something