How can I connect my autoscaling group to my ecs cluster?

前端 未结 3 742
独厮守ぢ
独厮守ぢ 2021-01-31 02:52

In all tutorials for ECS you need to create a cluster and after that an autoscaling group, that will spawn instances. Somehow in all these tutorials the instances magically show

3条回答
  •  心在旅途
    2021-01-31 03:16

    An autoscaling group is not strictly associated to a cluster. However, an autoscaling group can be configured such that each instance launched registers itself into a particular cluster.

    Registering an instance into a cluster is the responsibility of the ECS Agent running on the instance. If you're using the Amazon ECS-optimized AMI, the ECS Agent will launch when the instance boots and register itself into the configured cluster. However, you can also use the ECS Agent on other Linux AMIs by following the installation instructions.

提交回复
热议问题