Skip to content
kubicek edited this page Sep 13, 2010 · 3 revisions

Notes:

You need to have the `EC2_URL` environment variable set like so:

export EC2_URL="https://eu-west-1.ec2.amazonaws.com"

(This is a work-around for now. Will be improved in the future)

Put in the `availability_zone` and `image_id` (available in europe) in your clouds.rb:


pool :myapp do
  access_key "XXXXXXXXXX"
  secret_access_key "XXXXXXXXXXXXXXXXXXXXXXXXXX"

  cloud :app do
    instances 1..1

    keypair "testpoolparty"
    image_id "ami-48cfe73c"
    availability_zone "eu-west-1a"

    has_file '/var/www/index.html', :content => 'Hello World'
  end
end

Clone this wiki locally