firstRun不显示EC2实例

firstRun不显示EC2实例

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

问题描述

我完成了 firstRun 步骤此处(需要AWS登录).

我已将docker映像上传到ECR,集群成功启动,所有步骤均成功完成( ECS状态-已完成4个,共4个 EC2实例状态-已完成14个,共14个).

尽管集群正在运行,但没有附加任何实例(请参见屏幕截图).我在做什么错了?

解决方案

缺少权限,或者说 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实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 06:33