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

May 27
2026
How AWS DevOps Agent uses multi-agent reasoning to find root causes
Dec 12
2025
Resolve application issues autonomously with AWS DevOps Agent (Preview) and Dynatrace
Apr 21
2026
Automated network incident response with AWS DevOps Agent
Mar 31
2026
Leverage Agentic AI for Autonomous Incident Response with AWS DevOps Agent

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.