Route 53 ALB Alias Record Health Checks

0

I have redundant records in a Route 53 configured as alias records to different ALBs, for region-based routing and failover in case of an outage in one region. I have "Evaluate Target Health" enabled on the records. I don't have a custom health check resource associated with records, because according to the documentation:

If you're using alias records to route traffic to selected AWS resources, such as ELB load balancers, you can configure Route 53 to evaluate the health of the resource and to route traffic only to resources that are healthy. When you configure an alias record to evaluate the health of a resource, you don't need to create a health check for the resource.

This what the record configuration looks like in the Route 53 console:

Configuration of an A record in Route 53: points to an ALB, latency routing enabled, Health Check not specified, Evaluate Target Health enabled


My question is two-fold:

  1. What exactly are the criteria for an ALB to be considered unhealthy? Is it related to to the health of associated target groups? If so, how does it work for ALBs with more than one target group?
  2. Is it possible to view the current health status for a record/ALB?
질문됨 일 년 전414회 조회
1개 답변
1
수락된 답변

Hello.

What exactly are the criteria for an ALB to be considered unhealthy? Is it related to to the health of associated target groups? If so, how does it work for ALBs with more than one target group?

We determine whether it is normal by checking the health of the target group linked to the ALB.
Also, if multiple target groups are configured, all target groups will be used to determine health.
https://repost.aws/knowledge-center/load-balancer-marked-unhealthy

When all the target groups in an Application Load Balancer are healthy, Route 53 marks the alias record as "healthy." To pass the target group health check, the number of healthy targets much reach the defined thresholds in your target group attributes. Route 53 then returns records according to your routing policy. For example, if you use latency-based routing, then Route 53 returns the least latent record from your DNS client or resolver's location.

Is it possible to view the current health status for a record/ALB?

Since we are checking the health of the target group, there are probably no metrics for Route53.

profile picture
전문가
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전
  • If you use Route 53 to route DNS queries to your load balancer, you can also configure DNS failover for your load balancer using Route 53. In a failover configuration, Route 53 checks the health of the target group targets for the load balancer to determine whether they are available. If there are no healthy targets registered with the load balancer, or if the load balancer itself is unhealthy, Route 53 routes traffic to another available resource, such as a healthy load balancer or a static website in Amazon S3.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠