2 Answers
- Newest
- Most votes
- Most comments
3
Hello,
ECS deployment fails with custom image?
- Increase CloudWatch Logs: Get more details from your application by cranking up logging.
- Check Exit Codes: Look for non-zero exit codes in container logs, indicating abnormal termination.
- Verify Resources: Ensure your Task Definition has enough CPU/memory for your custom program.
- Review Environment Variables: Make sure any needed environment variables are defined correctly.
2
Have you reviewed the stopped tasks in the ECS cluster gui and looked at the error messages there?
Have you tested the container locally?
- For the ECS cluster error messages, do you mean the Logs tab? If so, that is identical to the CloudWatch logs. There are no errors there. In fact, it looks like the container loaded successfully.
- I have tested the container on a manually created EC2 instance and it worked fine.
Relevant content
- asked 2 years ago
- asked a year ago
