Skill 4.2.8

Configure application health checks and readiness probes

Key Concepts

Elastic Load Balancing target groups send requests to a health check path, such as /health, on each target, and stop routing to targets that fail a number of consecutive checks. An Auto Scaling group can use ELB health checks to replace unhealthy instances. A good health endpoint checks the application's own readiness quickly, without failing because a non-critical dependency is slow.

ECS supports container health checks in the task definition, and services use a health check grace period so slow-starting tasks are not killed early; on EKS, Kubernetes readiness and liveness probes play the same role. Route 53 health checks monitor endpoints for DNS failover, and Elastic Beanstalk uses enhanced health reporting.