Skip to content

Instantly share code, notes, and snippets.

@fairchild
Forked from bobbywilson0/gist:121653
Created June 1, 2009 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fairchild/121671 to your computer and use it in GitHub Desktop.
Save fairchild/121671 to your computer and use it in GitHub Desktop.
require 'rubygems'
$:.unshift "#{File.dirname(__FILE__)}/../lib"
require "poolparty"
pool :ap do
instances 1
access_key "XXXXXX"
secret_access_key "XXXXXXX"
cloud :app_stack do
using :ec2
security_group 'web'
availability_zone 'us-east-1a'
keypair 'keypair'
image_id "ami-ef48af86"
verify do
ping
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment