AWS - DevOps Engineer Professional Study Guide

    5: Incident and Event Response

    This chapter covers the incident and event-response surface for the AWS DevOps Engineer Professional exam, including triage of operational events through Amazon CloudWatch, AWS CloudTrail, AWS Config, and AWS X-Ray, orchestration through AWS Systems Manager Incident Manager and OpsCenter, automated remediation through AWS Config rules with Systems Manager Automation runbooks and AWS Lambda functions, event-driven alerting through Amazon EventBridge and Amazon SNS, and AWS Chatbot integrations that route notifications and run approved commands from messaging platforms.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Triage operational events across Amazon CloudWatch, AWS CloudTrail, AWS Config, and AWS X-Ray and trace them back to their root cause.
    • Quantify the impact of an event on workloads and customers and choose between rollback, redeploy, and restore-from-backup as the restoration path.
    • Apply configuration changes safely through AWS Systems Manager Run Command, State Manager, and Automation, including emergency-change patterns that respect approved change-management processes.
    • Orchestrate incident response with AWS Systems Manager Incident Manager response plans and OpsCenter OpsItems, including engagement schedules and escalation contacts.
    • Wire event-driven automation with Amazon EventBridge rules, targets, and custom event buses, and configure Amazon SNS topics with FIFO ordering, filter policies, and message delivery retry.
    • Integrate AWS Chatbot with Slack and Microsoft Teams so that operators can acknowledge alarms, run approved runbooks, and acknowledge incidents from chat.
    • Build automated remediation through AWS Config rules, Systems Manager Automation documents, and Lambda functions with bounded blast-radius controls.

    Executive Summary

    • Incident response on AWS is a closed loop: detect through CloudWatch alarms and EventBridge events, engage through Incident Manager response plans and OpsCenter OpsItems, remediate through Systems Manager Automation and Lambda, and learn through post-incident analysis exported to S3 or OpsCenter.
    • The right restoration path depends on the failure mode: rollback fits a bad deployment, redeploy fits a transient configuration drift, and restore-from-backup fits data corruption or destructive change; choosing the wrong path can extend the outage or destroy in-flight transactions.
    • Event-driven automation is the default response pattern: EventBridge rules match events from AWS services, custom apps, and partners, route to Systems Manager Automation, Lambda, SNS, Step Functions, or AWS Chatbot, and persist undelivered events to a dead-letter queue.
    • Emergency changes still go through change management: pre-approved Systems Manager Automation runbooks with aws:approve actions, OpsCenter OpsItems for audit trail, and AWS Config compliance evaluation give DevOps teams a documented break-glass path that satisfies governance.

    Assumptions

    • The cross-account observability model from the previous chapter (CloudWatch Observability Access Manager sinks and links) is already in place, so an incident commander can read metrics and logs from any workload account without re-authenticating.
    • All workload accounts are members of an AWS Organization with an organization trail in AWS CloudTrail and an aggregator in AWS Config; this chapter assumes those event sources are present and focuses on consuming and acting on them.
    • Service names follow AWS conventions: managed services are Amazon X (Amazon EventBridge, Amazon SNS, Amazon CloudWatch), platform services are AWS X (AWS Lambda, AWS Systems Manager, AWS Config).
    • Region scope follows the per-workload Region selection from previous chapters; cross-Region patterns are called out explicitly where they apply.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account