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 (
commit bb09eb6c87c81d8c805d7da246215cf6f88da56e
tree 1482c3e2be67a376ee1ccb7d03ded468837067d9
parent d800df85a5cdc6cbcbc636b7b5406ce19cc5f6cd
tree 1482c3e2be67a376ee1ccb7d03ded468837067d9
parent d800df85a5cdc6cbcbc636b7b5406ce19cc5f6cd
ec2-cap /
README
Manages EC2 nodes with Capistrano, iClassify and Puppet.
Requires:
capistrano 2+
right_aws (gem install right_aws)
Configure:
First, populate the config/ec2.rb file with your EC2 info, iClassify URI, and the location of your puppet server.
Update the ec2/simple.rb with an Ubuntu AMI, pre-configured with:
1. An authentication scheme that matches your puppet master (users with matching passwords)
2. icagent, facter and puppet
I started with the Ubuntu Hardy AMIs.
Use:
Create new EC2 instances:
cap -S host_type=simple create
cap -S host_type=simple -S number=10 # launch 10 instances
Terminate EC2 instances:
cap QUERY="ec2:true" terminate # kill all ec2 nodes in iClassify
cap QUERY="tag:monkey" terminate # kill all the monkey servers
Describe running instances:
cap describe_instances








