Created
February 27, 2014 22:41
-
-
Save andrewgross/9261189 to your computer and use it in GitHub Desktop.
Suble AWS API Trolling
This file contains 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
# 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