How do i list instances associated to a particular ecs cluster?
-
$ aws ecs list-container-instances --cluster default
The default cluster is automatically create when creating a ecs instances using an optimised ECS AMI.
If your cluster is called AppClus, just change the name of the cluster.
$ aws ecs list-container-instances --cluster AppClus
© Lightnetics 2024