Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1021 Bytes

README.textile

File metadata and controls

51 lines (32 loc) · 1021 Bytes

Bees with Machine Guns!

Description

A utility for arming (creating) many bees (micro EC2 in stances) to attack (load test) targets (web applications).

Dependencies

Required:

  • boto
  • fabric
  • paramiko

Recommended:

  • virtualenv
  • virtualenvwrapper

Installation w/ virtualenvwrapper

% cd beeswithmachineguns
% mkvirtualenv --no-site-packages bees
% easy_install pip
% pip install -r requirements.txt

Usage

fab -f bees.py up:5
fab -f bees.py attack:http://YOUR-DOMAIN.com/,1000,100
fab -f bees.py down

Quirks

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!

Tested with

  • Python 2.6

Credits

A creation of the News Applications team at the Chicago Tribune—visit our blog and read our post about the project

License

MIT.