The primary Region is down, but Route 53 failover records still send traffic to it.
IntermediateTroubleshootingRoute 53, CloudFront, API Gateway and Messaging
Answer
Likely causes → The primary record has no health check associated, or EvaluateTargetHealth is false on the alias. The health check tests something that is still up (for example, the ALB answers / even though the app is broken). Or clients cache DNS beyond the TTL.
Diagnose →
aws route53 list-resource-record-sets --hosted-zone-id Z0123ABC \
--query "ResourceRecordSets[?Failover!=null].[Name,Failover,HealthCheckId,AliasTarget.EvaluateTargetHealth]"
aws route53 get-health-check-status --health-check-id <id>
Fix →
- Attach a health check that tests a deep
/healthzendpoint (checking the app and its dependencies) to the PRIMARY record - Set
EvaluateTargetHealth: trueon alias records - Use a 60s TTL
Prevent → Run regular game days that fail the primary, and consider Route 53 ARC routing controls for manual, deterministic failover.
More on Route 53, CloudFront, API Gateway and Messaging
You created a public hosted zone and records for `example.com`, but `dig example.com` returns `NXDOMAIN` or old records.Beginner`InvalidChangeBatch: RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.`BeginnerA Route 53 health check reports `Failure: Connection timed out` for an endpoint that works fine from your laptop.IntermediateYou changed an A record an hour ago, but some users still reach the old server, and a newly created name returned `NXDOMAIN` for a while.AdvancedCloudFront returns `403 AccessDenied` (S3 XML) for every object after you switched the S3 origin to Origin Access Control.IntermediateCloudFront shows `502 ERROR. The request could not be satisfied. CloudFront wasn't able to connect to the origin.`Intermediate