Scale multiple ECS services at once

You use the following bash script I wrote to scale multiple ECS services at once:



Prerequisite


- AWS CLI [1]
- An IAM account that has permission to update or scale ECS services
- A text file that contains all the ECS service names, each line contains 1 service name. For example:

service1
service2
...

Usage


./mass_scale_ecs_svc.sh <cluster name> <path to the ECS service names text file> <desired count, e.g., 0>


References:

[1] https://aws.amazon.com/cli/

Comments