AWS_Beginner
AWS_Beginner

Reputation: 466

ECS service getting timeout while creating

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

Answers (2)

Marcin
Marcin

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:

enter image description here

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.

enter image description here

Upvotes: 2

JoBu
JoBu

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

Related Questions