Skip to content

Instantly share code, notes, and snippets.

@fairchild
Forked from yannlugrin/gist:118660
Created May 27, 2009 15:52
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/118706 to your computer and use it in GitHub Desktop.
Save fairchild/118706 to your computer and use it in GitHub Desktop.
cloud-start -s config/clouds.rb
Starting cloud app (/home/yann/.ec2/testpoolparty)
0 running instances (1 - 1)
/usr/lib/ruby/gems/1.8/gems/grempe-amazon-ec2-0.3.8/lib/EC2.rb:261:in `ec2_error?': The key pair 'testpoolparty' does not exist (EC2::InvalidKeyPairNotFound)
from /usr/lib/ruby/gems/1.8/gems/grempe-amazon-ec2-0.3.8/lib/EC2.rb:199:in `make_request'
from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
from /usr/lib/ruby/gems/1.8/gems/grempe-amazon-ec2-0.3.8/lib/EC2.rb:173:in `make_request'
from /usr/lib/ruby/gems/1.8/gems/grempe-amazon-ec2-0.3.8/lib/EC2.rb:224:in `response_generator'
from /usr/lib/ruby/gems/1.8/gems/grempe-amazon-ec2-0.3.8/lib/EC2/instances.rb:108:in `run_instances'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/poolparty/net/remoter_bases/ec2/ec2.rb:74:in `launch_new_instance!'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/poolparty/net/remoter_base.rb:120:in `launch_instance!'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/poolparty/poolparty/cloud.rb:80:in `send'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/poolparty/poolparty/cloud.rb:80:in `method_missing'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/cloud-start:25:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/cloud-start:19:in `each'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/cloud-start:19:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/../vendor/gems/git-style-binaries/lib/git-style-binary/command.rb:114:in `call'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/../vendor/gems/git-style-binaries/lib/git-style-binary/command.rb:114:in `call_parser_run_block'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/../vendor/gems/git-style-binaries/lib/git-style-binary/command.rb:74:in `run'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/../vendor/gems/git-style-binaries/lib/git-style-binary/autorunner.rb:16:in `run'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/../vendor/gems/git-style-binaries/lib/git-style-binary/autorunner.rb:8:in `run'
from /usr/lib/ruby/gems/1.8/gems/auser-poolparty-1.2.8/bin/../lib/../vendor/gems/git-style-binaries/lib/git-style-binary.rb:71
from /usr/bin/cloud-start:19
pool :app do
cloud :app do
instances 1
keypair "testpoolparty"
using :ec2 do
image_id "ami-48cfe73c"
availability_zone "eu-west-1a"
end
has_file '/var/www/index.html', :content => 'Hello World'
end
end
ec2-describe-keypairs -K ~/.ec2/mnemis/pk-XXX.pem -C ~/.ec2/mnemis/cert-XXX.pem --region "eu-west-1"
KEYPAIR mykey 05:fd:39:a6:18:ce:cf:6e:01:11:93:b0:5e:a5:ae:d6:39:dd:f8:1f
KEYPAIR testpoolparty 71:a3:51:8e:73:5f:d4:25:9f:43:15:01:ce:7b:44:ef:ae:01:de:bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment