Load test from many AWS regions with one command line.
cloudstorm is a free, open-source CLI (MIT license, Python 3.10+) for distributed load testing. It launches EC2 instances in the regions you choose, installs the load testing tool you pick (Locust, k6, JMeter or Artillery) on them through AWS Systems Manager, so no SSH keys are needed, starts the test on every instance, merges the results into one JSON, CSV or HTML report, and removes the resources it created. Only test systems you own or have written authorization to test.
pip install cloudstorm cloudstorm --version
docker run --rm \ -v ~/.aws:/home/cloudstorm/.aws:ro \ -v ~/.cloudstorm:/home/cloudstorm/.cloudstorm \ -v "$PWD":/work \ tarekcheikh/cloudstorm auth -p my-profile
cloudstorm auth -p my-profile # check credentials cloudstorm create -p my-profile -r us-east-1,eu-west-1,ap-northeast-1 -n 2 --tool locust cloudstorm run https://example.com -p my-profile -u 1000 -s 50 -d 5m -o results.json cloudstorm report results.json -f html -o report.html cloudstorm cleanup --all -p my-profile -y # remove what cloudstorm created
cloudstorm run https://staging.example.com --tool k6 -u 10000 -d 60s \ --threshold "p95 < 500" \ --threshold "error_rate < 1" \ -y
| Option | Description |
|---|---|
auth | Check AWS credentials and permissions |
create -r REGIONS -n N -t TYPE --tool TOOL | Create the instances (default instance type: t3.medium) |
add | Add instances to existing infrastructure |
run TARGET_URL -u -s -d -e -o | Run a load test: users, spawn rate, duration, endpoints, JSON output file |
run --script PATH | Use your own test script instead of the default GET requests |
run --threshold "p95 < 500" | Pass/fail threshold, repeatable |
status | Show existing cloudstorm infrastructure |
cleanup -r REGIONS | --all | Terminate instances and delete the resources cloudstorm created |
report INPUT_FILE -f [json|csv|html] -o FILE | Generate a report from a results file |
tools | List the available tools |
We can help you deploy and customize this tool for your specific needs, or build custom solutions.
Contact Us