- Newest
- Most votes
- Most comments
Hello Kurt,
If you want Route 53 to make a Failover decision based on your attached custom health checks, you would need to disable to evaluate target health while creating Alias A record pointing to NLB's.
If you enable the evaluate target health while creating Alias A record to NLB and has custom health check attached, now Route 53 Failover decision is based on the internal health of NLB and your custom health check health, both have to healthy to influence Route53 decision to route you requests to primary records.
Hello Kurt Vanslambrouck,
This usually happens, when you have AND with the CloudWatch_Alarm based Health check and Regional Health Check. In order to verify the configuration, Navigate to the Calculated health checks ID and look for "Health checks to monitor" section to see list of Health-Checks added also, check the condition "Report healthy when".
Further, check what happens when you associate a health check with an alias record?
When you set Evaluate target health to Yes for an alias record, Route 53 evaluates the health of the resource that the alias target value specifies. For an Application Load Balancer, Route 53 considers the health checks that are associated with the target groups behind the load balancer.
[+] https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html
Dear Chethan, thank you for your answer. My "Health checks to monitor" specify both CloudWatch alarm_based healthchecks. The alias record specifies the Health check ID of the calculated health check, AND "Evaluate Target Health" to yes. Would that be the cause of the interference from the Regional Health Checks? I fail to understand the relation between "evaluate target health" on one hand (which is all about target groups having at least 1 active target), and the Regional Health Checks on the other hand.
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
dear Ravi, thank you for your answer. I understand what you say. But why are the regional health checks becoming involved, even though I don't mention them anywhere in the alias record configuration?