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 )

已提問 2 年前檢視次數 769 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南