Managing Incidents Across a Multi-Account Estate
This lesson explains incident management, detection, coordination, response and learning, across a multi-account estate, since recovery time depends on how quickly the right people learn of a problem and how well practised the response is.
Learning outcomes
After completing this lesson, you will be able to:
- Explain why alarms should target customer-facing symptoms.
- Describe how OpsCenter and related tools coordinate the response.
- Distinguish runbooks from playbooks.
- Describe blameless post-incident reviews.
Knowing about problems
Recovery cannot start until someone knows there is a problem. Alarms on customer-facing symptoms, such as error rates, latency and synthetic canary failures, detect what users experience, whereas alarms only on resource metrics, such as CPU, can miss a broken user journey or fire when nothing is wrong. Composite alarms reduce noise by alerting only when several conditions hold together, so that a page means action is needed.
Some problems originate in AWS itself. AWS Health reports events that affect the organisation's resources, such as service issues, scheduled maintenance and instance retirement notices; the organisational view aggregates them across accounts, and the events flow to EventBridge, where rules notify the owning team or start automation.
Coordinating the response
During an incident, people need information and coordination as much as tools. Systems Manager OpsCenter gathers related resources, logs, alarms and runbooks into one OpsItem, so responders start with context. Amazon Q Developer in chat applications brings alerts, diagnostics and commands into Slack or Microsoft Teams channels where the team is already talking. CloudWatch investigations uses AI to suggest likely causes from metrics, logs, traces and recent changes.
For security events, AWS Security Incident Response provides triage, investigation and access to AWS responders, and Enterprise Support includes incident detection and response for critical workloads. Paging and on-call schedules are provided by partner incident management tools, because Systems Manager Incident Manager is closed to new customers. The following table summarises the capabilities.
| Capability | Role |
|---|---|
| Systems Manager OpsCenter | OpsItems that gather related resources, logs, alarms and runbooks in one place |
| Amazon Q Developer in chat applications | Alerts, diagnostics and commands in Slack or Microsoft Teams channels |
| CloudWatch investigations | AI-assisted analysis that suggests likely causes from metrics, logs, traces and recent changes |
| AWS Security Incident Response | Triage, investigation and access to AWS responders for security events |
| AWS Support | Enterprise Support includes incident detection and response for critical workloads |
Runbooks and playbooks
A runbook describes the steps for a known procedure, such as failing over a database; a playbook guides investigation of an unknown problem. Both should be written down, kept with the workload, and progressively automated as Systems Manager Automation documents, so that responders execute tested steps rather than improvising under pressure.
Learning from incidents
Every significant incident is followed by a blameless post-incident review, called a correction of error document at Amazon. The review reconstructs the timeline, identifies the root cause, for example with the five whys, and identifies the contributing factors in detection and response: why the problem was not detected sooner, and why recovery took as long as it did. Blamelessness matters, because people who fear blame hide the details that explain what happened.
The review produces actions, such as new alarms, automation, architecture changes and runbook updates, which are tracked to completion like any other work. Lessons are shared across teams, because the same weakness often exists in other workloads that have not failed yet.
Routing AWS Health events to the right team
A company with 150 accounts learns of AWS scheduled maintenance and service events only when someone happens to look at the console. The AWS Health organisational view is enabled so that a delegated administrator can see events for every account, and a StackSet deploys an EventBridge rule to each account that forwards Health events to a central event bus. There, a rule routes them by service and category:
aws health enable-health-service-access-for-organization
{
"source": ["aws.health"],
"detail-type": ["AWS Health Event"],
"detail": {
"service": ["EC2", "RDS", "EKS"],
"eventTypeCategory": ["issue", "scheduledChange"]
}
}Targets are an SNS topic subscribed by Amazon Q Developer in chat applications, which posts to the platform team's channel, and a Lambda function that creates a Systems Manager OpsItem listing the affected resources, their owners from tags, and the relevant runbook. For an issue event affecting a production database, the OpsItem is linked to an Automation runbook that fails over to the standby. After each significant incident, the team writes a blameless post-incident review and tracks its actions in the same OpsCenter.
Where can operational issues be tracked together with their resources and runbooks?
Show answer
In Systems Manager OpsCenter, as OpsItems linked to the affected resources and to Automation runbooks.
Exam Tips
Remember for the exam
- To react to AWS service events affecting your resources, use AWS Health with EventBridge.
- For health events across all accounts, use the AWS Health organisational view.
- To track operational issues with related resources and runbooks, use OpsCenter.
- Alarm on customer-facing symptoms, and use composite alarms to reduce noise.
- Incident Manager is closed to new customers; use OpsCenter with partner paging tools.
- Run blameless post-incident reviews and track their actions to completion.