How do Route 53 health checks work and what are their pitfalls?
IntermediateProductionDNS & Traffic Management in Production
Answer
Health checkers in multiple regions probe your endpoint (HTTP, HTTPS, TCP) and the record is healthy if more than 18% of checkers agree. You can also use calculated checks and CloudWatch alarm checks for private resources.
Pitfalls: security groups must allow Route 53 checker IP ranges, checks against private IPs need CloudWatch alarm based checks, and a health check path that depends on a downstream DB can fail every endpoint at once. When all records are unhealthy Route 53 returns all of them (fail open).
More on DNS & Traffic Management in Production
What TTL values do you choose for production records?BeginnerHow would you design DNS for high availability?AdvancedHow do you manage DNS as code?BeginnerHow do you do a zero-downtime DNS cutover?IntermediateWhy does DNS failover take longer than expected, and how do you make it faster?AdvancedHow do you run internal service DNS across multiple VPCs and accounts?Intermediate