Created
September 30, 2010 16:13
-
-
Save lance/604843 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jruby-1.5.2 > i = Instance.find 7 | |
| #<Instance:0x4ee77cbd> { | |
| :id => 7, | |
| :environment_id => 1, | |
| :image_id => 5, | |
| :name => "JBoss #1", | |
| :cloud_id => "i-7fbfaa15", | |
| :hardware_profile => "m1.small", | |
| :current_state => "running", | |
| :public_dns => "ec2-174-129-189-68.compute-1.amazonaws.com", | |
| :created_at => Thu, 30 Sep 2010 14:38:46 UTC +00:00, | |
| :updated_at => Thu, 30 Sep 2010 15:45:39 UTC +00:00, | |
| :started_at => Thu, 30 Sep 2010 14:38:46 UTC +00:00, | |
| :started_by => 1, | |
| :stopped_at => nil, | |
| :stopped_by => nil, | |
| :state_change_timestamp => Thu, 30 Sep 2010 15:45:39 UTC +00:00 | |
| } | |
| jruby-1.5.2 > i.cloud.cloud_username | |
| "THIS IS THE CORRECT USERNAME FOR AMAZON" | |
| jruby-1.5.2 > i.cloud.cloud_password | |
| "THIS IS THE CORRECT SECRET KEY FOR AMAZON" | |
| jruby-1.5.2 > i.cloud.client.instance(i.cloud_id) | |
| #<DeltaCloud::API::Instance:0x2452a793> | |
| jruby-1.5.2 > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment