Articles in this section
Category / Section

How to resolve ELB health check failure on ECS deployment.

Published:

This section explains how to resolve the ELB health check failure on ECS deployment, as shown in the image below:

image.png

The ALB health check may fail because it does not meet the correct success code in the target group. Therefore, follow the steps below to resolve the health check issue.

  1. Please navigate to the EC2 -> Target groups -> Health checks -> Advanced health check settings in the AWS console page. Then, change the success code from 200 to 302.
    image.png
  2. After changing the success code, it looks like the image below.
    image.png
  3. Once the success code is updated in the target group, a new task will be created in the ECS cluster service.

    Note: It will take some time to create the new task. Alternatively, manually stop the running task. After stopping the task, a new task will be automatically created in the ECS cluster service.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
SS
Written by Sivanesan Saravanan
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied