Runbook

AWS ECS Fargate ELB update failed Primary taskset target group must be behind listener issue

Back to Runbooks

Overview

This incident type involves troubleshooting issues related to blue/green deployments for services hosted on Amazon Elastic Container Service (ECS) Fargate. Specifically, it may involve resolving errors related to Elastic Load Balancing (ELB) where the primary taskset target group must be behind the listener. This can occur when ELB listeners or target groups are misconfigured. Troubleshooting steps may include ensuring that the ELB primary listener is pointing to the primary target group currently serving workloads.

Parameters

Debug

1. Describe a specific load balancer by providing the ARN

2. Describe a specific target group by providing the ARN

3. Describe a listener for a specific load balancer by providing the ARN

4. List the task set in a service that's hosted on fargate

5. Describe the details of a specific task in a task set

6. Get the logs for a specific task in the task set

Repair

Update the primary listener to correctly configure to point to the primary target group.

Learn more

Related Runbooks

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