Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

NewSpring/ops-beegeeswithmachineguns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BeeGees with Machine Guns!

The Rock version of beeswithmachineguns.

https://www.youtube.com/watch?v=I_izvAbhExY

Dependencies

  • Python 2.7.9
  • OpenSSL 1.0.1
  • Apache Bench 2.4.4 (on EC2 instance)
  • boto
  • paramiko

About

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.

Configure Environment

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

Running

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

Spot Instances

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.