The Rock version of beeswithmachineguns.
https://www.youtube.com/watch?v=I_izvAbhExY
- Python 2.7.9
- OpenSSL 1.0.1
- Apache Bench 2.4.4 (on EC2 instance)
- boto
- paramiko
This is a load testing application that spanws Amazon EC2 instances, clones down a mocha-casperjs test from a Github repo, and run the tests on all the servers. It will use an Amazon image that has node, norma, mocha-casperjs, and other dependencies necessary to run the test.
brew install pyenv CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.9 pyenv global 2.7.9 pip install boto paramiko
git clone https://github.com/NewSpring/beegeeswithmachineguns cd beegeeswithmachineguns ./beegees up -s NUMBER_OF_SERVERS -g SECURITY_GROUP -k AWS_KEY
ADD THE IP ADDRESSES TO ROCK IF YOU ROCK
To get all the ip addresses:
./beegees report
./beegees init ./beegees attack
To shut them down:
./beegees down
To use EC2 spot instances:
./beegees up -s NUMBER_OF_SERVERS -g SECURITY_GROUP -k AWS_KEY -b MAX_BID
and then wait a while.