A utility for arming (creating) many bees (micro EC2 in stances) to attack (load test) targets (web applications).
Required:
- boto
- fabric
- paramiko
Recommended:
- virtualenv
- virtualenvwrapper
% cd beeswithmachineguns % mkvirtualenv --no-site-packages bees % easy_install pip % pip install -r requirements.txt
fab -f bees.py up:5,staging,us-east-1d fab -f bees.py attack:http://YOUR-DOMAIN.com/,1000,100 fab -f bees.py down
The AMI to clone and SSH key to use are currently hard-coded into the up() function, expect this to be fixed shortly. In the meantime, its open-source, fork it!
- Python 2.6
A creation of the News Applications team at the Chicago Tribune—visit our blog and read our post about the project
Initial refactoring code and inspiration from Jeff Larson
MIT.