AWS DevOps Agent 自动修复工作流教程
AWS 机器学习博客发布教程,演示如何在 AWS DevOps Agent 完成事故调查后自动执行修复。方案由 Amazon EventBridge 接收调查完成事件并触发 AWS Lambda Durable Functions,再由 Amazon Bedrock 在预置的 Lambda 工具白名单内提出修复动作;只读操作自动执行,会改动基础设施状态的操作则暂停等待人工批准。示例场景为修复一个 Lambda 函数超时时间配置过短的问题。
它展示了一种“调查—预校验—单次审批—修复”的人机协同模式,可在保留人工控制的前提下缩短平均修复时间(MTTR),但目前仍是 AWS 官方博客中的示例实现,需要用户自行部署。
Reducing the time between incident detection, investigation, and remediation is a critical priority for organizations running production workloads on AWS. When an issue arises, on-call engineers often need to quickly diagnose the problem across application components, identify the root cause, and apply the fix, often in the middle of the night.
AWS DevOps Agent, an AI powered agent that autonomously triages incidents all day based on correlated metrics, logs, and application topology, addresses the first part of this priority by providing root cause analysis (RCA) and recommended actions for resolution. However, to retain control and help prevent unintended changes, organizations typically keep their observability agents, including AWS DevOps Agent, in an observe-and-report mode, where the agent diagnoses issues but doesn’t modify production resources directly. In this post, we demonstrate how to use AWS Lambda Durable Functions, a capability of AWS Lambda, Amazon EventBridge, and Amazon Bedrock to create an automated remediation workflow that complements AWS DevOps Agent to complete the issue resolution step. This workflow transforms investigation summaries into pre-validated fixes ready for single approval action, helping you reduce mean time to resolution (MTTR) and free your on-call engineers from repetitive diagnostic work.
#AWS#AWS DevOps Agent#AWS Lambda Durable Functions#Amazon EventBridge#Amazon Bedrock