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
asked 9 months ago285 views
1 Answer
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
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions