Set up a load testing server on EC2

Here are some quick instructions for getting an EC2 server up and running that you can test from. I like the ubuntu AMIs from Alestic. You can use whatever OS or instance-type you like, but be aware of EC2 throughput limitations.

1) Launch an instance

ec2-run-instances  -t c1.medium -n 1 -g default -k default --user-data-file load_testing_server.sh  ami-2d4aa444

2) Setup Autograph

  sudo apt-get install -y ruby rubygems httperf
  sudo gem install autograph
  sudo ln -s /var/lib/gems/1.8/bin/autograph /usr/bin/autograph
  autograph

3) Test!

  autograph --host example.com