AWS ECS firstRun不显示EC2实例 [英] AWS ECS firstRun not showing EC2 instance

查看:160
本文介绍了AWS ECS firstRun不显示EC2实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完成了 firstRun 步骤解决方案

缺少权限,或者说 EMR_EC2_DefaultRule 不是 AmazonEC2ContainerServiceforEC2Role . >

此处中进行了解释./p>

如果角色没有为EC2实例授予足够的权限来实际连接到群集,则本应期望安装失败.

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?

解决方案

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.

这篇关于AWS ECS firstRun不显示EC2实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆