capsize /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Apr 10 05:38:25 -0700 2008 | [jnewland] |
| |
History.txt | Thu Apr 10 05:04:13 -0700 2008 | [jnewland] |
| |
License.txt | Sat Apr 12 05:38:45 -0700 2008 | [jnewland] |
| |
Manifest.txt | Thu Apr 10 06:41:36 -0700 2008 | [jnewland] |
| |
README.txt | Sat Apr 12 06:00:20 -0700 2008 | [jnewland] |
| |
Rakefile | Thu Apr 10 05:04:13 -0700 2008 | [jnewland] |
| |
config/ | Sat Apr 12 05:38:45 -0700 2008 | [jnewland] |
| |
examples/ | Thu Apr 10 06:41:53 -0700 2008 | [jnewland] |
| |
lib/ | Wed Apr 16 03:02:29 -0700 2008 | [jnewland] |
| |
script/ | Thu Apr 10 05:04:13 -0700 2008 | [jnewland] |
| |
setup.rb | Thu Apr 10 05:04:13 -0700 2008 | [jnewland] |
| |
tasks/ | Thu Apr 10 05:04:13 -0700 2008 | [jnewland] |
| |
test/ | Thu Apr 10 05:04:13 -0700 2008 | [jnewland] |
| |
website/ | Sat Apr 12 06:00:39 -0700 2008 | [jnewland] |
README.txt
= Capsize Capsize provides Capistrano tasks to manage Amazon EC2. Capsize depends on the following gems being installed: Capistrano 2.0 [ http://www.capify.org ] >= 1.99.0 Amazon EC2 [ http://amazon-ec2.rubyforge.org/ ] >= 0.2.0 This project is in no way endorsed, sponsored by, or associated with Amazon, Amazon.com, or Amazon Web Services. == Installation * <tt>gem install capsize</tt> * Edit your your <tt>config/deploy.rb</tt>: <tt> # ################################################################# # 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' </tt> * Run <tt>cap deploy:setup</tt> * Paste the generated config into config/deploy.rb == Tasks ===== Notes: * <em>All tasks <b>require</b> aws_access_key_id and aws_secret_access_key.</em> * <em>All tasks optionally take environment variables in lieu of capistrano configuration variables.</em> [ec2:create_keypair] Create a keypair aws_keypair_name and write out the generate private key to aws_private_key_path. [ec2:delete_keypair] Deletes keypair aws_keypair_name. [ec2:describe_keypairs] Describes keypairs. [ec2:describe_images] Describes AMIs you have privilege to execute. [ec2:run_instance] Runs an instance of aws_ami_id with access available via aws_keypair_name. [ec2:terminate_instance] Terminates aws_instance_id. [ec2:describe_instances] Describes running AMIs. [ec2:authorize_web_and_ssh_access] Opens tcp access on port 80 and 22 to the aws_security_group. == Meta Rubyforge Project Page:: http://rubyforge.org/projects/capsize Author:: Glenn Rempe (grempe@rubyforge.org[mailto:grempe@rubyforge.org]) Author:: Jesse Newland (http://soylentfoo.jnewland.com) (jnewland@gmail.com[mailto:jnewland@gmail.com]) Copyright:: Copyright (c) 2007-2008 Jesse Newland, Glenn Rempe License:: Distributes under the same terms as Ruby




