Fail to register container instances when creating cluster in ECS with existing ASG

0

When I createing my cluster in ECS, the created cluster is failed to register container instance, what are the possible causes for the problem and what should I check for? (PS: I have created a cluster with the same setting before and it works, but after I delete the cluster and re-create one, it fail to register the container instance )

1개 답변
0

Does the new cluster in ECS have exactly the same name? Have any changes been made to the ASG (I assume you're using one based on the question tags)?

Instances are registered to the cluster via the ECS agent on boot based on the Userdata injecting the cluster name to the ECS config: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_container_agent

AWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠