kev
kev

Reputation: 9715

AWS ECS firstRun not showing EC2 instance

I went through the firstRun steps here (AWS login required).

I have uploaded a docker image to the ECR and the cluster launches successfully, all steps succeed (ECS status - 4 of 4 complete and EC2 instance status - 14 of 14 complete).

There is no instance attached to the cluster although it is running (see screenshots). What am I doing wrong?

ECR cluster instances EC2 cluster instance

Upvotes: 1

Views: 1524

Answers (1)

kev
kev

Reputation: 9715

The permissions were missing, or in other words, EMR_EC2_DefaultRule wasn't a AmazonEC2ContainerServiceforEC2Role.

It's explained here.

Would've expected the setup to fail if the role does not grant enough permissions for the EC2 instance to actually connect to the cluster.

Upvotes: 3

Related Questions