AWS ECS firstRun not showing EC2 instance

自作多情 提交于 2019-12-12 00:49:02

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/42587923/aws-ecs-firstrun-not-showing-ec2-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!