How to Implement CloudWatch Alarm Investigation and Fix PRs with Kiro and AgentCore Runtime Using an AWS Sample
Key point
This post explains how to configure alarm investigation and fix PR generation with Kiro and AgentCore Runtime using an AWS sample.
Details
- This post explains how to deploy an AWS sample to configure CloudWatch alarm investigation and fix PR generation.
- When a CloudWatch alarm enters the ALARM state, EventBridge sends the event to SQS, and Lambda checks the workload before calling Kiro on AgentCore Runtime to investigate its status and recent deployment history.
- Kiro divides the investigation and review into Collector, Writer, Reviewer, and Fixer roles, and calls Fixer only when the review passes and a recommended action is available.
- In the demo, a deployment that changed the ALB health check path to /healthz caused the targets to become unhealthy; Kiro found the cause and created a fix PR to change the path back to /health.
- When an operator reviews and merges the PR, CodePipeline deploys the fix; in this case, the targets returned to normal and the CloudWatch alarm changed to OK.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.