I would check to make sure you're not missing any dependencies (for example, environment variables) as it appears the application isn't bootstrapping correctly, as is deemed unhealthy.
Please take a look at this https://repost.aws/knowledge-center/ecs-task-container-health-check-failures
If this helps solve your problem, please accept this as the Accepted Answer, so that others on re:Post may benefit - thank you.
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- Why am I receiving a "Failed to authenticate with service" error in my Application Migration Service replication server?AWS OFFICIALUpdated 10 months ago