[英]Registered container instances 0 AWS ECS
I created a cluster on Amazon ECS.我在 Amazon ECS 上创建了一个集群。 It was successful but my Registered container instances is zero.
它成功了,但我的注册容器实例为零。 I can't create a tasks because my cluster doesn't a container have an instance.
我无法创建任务,因为我的集群没有容器有实例。
What to do?该怎么办? Hope you can help me.
希望您能够帮助我。 Thank you.
谢谢你。
EC2 instances won't be visible out of the box in the ECS cluster just because they exist in your account. EC2 实例在 ECS 集群中开箱即用是不可见的,因为它们存在于您的账户中。 They need to be made join the cluster.
他们需要加入集群。 First you'd need to use an ECS-optimized AMI (unless you want to build one on your own which is possible but..) and then you'd need to customize the launch to tell it which cluster to join.
首先,您需要使用 ECS 优化的 AMI(除非您想自己构建一个这是可能的,但是..),然后您需要自定义启动以告诉它要加入哪个集群。 See this doc page .
请参阅此文档页面。
You have 3 options:您有 3 个选项:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.