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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南