Home icon

Autonomous Root Cause Analysis for AWS Systems Manager Patch Failures Using AWS DevOps Agent

AWS Cloud Operations Blog



This article demonstrates how to build an event-driven solution using AWS DevOps Agent to automatically investigate and determine root causes of AWS Systems Manager patch failures across multiple accounts and regions.

  • EventBridge captures patch failure events from Systems Manager and forwards them across accounts
  • Lambda function deduplicates, enriches failures with fleet context, and triggers AWS DevOps Agent investigations
  • AWS DevOps Agent autonomously correlates logs, configuration state, and infrastructure changes to identify root causes
  • Solution uses centralized architecture with workload accounts forwarding events to primary account
  • Includes filtering for tagged instances, deduplication windows, and per-command throttling to prevent duplicate investigations
  • Provides CloudFormation templates for multi-account deployment via StackSets
  • Reduces investigation time from hours to minutes with structured findings and evidence chains
  • Supports continuous learning as each investigation contributes to Agent Space knowledge base

This event-driven automation eliminates manual log correlation across accounts and regions, enabling operations teams to quickly identify whether patch failures share common root causes or represent independent node-specific issues.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 26
2026
Automate root cause analysis for AWS Backup failures with AWS DevOps Agent
May 27
2026
How AWS DevOps Agent uses multi-agent reasoning to find root causes
Jul 24
2026
Accelerating AWS Network Firewall troubleshooting with AWS DevOps Agent
Jul 23
2026
Automate CI/CD troubleshooting with AWS DevOps Agent and GitHub

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.