| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 18:40:19 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20081015053005
location: https://web.archive.org/web/20081015053005/https://github.com/schacon/fuzec2/tree
server-timing: captures_list;dur=0.808778, exclusion.robots;dur=0.064984, exclusion.robots.policy;dur=0.047798, esindex;dur=0.014379, cdx.remote;dur=7.199916, LoadShardBlock;dur=140.142625, PetaboxLoader3.datanode;dur=69.907647, PetaboxLoader3.resolve;dur=34.371638
x-app-server: wwwb-app223-dc8
x-ts: 302
x-tr: 175
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app223; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Tue, 23 Dec 2025 18:40:19 GMT
content-type: text/html; charset=utf-8
content-length: 110
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Wed, 15 Oct 2008 05:30:04 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20081015053005/https://github.com/schacon/fuzec2/tree/master
x-archive-orig-x-runtime: 0.29164
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 110
cache-control: max-age=1800
memento-datetime: Wed, 15 Oct 2008 05:30:05 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_6_20081015024459_crawl107-c/52_6_20081015053005_crawl103.arc.gz
server-timing: captures_list;dur=0.552119, exclusion.robots;dur=0.016558, exclusion.robots.policy;dur=0.007819, esindex;dur=0.010330, cdx.remote;dur=25.658750, LoadShardBlock;dur=215.091041, PetaboxLoader3.resolve;dur=201.113252, PetaboxLoader3.datanode;dur=182.562146, load_resource;dur=239.833830
x-app-server: wwwb-app223-dc8
x-ts: 301
x-tr: 505
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 18:40:20 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Wed, 15 Oct 2008 05:30:05 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 0.40643
x-archive-orig-etag: "d27f293e92050ff0d9662d782984e5cc"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 16537
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 15 Oct 2008 05:30:05 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_6_20081015024459_crawl107-c/52_6_20081015053005_crawl103.arc.gz
server-timing: captures_list;dur=0.532676, exclusion.robots;dur=0.019850, exclusion.robots.policy;dur=0.009533, esindex;dur=0.011236, cdx.remote;dur=13.392819, LoadShardBlock;dur=288.008728, PetaboxLoader3.datanode;dur=90.736338, PetaboxLoader3.resolve;dur=127.613972, load_resource;dur=110.246385
x-app-server: wwwb-app223-dc8
x-ts: 200
x-tr: 469
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
schacon's fuzec2 at master — GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Description: | fuzed ec2 helper script |
| Clone URL: |
git://github.com/schacon/fuzec2.git
Give this clone URL to anyone.
git clone git://github.com/schacon/fuzec2.git
|
fuzec2 /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Jun 05 16:20:16 -0700 2008 | updated the lib to restart haproxy [schacon] |
| |
README | Thu Jun 05 16:53:15 -0700 2008 | added README [schacon] |
| |
fuze.example | Thu Jun 05 16:53:15 -0700 2008 | added README [schacon] |
| |
lib/ | Thu Jun 05 18:02:22 -0700 2008 | added a loop [schacon] |
README
FuzEc2 is a dumb helper script to automate all the stuff I was doing
manually for testing stacks of EC2 instances running a webapp on Fuzed.
Usage is thus:
$ cp fuze.example fuze
$ vim fuze (change all the configs)
$ ./fuze
This will list the things you can do with the script
$ ./fuze spin
This will show you all the instance types you can spin, eg:
available types:
INST TYPE RAM(GB) CU DISK ARCH COST/H
m1.small 1.7 1 160 32 0.1
m1.large 7.5 4 850 64 0.4
m1.xlarge 15.0 8 1690 64 0.8
c1.medium 1.7 5 350 32 0.2
c1.xlarge 7.0 20 1690 64 0.8
Then you can start spinning instances via:
$ ./fuze spin m1.small
To see which instances you have running, type:
$ ./fuze list
i-213ff448 domU-12-31-39-00-C0-02 ec2-75-101-131-181.compute-1.amazonaws.com m1.small running
i-1839f271 domU-12-31-39-00-5D-C6 ec2-67-202-36-240.compute-1.amazonaws.com m1.small running
i-a633f8cf domU-12-31-39-00-5D-87 ec2-75-101-225-2.compute-1.amazonaws.com m1.small running
i-b839f2d1 domU-12-31-39-00-E8-C3 ec2-75-101-131-128.compute-1.amazonaws.com m1.small running
i-5732f93e domU-12-31-39-00-8D-91 ec2-75-101-205-249.compute-1.amazonaws.com c1.xlarge running
i-0b33f862 domU-12-31-39-00-8D-71 ec2-75-101-200-57.compute-1.amazonaws.com c1.xlarge running
i-c833f8a1 domU-12-31-39-00-95-11 ec2-75-101-213-58.compute-1.amazonaws.com c1.xlarge running
i-163cf77f domU-12-31-39-00-22-21 ec2-67-202-40-157.compute-1.amazonaws.com m1.xlarge running
i-3b3df652 domU-12-31-39-00-C0-B7 ec2-75-101-254-200.compute-1.amazonaws.com m1.small running
To make those instances into certain Fuzed node types, do thusly:
$ ./fuze attach_master i-b839f2d1 # creates a master node - do this first
$ ./fuze attach_faceplate i-1839f271 # creates a faceplate
$ ./fuze attach_frontend i-213ff448 # creates an haproxy node - do this after you add faceplates
$ ./fuze attach_rails i-5732f93e # creates a rails node
Then you'll probably want to assign your frontend a static IP:
$ ec2-allocate-address # to get a static IP if you don't have one
$ ec2-associate-address YOUR.NEW.IP.ADDY -i i-213ff448 # assign your static IP to your haproxy node
To add more rails backend nodes, just do:
$ ./fuze spin c1.xlarge # wait a minute for it to spin
$ ./fuze list # grab the new i-xxxxxx instance id
$ ./fuze attach_rails i-xxxxxx
That's it - your capacity goes up. For faceplates, you do this:
$ ./fuze spin m1.small # wait a minute for it to spin
$ ./fuze list # grab the new i-xxxxxx instance id
$ ./fuze attach_faceplate i-xxxxxx
$ ./fuze attach_frontend i-213ff448 # re-run this to make haproxy rewrite and restart
You can see the stats on your haproxy node by visiting here:
https://your-frontend-address/haproxy?stats
And then enter the username/password you put in your config file to get access.
Here is an example of one big-ass cluster:
$ ./fuze list
frontend i-213ff448 domU-12-31-39-00-C0-02 ec2-75-101-131-181.compute-1.amazonaws.com m1.small running
faceplate i-1839f271 domU-12-31-39-00-5D-C6 ec2-67-202-36-240.compute-1.amazonaws.com m1.small running
faceplate i-a633f8cf domU-12-31-39-00-5D-87 ec2-75-101-225-2.compute-1.amazonaws.com m1.small running
faceplate i-4a33f823 domU-12-31-39-00-5D-D4 ec2-67-202-52-242.compute-1.amazonaws.com m1.small running
master i-b839f2d1 domU-12-31-39-00-E8-C3 ec2-75-101-131-128.compute-1.amazonaws.com m1.small running
rails i-5732f93e domU-12-31-39-00-8D-91 ec2-75-101-205-249.compute-1.amazonaws.com c1.xlarge running
rails i-0b33f862 domU-12-31-39-00-8D-71 ec2-75-101-200-57.compute-1.amazonaws.com c1.xlarge running
rails i-c833f8a1 domU-12-31-39-00-95-11 ec2-75-101-213-58.compute-1.amazonaws.com c1.xlarge running
rails i-4f33f826 domU-12-31-39-00-90-21 ec2-75-101-199-42.compute-1.amazonaws.com c1.xlarge running
rails i-0933f860 domU-12-31-39-00-8D-B1 ec2-75-101-206-32.compute-1.amazonaws.com c1.xlarge running
rails i-cd33f8a4 domU-12-31-39-00-91-61 ec2-75-101-205-227.compute-1.amazonaws.com c1.xlarge running
rails i-3633f85f domU-12-31-39-00-8C-71 ec2-75-101-195-69.compute-1.amazonaws.com c1.xlarge running
rails i-163cf77f domU-12-31-39-00-22-21 ec2-67-202-40-157.compute-1.amazonaws.com m1.xlarge running
rails i-3b3df652 domU-12-31-39-00-C0-B7 ec2-75-101-254-200.compute-1.amazonaws.com m1.small running
Watch out, though - that particular cluster costs about $6.40/hour to run
- thats $150 a day, so don't forget about it. It's unlikely you'll need it,
even with really crappy Rails apps, that should process a freak-load of requests
per second, it represents about 350 Rails handlers and something like 60 cores.
This feature is coming soon. Sit tight!




