Skip to content

AWS Elastic Beanstalk sample code to run the load testing tool, locust.

License

Notifications You must be signed in to change notification settings

tanglekhaka/eb-locustio-sample

 
 

Repository files navigation

Distributed Locust Load Generator

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

How to use it

Create an environment

  1. ssh to the bastion host
  2. run cd eb-locustio-sample
  3. run ./create_environment.sh <instance_type> <number of instances> e.g. ./create_environment.sh c5.xlarge 2

Add more worker

  1. 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

Terminate an environment

This will clean up all resources to avoid an incurred cost.

  1. run ./terminate_environment.sh

About

AWS Elastic Beanstalk sample code to run the load testing tool, locust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 79.1%
  • Procfile 9.1%
  • Shell 6.3%
  • Python 5.5%