Skill 2.2.1

Configure and troubleshoot Elastic Load Balancing (ELB) and Amazon Route 53 health checks

Key Concepts

ELB target groups check each target with a protocol, port and path, an interval, a timeout, healthy and unhealthy thresholds and expected success codes (for example 200-299). Targets that fail are taken out of rotation; an Auto Scaling group with ELB health checks enabled replaces them. Common failures are a security group that does not allow the load balancer, a path that returns 301, 403 or 404, an application that starts slower than the health check grace period, or a dependency check that fails all targets at once.

Route 53 health checks monitor an endpoint (HTTP, HTTPS or TCP, optionally searching for a string), the status of other health checks (calculated) or the state of a CloudWatch alarm. Health checkers run on the internet, so endpoints must allow their IP ranges, and private resources are monitored with an alarm-based check. Failover, weighted, latency and other routing policies evaluate target health; alias records can use Evaluate target health.