You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c739fd
Browse filesBrowse the repository at this point in the historyBrowse files
Bees uses boto to communicate with EC2 and thus supports all the methods of vstoring credentials that it does. These include: declaring environment variables, machine-global configuration files, and per-user configuration files. You can read more about these options on "boto's configuration page":http://code.google.com/p/boto/wiki/BotoConfig
36
+
29
37
h2. Usage
30
38
39
+
A type bees session looks something like this:
40
+
31
41
<pre>
32
-
fab -f bees.py up:5,staging,us-east-1d
33
-
fab -f bees.py attack:http://YOUR-DOMAIN.com/,1000,100
This spins up 4 servers in security group 'public' using the EC2 key 'frakkingtoasters', which is expected to reside in ~/.ssh/.
38
48
39
-
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!
49
+
It then uses those 4 servers to send 10,000 requests, 250 at a time, to attack OurNewWebbyHotness.com.
40
50
41
-
h2. Tested with
51
+
Lastly, it spins down the 4 servers. Please remember to do this--we aren't responsible for your EC2 bills.
42
52
43
-
* Python 2.6
53
+
For complete options type:
54
+
55
+
<pre>
56
+
bees -h
57
+
</pre>
58
+
59
+
h2. Bugs
60
+
61
+
Please log your bugs on the "Github issues tracker":http://github.com/newsapps/beeswithmachineguns/issues
44
62
45
63
h2. Credits
46
64
47
-
A creation of the News Applications team at the Chicago Tribune--visit "our blog":http://apps.chicagotribune.com/ and read "our post about the project":http://blog.apps.chicagotribune.com/2010/07/%2008/bees-with-machine-guns/
65
+
The bees are a creation of the News Applications team at the Chicago Tribune--visit "our blog":http://apps.chicagotribune.com/ and read "our original post about the project":http://blog.apps.chicagotribune.com/2010/07/%2008/bees-with-machine-guns/
48
66
49
67
Initial refactoring code and inspiration from "Jeff Larson":http://github.com/thejefflarson
0 commit comments