Reputation: 466
I am trying to create a new ECS EC2 service.
My cloudformation is getting timeout while creating the service.
I have checked all roles,docker images are fine.
How to debugg this issue ?
Is anything i can login in ECS EC2 and check ?
Upvotes: 2
Views: 5211
Reputation: 238179
Is anything i can login in ECS EC2 and check ?
Yes, you can. Specifically, you can go to your ECS service and check its Events
tab:
Also in the Tasks
, you can check Stopped
tasks. Go to the stopped task if any and you can expand its details. Often there will be some extra info while it was stopped.
Upvotes: 2
Reputation: 186
My guess is that the health checks on the ELB is failing due to them not getting HTTP 200 from the checks that you have configured (or not configured in which case they must get a HTTP 200 from "GET /").
Upvotes: 1