Skip to content

Instantly share code, notes, and snippets.

@jedi4ever
Created April 6, 2011 19:02
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 jedi4ever/906286 to your computer and use it in GitHub Desktop.
Save jedi4ever/906286 to your computer and use it in GitHub Desktop.
AMI key/value attributes - Ubuntu
>> AWS.images.get("ami-cef405a7")
<Fog::AWS::Compute::Image
id="ami-cef405a7",
architecture="x86_64",
block_device_mapping=[{"snapshotId"=>"snap-e3f1218e", "deviceName"=>"/dev/sda1", "deleteOnTermination"=>"true", "volumeSize"=>8}],
description=nil,
location="099720109477/ebs/ubuntu-images/ubuntu-maverick-10.10-amd64-server-20101225",
owner_id="099720109477",
state="available",
type="machine",
is_public=true,
kernel_id="aki-427d952b",
platform=nil,
product_codes=[],
ramdisk_id=nil,
root_device_type="ebs",
root_device_name="/dev/sda1",
tags={},
name="ebs/ubuntu-images/ubuntu-maverick-10.10-amd64-server-20101225"
>
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment