Amazon ECS service unhealthy event messages - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon ECS service unhealthy event messages

The following are examples of service unhealthy event messages.

EC2: (service service-name) (task task-id) (instance instance-id) (port port-number) is unhealthy in (target-group target-group-name) due to (reason failure-reason)

This message indicates that a task running on an EC2 instance is failing health checks. For more information, see the following:

EC2 with taskSet: (service service-name, taskSet taskSet-id) (task task-id) (instance instance-id) (port port-number) is unhealthy in (target-group target-group-name) due to (reason failure-reason)

This message indicates that a task in a task set running on an EC2 instance is failing health checks. For more information, see the following:

Fargate: (service service-name) (task task-id) (port port-number) is unhealthy in (target-group target-group-name) due to (reason failure-reason)

This message indicates that a Fargate task is failing health checks.

For more information about troubleshooting health check failures in Fargate tasks, see How do I troubleshoot health check failures for Amazon ECS tasks on Fargate?.

Fargate with taskSet: (service service-name, taskSet taskSet-id) (task task-id) (port port-number) is unhealthy in (target-group target-group-name) due to (reason failure-reason)

This message indicates that a task in a task set running on Fargate is failing health checks.

For more information about troubleshooting health check failures in Fargate tasks, see How do I troubleshoot health check failures for Amazon ECS tasks on Fargate?.