Runbook

Application Load Balancer Health Check Failure During Green Deployment for AWS ECS Fargate

Back to Runbooks

Overview

This incident type involves ECS tasks failing Application Load Balancer health checks during a new green deployment in an AWS ECS Fargate environment. In such a scenario, the issue may be caused by multiple ECS services trying to register their tasks to the same green target group, leading to a discrepancy. The recommended troubleshooting step is to update the load balancer configuration to ensure that only one ECS service or port is registered to one target group.

Parameters

Debug

List all the available services in the cluster

Describe the specified ECS service to check its details

Describe the specified task definition

List all the registered target groups of the specified load balancer

List all the tasks registered to the specified target group

Repair

Update the load balancer configuration to ensure that only one ECS service or port is registered to one target group.

Check the current status of the ECS Service and tasks to determine whether they are running correctly.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.