github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

adamhjk / ec2-cap

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 26
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

EC2, iClassify, Puppet and Capistrano sitting in a tree... — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fixing icagent recipe copy 
adamhjk (author)
Fri Sep 05 15:19:21 -0700 2008
commit  e140404ca9e9fd9904666ec0628fc49ad4a5767e
tree    2456804a427a98b7c98a669da4176d5e82ebe3c3
parent  bb09eb6c87c81d8c805d7da246215cf6f88da56e
ec2-cap /
name age
history
message
file Capfile Fri Sep 05 15:13:20 -0700 2008 Adding a capfile, finishing readme [adamhjk]
file LICENSE Fri Sep 05 15:07:01 -0700 2008 Initial commit [adamhjk]
file README Fri Sep 05 15:19:21 -0700 2008 Fixing icagent recipe copy [adamhjk]
directory bootstrap/ Fri Sep 05 15:07:01 -0700 2008 Initial commit [adamhjk]
directory config/ Fri Sep 05 15:07:01 -0700 2008 Initial commit [adamhjk]
directory icagent/ Fri Sep 05 15:19:21 -0700 2008 Fixing icagent recipe copy [adamhjk]
directory lib/ Fri Sep 05 15:19:21 -0700 2008 Fixing icagent recipe copy [adamhjk]
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.
  
  Make sure you populate the icagent directory of this checkout to contain your particular
  icagent recipes - they will be copied to the AMI at creation.
  
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
    

    
  
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server