Skill 5.3.2
Analyzing incidents regarding failed processes (for example, auto scaling, Amazon ECS, Amazon EKS)
Key Concepts
Auto Scaling activity history shows failed launches (insufficient capacity, invalid AMI, missing IAM permissions to pass the instance profile, unavailable instance types) and terminations due to failed health checks. A short health check grace period causes healthy-but-slow instances to be replaced in a loop. Suspended processes stop scaling activities entirely.
In ECS, service events and the stopped reason of tasks reveal problems such as CannotPullContainerError (execution role or network path to ECR), essential container exits, out-of-memory kills, failing load balancer health checks or no container instance with enough resources. In EKS, pod events, kubectl describe, node conditions and control plane logs in CloudWatch show scheduling, image pull and permission failures. Container Insights adds metrics per task and pod.