Skip to content

Instantly share code, notes, and snippets.

@davidsantiago
Created April 27, 2011 16:09
Show Gist options
  • Select an option

  • Save davidsantiago/944552 to your computer and use it in GitHub Desktop.

Select an option

Save davidsantiago/944552 to your computer and use it in GitHub Desktop.
David-Santiagos-Computer:servlet David$ cake repl @production
user=> (pallet.environment/environment (pallet.compute/compute-service-from-config-file :aws))
{:groups {:main {:image {:os-family :ubuntu, :os-description-matches "10.10", :hardware-id "m1.small", :image-id "us-east-1/ami-1a837773", :inbound-ports [22 80 443]}}, :stage {:image {:hardware-id "m1.small", :image-id "us-east-1/ami-a6f504cf", :inbound-ports [22 80 443]}}}}
David-Santiagos-Computer:servlet David$ cake pallet converge com.battletheory.deploy.nodes/stage 1 @production -- -P aws
;; Meanwhile, in the log...
INFO core - retrieving nodes
INFO core - converging nodes
INFO core - adjust-node-count :stage 1
INFO core - Starting 1 nodes for :stage os-family
INFO jclouds - Default OS is :amzn-linux
INFO jclouds - building node template for :stage
INFO jclouds - authorizing /Users/David/.ssh/id_rsa.pub
INFO jclouds - options {}
WARN compute - to avoid creating temporary keys in aws-ec2, use templateOption overrideLoginCredentialWith(id_rsa)
WARN compute - to avoid creating temporary keys in aws-ec2, use templateOption overrideLoginCredentialWith(id_rsa)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment