Why can't my ECS service register available EC2 instances with my ELB?

后端 未结 6 1946
盖世英雄少女心
盖世英雄少女心 2020-12-10 03:41

I\'ve got an EC2 launch configuration that builds the ECS optimized AMI. I\'ve got an auto scaling group that ensures that I\'ve got at least two available instances at all

6条回答
  •  心在旅途
    2020-12-10 04:03

    It might also be that the ECS agent creates a file in /var/lib/ecs/data that stores the cluster name.

    If the agent first starts up with the cluster name of 'default', you'll need to delete this file and then restart the agent.

提交回复
热议问题