This application is based on the AWS provided package that utilizes Elastic Beanstalk to set up a distributed load testing infrastructure. There were changes made to make it work with the latest version of Locust.
Please see the documentation
- ssh to the bastion host
- run
cd eb-locustio-sample
- run
./create_environment.sh <instance_type> <number of instances>
e.g../create_environment.sh c5.xlarge 2
- run
./scale.sh <number of current instances + number of new worker instances>
e.g. if you already have 2 instances running and you need to add one more worker instance, you need to run./scale.sh 3
This will clean up all resources to avoid an incurred cost.
- run
./terminate_environment.sh