Closed dxenes1 closed 3 years ago
Starting on/off stacks was tedious so made a short script to "stop" a stack but not delete it.
Usage:
./scale_stack {bosslet} {mode} [-h] [--asg-only]
To scale up, meaning setting the capacity of all auto-scale groups to 1 and starting cachemanager and bastion:
./scale_stack xenesd1.boss up
Scaling down:
./scale_stack xenesd1.boss down
Scaling down but only modifying ASG:
./scale_stack --asg-only xenesd1.boss down
Starting on/off stacks was tedious so made a short script to "stop" a stack but not delete it.
Usage:
To scale up, meaning setting the capacity of all auto-scale groups to 1 and starting cachemanager and bastion:
./scale_stack xenesd1.boss up
Scaling down:
./scale_stack xenesd1.boss down
Scaling down but only modifying ASG:
./scale_stack --asg-only xenesd1.boss down