Global Accelerator Shows an Endpoint as Unhealthy

0

I have the following setup A Global Accelerator, WAF, External facing ALB, Auto Scaling Group, and target groups which has an EC2 target for hosting a website. The ALB security group allows open access on port 80 and 443 from everywhere. The website is accessible externally without any issues.

The Global Accelerator shows ALB as Unhealthy. According to https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-health-check-options.html the health checks for Accelerator uses the Target group's health check. The ALB has only 1 target group which has 1 EC2 and it shows the target as healthy. I also reviewed Application Load Balancer considerations on https://repost.aws/knowledge-center/global-accelerator-unhealthy-endpoints, but still cannot find the reason that Accelerator show ALB as unhealthy. Could anyone help me with this issue? Thanks

AWSuser
已提问 5 个月前220 查看次数
1 回答
0

Hello.

Is Global Accelerator's endpoint type ALB?
In the case of ALB, as you know, if the health check of the target group is successful, then Global Accelerator should also be successful.
If the endpoint type is EC2, health checks are performed directly from Route53 to the EC2 IP address, so access from Route53 must be allowed in the security group's inbound rules.
You can check the IP that Route53 uses for health checks from the URL below.
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/route-53-ip-addresses.html
https://ip-ranges.amazonaws.com/ip-ranges.json

profile picture
专家
已回答 5 个月前
profile picture
专家
已审核 5 个月前
  • Yes, the endpoint is an ALB. The health check of the target group is successful and shows the EC2 instance as healthy, however, the Global Accelerator shows the ALB endpoint as unhealthy. Are you saying I still need to allow ROUTE53_HEALTHCHECKS service IP address to my target group EC2 endpoint?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则