Skip to content

Instantly share code, notes, and snippets.

@andrewgross
Created February 27, 2014 22:41
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 andrewgross/9261189 to your computer and use it in GitHub Desktop.
Save andrewgross/9261189 to your computer and use it in GitHub Desktop.
Suble AWS API Trolling
# Describe Launch Config formatting
<BlockDeviceMappings>
<member>
<DeviceName>/dev/xvdp</DeviceName>
<Ebs>
<SnapshotId>snap-1234abcd</SnapshotId>
<Iops>1000</Iops>
<DeleteOnTermination>true</DeleteOnTermination>
<VolumeType>io1</VolumeType>
<VolumeSize>100</VolumeSize>
</Ebs>
</member>
<member>
<VirtualName>ephemeral1</VirtualName>
<DeviceName>/dev/xvdc</DeviceName>
</member>
<member>
<VirtualName>ephemeral0</VirtualName>
<DeviceName>/dev/xvdb</DeviceName>
</member>
<member>
<DeviceName>/dev/xvdh</DeviceName>
<Ebs>
<Iops>2000</Iops>
<DeleteOnTermination>false</DeleteOnTermination>
<VolumeType>io1</VolumeType>
<VolumeSize>200</VolumeSize>
</Ebs>
</member>
</BlockDeviceMappings>
# AWS Instance API Call Formatting
<blockDeviceMapping>
<item>
<deviceName>/dev/sda1</deviceName>
<ebs>
<volumeId>vol-id</volumeId>
<status>attached</status>
<attachTime>2012-12-14T23:48:43.000Z</attachTime>
<deleteOnTermination>true</deleteOnTermination>
</ebs>
</item>
</blockDeviceMapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment