Runbook
AWS ECS Fargate Tasks Stopping or Failing to Start
Back to Runbooks
Overview
This incident type refers to the issue of Amazon Elastic Container Service (Amazon ECS) containers exiting unexpectedly, resulting in tasks stopping or failing to start when deployed on AWS ECS Fargate. This issue can occur due to various reasons, such as application issues, resource constraints, or other issues. To resolve this issue, the troubleshooting steps involve checking the diagnostic information in the service event log, checking for errors in stopped tasks, and configuring log driver options to send logs to a custom driver for the container. Additionally, memory constraint issues need to be addressed, and if the awslogs log driver is configured, checking the awslogs container logs in CloudWatch Logs can help resolve the issue.
Parameters
Debug
Get the list of stopped tasks
Get the logs of a container instance
Check the events of a service
Get the details of a task definition
Get the list of stopped tasks and check details and status of the stopped task
Repair
Learn more
Related Runbooks
Check out these related runbooks to help you debug and resolve similar issues.