ECS Fargate Event Message: service X failed to describe target health on target-group Y with (error ELB API Unavailable)

0

I have recently been seeing the following event in one of my ECS Fargate services - Events log. ECS Fargate Event Message: service X failed to describe target health on target-group Y with (error ELB API Unavailable). Why would ECS Service flag this as an event?

Anand
已提问 9 个月前297 查看次数
1 回答
0

Hello,

ECS events flags any events when it is facing any issue and this event shows it is not able to describe the health checks of the target and might seems to be unhealthy and below could be some possible reasons for the target group to be unhealthy.

  1. Improper IAM permissions for the ecsServiceRole IAM role
  2. Container instance security group Elastic Load Balancing load
  3. Loadbalancer not configured for all Availability Zones Elastic Load
  4. Balancing load balancer health check misconfigured
  5. container port mapping with host port were incorrect
  6. ALB health check interval time was very short. Due to that, ALB was giving up immediately, not waiting for docker container to up and running properly.

Below is a troubleshooting guide for health check failures for Amazon ECS tasks on Fargate and health check failure on alb for your reference: https://repost.aws/knowledge-center/ecs-fargate-health-check-failures https://aws.amazon.com/premiumsupport/knowledge-center/elb-fix-failing-health-checks-alb/)

AWS
sanju_s
已回答 9 个月前

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

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

回答问题的准则