public
Description: A Capistrano extension for managing and running your app on Amazon EC2.
Homepage:
Clone URL: git://github.com/jnewland/capsize.git
name age message
file .gitignore Thu Apr 10 05:38:25 -0700 2008 ignore pkg directory [Jesse Newland]
file History.txt Mon Aug 25 01:18:42 -0700 2008 bump gem version again -- a failing setup task ... [ches]
file License.txt Sat Apr 12 05:38:45 -0700 2008 ensure I'm credited as being an author of this ... [Jesse Newland]
file Manifest.txt Mon Aug 25 01:18:42 -0700 2008 bump gem version again -- a failing setup task ... [ches]
file README.textile Sun Aug 24 20:58:45 -0700 2008 correct setup task in the README and remove out... [ches]
file Rakefile Thu Apr 10 05:04:13 -0700 2008 put everything at the top-level [Jesse Newland]
file capsize.gemspec Mon Aug 25 01:18:42 -0700 2008 bump gem version again -- a failing setup task ... [ches]
directory config/ Mon Aug 25 01:18:42 -0700 2008 bump gem version again -- a failing setup task ... [ches]
directory examples/ Sun Aug 24 21:36:32 -0700 2008 fix setup task (via create_keypair) and make de... [ches]
directory lib/ Wed Jun 03 04:55:28 -0700 2009 Fix bug where an instance may not be recognized... [ches]
directory script/ Thu Apr 10 05:04:13 -0700 2008 put everything at the top-level [Jesse Newland]
file setup.rb Thu Apr 10 05:04:13 -0700 2008 put everything at the top-level [Jesse Newland]
directory tasks/ Thu Apr 10 05:04:13 -0700 2008 put everything at the top-level [Jesse Newland]
directory test/ Thu Apr 10 05:04:13 -0700 2008 put everything at the top-level [Jesse Newland]
directory website/ Sat Apr 12 06:00:39 -0700 2008 changes to the website template [Jesse Newland]
README.textile

Capsize

Capsize provides Capistrano tasks to manage Amazon EC2.

This project is in no way endorsed, sponsored by, or associated with Amazon, Amazon.com, or Amazon Web Services.

Installation

  • gem install jnewland-capsize -s http://gems.github.com
  • Edit your your config/deploy.rb:

# #################################################################
# CAPSIZE EC2 GEM
# #################################################################

# Include the Capsize EC2 'cap' tasks
# WARNING : This must be placed in your deploy.rb file anywhere
# AFTER the line where you set your application name!  Looks like:
#   set :application, "foobar".
# The application name is used by Capsize and the order matters.
require 'capsize'

# Use this to overwrite the standard capsize config dir locations
#set :capsize_config_dir, 'config/capsize'
#set :capsize_secure_config_dir, 'config/capsize'

# Use these to overwrite the actual config file names stored in the config dirs.
#set :capsize_config_file_name, 'capsize.yml'
#set :capsize_secure_config_file_name, 'secure.yml'

  • Run cap ec2:setup
  • Read the task’s output for example usage.

Tasks

Run cap -e on any task to get more details

  • cap ec2:console:output
  • cap ec2:addresses:allocate
  • cap ec2:addresses:associate
  • cap ec2:addresses:disassociate
  • cap ec2:addresses:release
  • cap ec2:addresses:show
  • cap ec2:images:show
  • cap ec2:instances:reboot
  • cap ec2:instances:run
  • cap ec2:instances:show
  • cap ec2:instances:ssh
  • cap ec2:instances:terminate
  • cap ec2:keypairs:create
  • cap ec2:keypairs:delete
  • cap ec2:keypairs:show
  • cap ec2:security_groups:authorize_ingress
  • cap ec2:security_groups:create
  • cap ec2:security_groups:create_with_standard_ports
  • cap ec2:security_groups:delete
  • cap ec2:security_groups:revoke_ingress
  • cap ec2:security_groups:show
  • cap ec2:setup
  • cap ec2:setup:check

Notes:

  • All tasks optionally take environment variables in lieu of capistrano configuration variables.

Contributing

Source is on GitHub. You know what to do.

Authors

Copyright

© 2007-2008 Jesse Newland, Glenn Rempe

Distributes under the same terms as Ruby