Modifies the number of container instances in your cluster. This command changes the desired and maximum instance count in the Auto Scaling group created by the ecs-cli up command. You can use this command to scale up (increase the number of instances) or scale down (decrease the number of instances) your cluster.
The ECS CLI can only manage tasks, services, and container instances that were created with the ECS CLI. To manage tasks, services, and container instances that were not created by the ECS CLI, use the AWS Command Line Interface or the AWS Management Console.
ecs-cli scale --capability-iam --size
Acknowledges that this command may create IAM resources.
Specifies the number of instances to maintain in your cluster.
Show the help text for the specified command.
This example scales the current cluster to 2 container instances.
ecs-cli scale --capability-iam --size 2INFO Waiting for your cluster resources to be updated INFO Cloudformation stack status stackStatus=UPDATE_IN_PROGRESS