+ * This implementation is designed to perform the following steps: + *
+ * This implementation is designed to perform the following steps: + *
+ * This implementation is designed to perform the following steps: + *
This example terminates the i-3ea74257
instance.
https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams
This example describes the current state of the instances owned by this user.
https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams
This example launches three instances of the ami-60a54009
AMI.
https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams
This example reboots an instance.
https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams
This example deregisters the ami-4fa54026
AMI.
https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams
This example makes this a public AMI and grants specific permissions to a user.
https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams
This example lists the launch permissions for the ami-61a54008 AMI
https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams
This example describes the ami-be3adfd7 AMI.
https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams
This example enables monitoring for i-43a4412a and i-23a3397d.
https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
This example disables monitoring for i-43a4412a and i-23a3397d.
https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
This example returns information about two security groups that are configured for the account.
https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams
This example grants TCP port 80 access from the 205.192.0.0/16 address range to the websrv
security group.
https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress&GroupName=websrv\n&IpProtocol=tcp\n&FromPort=80\n&ToPort=80\n&CidrIp=205.192.0.0/16\n&AuthParams
This example creates the websrv
security group.
https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams
This example deletes the websrv
security group.
https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams
This example revokes TCP port 80 access from the 205.192.0.0/16 address range for the websrv
security group.
https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams
This example resets the launchPermission
attribute.
https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams
This example registers the AMI specified in the image.manifest.xml
manifest file.
https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams
This example displays information about Availability Zones that are available to the account.
https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.1=us-east-1c&AuthParams
This example displays regions that are available to the account.
https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams
This example cancels the bun-cla322b9
bundle task.
https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams
This example describes the status of the bun-57a5403e
bundle task.
https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams
This example bundles the i-e468cd8d
instance.
https://ec2.amazonaws.com/?Action=BundleInstance&InstanceId=-i-e468cd8d\n&Storage.S3.AWSAccessKeyId=10QMXFEV71ZS32XQFTR2\n&Storage.S3.Bucket=my-bucket\n&Storage.S3.Prefix=winami\n&Storage.S3.UploadPolicy=eyJleHBpcmF0aW9uIjogIjIwMDgtMDgtMzBUMDg6NDk6MDlaIiwiY29uZGl0aW9ucyI6IFt7ImJ1Y2tldCI6ICJteS1idWNrZXQifSxbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAibXktbmV3LWltYWdlIl1dfQ%3D%3D\n&Storage.S3.UploadPolicySignature=w6BZu2oxGsiiLZnoBmQSErotuMA%3D\n&AuthParams
This example describes the confirms the product code is associated with the instance.
https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams
This example retrieves the console output for the i-10a64379
Linux and UNIX instance.
https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams
This example describes Reserved Instances owned by the account.
https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams
This example describes available Reserved Instance offerings.
https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams
This example purchases Reserved Instances.
https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams
This example describes the state of the gsg-keypair
key.
https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams
This example creates a key pair named gsg-keypair.
https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams
This example deletes the gsg-keypair
key pair.
https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams
This example returns an elastic IP address for use with the account.
https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams
This example disassociates the 67.202.55.255
IP address from the instance to which it is assigned.
https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams
This example releases an elastic IP address associated with the account.
https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams
This example associates an IP address with an instance.
https://ec2.amazonaws.com/?Action=AssociateAddress\n\t\t\t\t\t\t&InstanceId=i-2ea64347\n\t\t\t\t\t\t&PublicIp=67.202.55.255\n\t\t\t\t\t\t&AuthParams
This example describes elastic IP addresses assigned to the account. Amazon EC2 returns 67.202.55.255 which is assigned to instance i-f15ebb98 and 67.202.55.233 which is not assigned to an instance.
https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams
This example deletes volume vol-4282672b
.
https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams
This example describes snapshot snap-78a54011
.
https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams
This example describes all volumes associated with your account.
https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams
This example detaches volume vol-4d826724
.
https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams
This example attaches volume vol-4d826724
to instance i-6058a509
and exposes it as /dev/sdh
. For information on standard storage locations, go to the Amazon Elastic Compute Cloud Developer Guide.
https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams
This example creates a snapshot of volume vol-4d826724
.
https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams
This example creates a new 800 GiB volume in Availability Zone us-east-1a
.
https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams
This example deletes snapshot snap-78a54011
.
https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams
<DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</DeleteKeyPairResponse>
<AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</AuthorizeSecurityGroupIngressResponse>
<DescribeReservedInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <reservedInstancesSet>\n <item>\n <reservedInstancesId>4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8</reservedInstancesId>\n <instanceType>m1.small</instanceType>\n <availabilityZone>us-east-1a</availabilityZone>\n <duration>12</duration>\n <usagePrice>0.00</usagePrice>\n <fixedPrice>0.00</fixedPrice>\n <instanceCount>19</instanceCount>\n <productDescription>m1.small offering in us-east-1a</productDescription>\n <state>Active</state>\n </item>\n </reservedInstancesSet>\n\t\t\t\t\t\t</DescribeReservedInstancesResponse>
<DescribeReservedInstancesOfferingsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <reservedInstancesOfferingsSet>\n <item>\n <reservedInstancesOfferingId>4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8</reservedInstancesOfferingId>\n <instanceType>m1.small</instanceType>\n <availabilityZone>us-east-1a</availabilityZone>\n <duration>12</duration>\n <fixedPrice>0.00</fixedPrice>\n <usagePrice>0.00</usagePrice>\n <productDescription>m1.small offering in us-east-1a</productDescription>\n </item>\n </reservedInstancesOfferingsSet>\n\t\t\t\t\t\t</DescribeReservedInstancesOfferingsResponse>
<ResetImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</ResetImageAttributeResponse>
<RevokeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</RevokeSecurityGroupIngressResponse>
<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</RebootInstancesResponse>
<CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</CreateSecurityGroupResponse>
<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</ReleaseAddressResponse>
<DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <snapshotSet>\n <item>\n <snapshotId>snap-78a54011</snapshotId>\n <volumeId>vol-4d826724</volumeId>\n <status>pending</status>\n <startTime>2008-05-07T12:51:50.000Z</startTime>\n <progress>80%</progress>\n </item>\n </snapshotSet>\n</DescribeSnapshotsResponse>
<BundleInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <requestId>bun-c1a540a8</requestId>\n <bundleInstanceTask>\n <instanceId>i-12345678</instanceId>\n <bundleId>bun-c1a540a8</bundleId>\n <state>bundling</state>\n <startTime>2008-10-07T11:41:50.000Z</startTime>\n <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n <progress>70%</progress>\n <storage>\n <S3>\n <bucket>my-bucket</bucket>\n <prefix>winami</prefix>\n </S3>\n </storage>\n </bundleInstanceTask>\n</BundleInstanceResponse>
<MonitorInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <instancesSet>\n <item>\n <instanceId>i-43a4412a</instanceId>\n <monitoring>\n <state>pending</state>\n </monitoring>\n </item>\n <item>\n <instanceId>i-23a3397d</instanceId>\n <monitoring>\n <state>pending</state>\n </monitoring>\n </item>\n </instancesSet>\n</MonitorInstancesResponse>
<DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <imagesSet>\n <item>\n <imageId>ami-be3adfd7</imageId>\n <imageLocation>ec2-public-images/fedora-8-i386-base-v1.04.manifest.xml\n </imageLocation>\n <imageState>available</imageState>\n <imageOwnerId>206029621532</imageOwnerId>\n <isPublic>false</isPublic>\n <architecture>i386</architecture>\n <imageType>machine</imageType>\n <kernelId>aki-4438dd2d</kernelId>\n <ramdiskId>ari-4538dd2c</ramdiskId>\n </item>\n </imagesSet>\n</DescribeImagesResponse>
<UnmonitorInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <instancesSet>\n\t <item>\n\t <instanceId> i-43a4412a</instanceId>\n\t <monitoring>\n\t <state>pending</state>\n\t </monitoring>\n\t </item>\n\t <item>\n\t <instanceId>i-23a3397d</instanceId>\n\t <monitoring>\n\t <state>pending</state>\n\t </monitoring>\n\t </item>\n </instancesSet>\n</UnmonitorInstancesResponse>
<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</DeleteSecurityGroupResponse>
0
\n 0
\n 0
\n <RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <reservationId>r-47a5402e</reservationId>\n <ownerId>AIDADH4IGTRXXKCD</ownerId>\n <groupSet>\n <item>\n <groupId>default</groupId>\n </item>\n </groupSet>\n <instancesSet>\n <item>\n <instanceId>i-2ba64342</instanceId>\n <imageId>ami-60a54009</imageId>\n <instanceState>\n <code>0</code>\n <name>pending</name>\n </instanceState>\n <privateDnsName></privateDnsName>\n <dnsName></dnsName>\n <keyName>example-key-name</keyName>\n <amiLaunchIndex>0</amiLaunchIndex>\n <instanceType>m1.small</instanceType>\n <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n <placement>\n <availabilityZone>us-east-1b</availabilityZone>\n </placement>\n <monitoring>\n <enabled>true</enabled>\n </monitoring>\n\n </item>\n <item>\n <instanceId>i-2bc64242</instanceId>\n <imageId>ami-60a54009</imageId>\n <instanceState>\n <code>0</code>\n <name>pending</name>\n </instanceState>\n <privateDnsName></privateDnsName>\n <dnsName></dnsName>\n <keyName>example-key-name</keyName>\n <amiLaunchIndex>1</amiLaunchIndex>\n <instanceType>m1.small</instanceType>\n <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n <placement>\n\t\t <availabilityZone>us-east-1b</availabilityZone>\n </placement>\n <monitoring>\n <enabled>true</enabled>\n </monitoring>\n </item>\n <item>\n <instanceId>i-2be64332</instanceId>\n <imageId>ami-60a54009</imageId>\n <instanceState>\n <code>0</code>\n <name>pending</name>\n </instanceState>\n <privateDnsName></privateDnsName>\n <dnsName></dnsName>\n <keyName>example-key-name</keyName>\n <amiLaunchIndex>2</amiLaunchIndex>\n <instanceType>m1.small</instanceType>\n <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n <placement>\n\t\t <availabilityZone>us-east-1b</availabilityZone>\n </placement>\n <monitoring>\n <enabled>true</enabled>\n </monitoring>\n </item>\n </instancesSet>\n</RunInstancesResponse>
0
\n 0
\n 0
\n <DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</DeregisterImageResponse>
32
\n 16
\n <TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <instancesSet>\n <item>\n <instanceId>i-3ea74257</instanceId>\n <shutdownState>\n <code>32</code>\n <name>shutting-down</name>\n </shutdownState>\n <previousState>\n <code>16</code>\n <name>running</name>\n </previousState>\n </item>\n </instancesSet>\n</TerminateInstancesResponse>
32
\n 16
\n <ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n <ownerId>254933287430</ownerId>\n</ConfirmProductInstanceResponse>
<CreateKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <keyName>gsg-keypair</keyName>\n <keyFingerprint>1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f</keyFingerprint>\n <keyMaterial>-----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQBuLFg5ujHrtm1jnutSuoO8Xe56LlT+HM8v/xkaa39EstM3/aFxTHgElQiJLChp\nHungXQ29VTc8rc1bW0lkdi23OH5eqkMHGhvEwqa0HWASUMll4o3o/IX+0f2UcPoKCOVUR+jx71Sg\n5AU52EQfanIn3ZQ8lFW7Edp5a3q4DhjGlUKToHVbicL5E+g45zfB95wIyywWZfeW/UUF3LpGZyq/\nebIUlq1qTbHkLbCC2r7RTn8vpQWp47BGVYGtGSBMpTRP5hnbzzuqj3itkiLHjU39S2sJCJ0TrJx5\ni8BygR4s3mHKBj8l+ePQxG1kGbF6R4yg6sECmXn17MRQVXODNHZbAgMBAAECggEAY1tsiUsIwDl5\n91CXirkYGuVfLyLflXenxfI50mDFms/mumTqloHO7tr0oriHDR5K7wMcY/YY5YkcXNo7mvUVD1pM\nZNUJs7rw9gZRTrf7LylaJ58kOcyajw8TsC4e4LPbFaHwS1d6K8rXh64o6WgW4SrsB6ICmr1kGQI7\n3wcfgt5ecIu4TZf0OE9IHjn+2eRlsrjBdeORi7KiUNC/pAG23I6MdDOFEQRcCSigCj+4/mciFUSA\nSWS4dMbrpb9FNSIcf9dcLxVM7/6KxgJNfZc9XWzUw77Jg8x92Zd0fVhHOux5IZC+UvSKWB4dyfcI\ntE8C3p9bbU9VGyY5vLCAiIb4qQKBgQDLiO24GXrIkswF32YtBBMuVgLGCwU9h9HlO9mKAc2m8Cm1\njUE5IpzRjTedc9I2qiIMUTwtgnw42auSCzbUeYMURPtDqyQ7p6AjMujp9EPemcSVOK9vXYL0Ptco\nxW9MC0dtV6iPkCN7gOqiZXPRKaFbWADp16p8UAIvS/a5XXk5jwKBgQCKkpHi2EISh1uRkhxljyWC\niDCiK6JBRsMvpLbc0v5dKwP5alo1fmdR5PJaV2qvZSj5CYNpMAy1/EDNTY5OSIJU+0KFmQbyhsbm\nrdLNLDL4+TcnT7c62/aH01ohYaf/VCbRhtLlBfqGoQc7+sAc8vmKkesnF7CqCEKDyF/dhrxYdQKB\ngC0iZzzNAapayz1+JcVTwwEid6j9JqNXbBc+Z2YwMi+T0Fv/P/hwkX/ypeOXnIUcw0Ih/YtGBVAC\nDQbsz7LcY1HqXiHKYNWNvXgwwO+oiChjxvEkSdsTTIfnK4VSCvU9BxDbQHjdiNDJbL6oar92UN7V\nrBYvChJZF7LvUH4YmVpHAoGAbZ2X7XvoeEO+uZ58/BGKOIGHByHBDiXtzMhdJr15HTYjxK7OgTZm\ngK+8zp4L9IbvLGDMJO8vft32XPEWuvI8twCzFH+CsWLQADZMZKSsBasOZ/h1FwhdMgCMcY+Qlzd4\nJZKjTSu3i7vhvx6RzdSedXEMNTZWN4qlIx3kR5aHcukCgYA9T+Zrvm1F0seQPbLknn7EqhXIjBaT\nP8TTvW/6bdPi23ExzxZn7KOdrfclYRph1LHMpAONv/x2xALIf91UB+v5ohy1oDoasL0gij1houRe\n2ERKKdwz0ZL9SWq6VTdhr/5G994CK72fy5WhyERbDjUIdHaK3M849JJuf8cSrvSb4g==\n-----END RSA PRIVATE KEY-----</keyMaterial>\n</CreateKeyPairResponse>
<RegisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <imageId>ami-61a54008</imageId>\n</RegisterImageResponse>
<DescribeVolumesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n<volumeSet>\n <item>\n <volumeId>vol-4282672b</volumeId>\n <size>800</size>\n <snapshotId/>\n <availabilityZone>us-east-1a</availabilityZone>\n <status>in-use</status>\n <createTime>2008-05-07T11:51:50.000Z</createTime>\n <attachmentSet>\n <item>\n <volumeId>vol-4282672b</volumeId>\n <instanceId>i-6058a509</instanceId>\n <device>/dev/sdh</device>\n <status>attached</status>\n <attachTime>2008-05-07T12:51:50.000Z</attachTime>\n </item>\n </attachmentSet>\n </item>\n</DescribeVolumesResponse>
<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</DeleteSnapshotResponse>
<DescribeAvailabilityZonesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <availabilityZoneInfo>\n <item>\n <zoneName>us-east-1a</zoneName>\n <zoneState>available</zoneState>\n </item>\n <item>\n <zoneName>us-east-1b</zoneName>\n <zoneState>available</zoneState>\n </item>\n <item>\n <zoneName>us-east-1c</zoneName>\n <zoneState>available</zoneState>\n </item>\n </availabilityZoneInfo>\n</DescribeAvailabilityZonesResponse>
<CreateVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <volumeId>vol-4d826724</volumeId>\n <size>800</size>\n <status>creating</status>\n <createTime>2008-05-07T11:51:50.000Z</createTime>\n <availabilityZone>us-east-1a</availabilityZone>\n <snapshotId></snapshotId>\n</CreateVolumeResponse>
<DescribeAddressesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <addressesSet>\n <item>\n <instanceId>i-f15ebb98</instanceId>\n <publicIp>67.202.55.255</publicIp>\n </item>\n <item>\n <publicIp>67.202.55.233</publicIp>\n </item>\n </addressesSet>\n\t\t\t\t\t\t</DescribeAddressesResponse>
<DetachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <volumeId>vol-4d826724</volumeId>\n <instanceId>i-6058a509</instanceId>\n <device>/dev/sdh</device>\n <status>detaching</status>\n <attachTime>2008-05-08T11:51:50.000Z</attachTime>\n</DetachVolumeResponse>
<DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <keySet>\n <item>\n <keyName>gsg-keypair</keyName>\n <keyFingerprint>1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f</keyFingerprint>\n </item>\n </keySet>\n</DescribeKeyPairsResponse>
<AttachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <volumeId>vol-4d826724</volumeId>\n <instanceId>i-6058a509</instanceId>\n <device>/dev/sdh</device>\n <status>attaching</status>\n <attachTime>2008-05-07T11:51:50.000Z</attachTime>\n</AttachVolumeResponse>
<DescribeBundleTasksResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <bundleInstanceTasksSet>\n <item>\n <instanceId>i-12345678</instanceId>\n <bundleId>bun-c1a540a8</bundleId>\n <state>canceling</state>\n <startTime>2008-10-07T11:41:50.000Z</startTime>\n <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n <progress>20%</progress>\n <storage>\n <S3>\n <bucket>my-bucket</bucket>\n <prefix>winami</prefix>\n </S3>\n </storage>\n </item>\n <bundleInstanceTasksSet>\n</DescribeBundleTasksResponse>
<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <imageId>ami-61a54008</imageId>\n <launchPermission>\n <item>\n <group>all</group>\n </item>\n <item>\n <userId>495219933132</userId>\n </item>\n </launchPermission>\n</DescribeImageAttributeResponse>
<PurchaseReservedInstancesOfferingResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <reservedInstancesId>reservation-1001001</reservedInstancesId>\n\t\t\t\t\t\t</PurchaseReservedInstancesOfferingResponse>
<CreateSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <snapshotId>snap-78a54011</snapshotId>\n <volumeId>vol-4d826724</volumeId>\n <status>pending</status>\n <startTime>2008-05-07T12:51:50.000Z</startTime>\n <progress>60%</progress>\n</CreateSnapshotResponse>
<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <publicIp>67.202.55.255</publicIp>\n</AllocateAddressResponse>
<DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <regionInfo>\n <item>\n <regionName>us-east-1</regionName>\n <regionEndpoint>us-east-1.ec2.amazonaws.com</regionEndpoint>\n </item>\n <item>\n <regionName>eu-west-1</regionName>\n <regionUrl>eu-west-1.ec2.amazonaws.com</regionUrl>\n </item>\n </regionInfo>\n</DescribeRegionsResponse>
0
\n 0
\n <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <reservationSet>\n <item>\n <reservationId>r-44a5402d</reservationId>\n <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n <groupSet>\n <item>\n <groupId>default</groupId>\n </item>\n </groupSet>\n <instancesSet>\n <item>\n <instanceId>i-28a64341</instanceId>\n <imageId>ami-6ea54007</imageId>\n <instanceState>\n <code>0</code>\n <name>running</name>\n </instanceState>\n <privateDnsName>10-251-50-132.ec2.internal</privateDnsName>\n <dnsName>ec2-72-44-33-4.compute-1.amazonaws.com</dnsName>\n <keyName>example-key-name</keyName>\n <amiLaunchIndex>23</amiLaunchIndex>\n <productCodesSet>\n <item><productCode>774F4FF8</productCode></item>\n </productCodesSet>\n <instanceType>m1.large</instanceType>\n <launchTime>2007-08-07T11:54:42.000Z</launchTime>\n <placement>\n\t\t\t <availabilityZone>us-east-1b</availabilityZone>\n\t </placement>\n\t <kernelId>aki-ba3adfd3</kernelId>\n\t <ramdiskId>ari-badbad00</ramdiskId>\n </item>\n <item>\n <instanceId>i-28a64435</instanceId>\n <imageId>ami-6ea54007</imageId>\n <instanceState>\n <code>0</code>\n <name>running</name>\n </instanceState>\n <privateDnsName>10-251-50-134.ec2.internal</privateDnsName>\n <dnsName>ec2-72-44-33-6.compute-1.amazonaws.com</dnsName>\n <keyName>example-key-name</keyName>\n <amiLaunchIndex>23</amiLaunchIndex>\n <productCodesSet>\n <item><productCode>774F4FF8</productCode></item>\n </productCodesSet>\n <instanceType>m1.large</instanceType>\n <launchTime>2007-08-07T11:54:42.000Z</launchTime>\n <placement>\n\t\t\t <availabilityZone>us-east-1b</availabilityZone>\n\t </placement>\n\t <kernelId>aki-ba3adfd3</kernelId>\n\t <ramdiskId>ari-badbad00</ramdiskId>\n </item>\n </instancesSet>\n </item>\n </reservationSet>\n</DescribeInstancesResponse>
0
\n 0
\n <DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</DeleteVolumeResponse>
<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</DisassociateAddressResponse>
<CancelBundleTaskResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <bundleInstanceTask>\n <instanceId>i-12345678</instanceId>\n <bundleId>bun-cla322b9</bundleId>\n <state>canceling</state>\n <startTime>2008-10-07T11:41:50.000Z</startTime>\n <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n <progress>20%</progress>\n <storage>\n <S3>\n <bucket>my-bucket</bucket>\n <prefix>my-new-image</prefix>\n </S3>\n </storage>\n </bundleInstanceTask>\n</CancelBundleTaskResponse>
<DescribeSecurityGroupsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <securityGroupInfo>\n <item>\n <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n <groupName>WebServers</groupName>\n <groupDescription>Web Servers</groupDescription>\n <ipPermissions>\n <item>\n \t <ipProtocol>tcp</ipProtocol>\n\t <fromPort>80</fromPort>\n\t <toPort>80</toPort>\n\t <groups/>\n\t <ipRanges>\n\t <item>\n\t <cidrIp>0.0.0.0/0</cidrIp>\n\t </item>\n\t </ipRanges>\n </item>\n </ipPermissions>\n </item>\n <item>\n <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n <groupName>RangedPortsBySource</groupName>\n <groupDescription>Group A</groupDescription>\n <ipPermissions>\n \t<item>\n\t <ipProtocol>tcp</ipProtocol>\n\t <fromPort>6000</fromPort>\n\t <toPort>7000</toPort>\n\t <groups/>\n\t <ipRanges/>\n\t</item>\n </ipPermissions>\n </item>\n </securityGroupInfo>\n</DescribeSecurityGroupsResponse>
<GetConsoleOutputResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <instanceId>i-28a64341</instanceId>\n <timestamp>2007-01-03 15:00:00</timestamp>\n <output>TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj\nYyB2ZXJzaW9uIDQuMC4xIDIwMDUwNzI3IChSZWQgSGF0IDQuMC4xLTUpKSAjMSBTTVAgVGh1IE9j\ndCAyNiAwODo0MToyNiBTQVNUIDIwMDYKQklPUy1wcm92aWRlZCBwaHlzaWNhbCBSQU0gbWFwOgpY\nZW46IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDZhNDAwMDAwICh1c2FibGUpCjk4ME1CIEhJ\nR0hNRU0gYXZhaWxhYmxlLgo3MjdNQiBMT1dNRU0gYXZhaWxhYmxlLgpOWCAoRXhlY3V0ZSBEaXNh\nYmxlKSBwcm90ZWN0aW9uOiBhY3RpdmUKSVJRIGxvY2t1cCBkZXRlY3Rpb24gZGlzYWJsZWQKQnVp\nbHQgMSB6b25lbGlzdHMKS2VybmVsIGNvbW1hbmQgbGluZTogcm9vdD0vZGV2L3NkYTEgcm8gNApF\nbmFibGluZyBmYXN0IEZQVSBzYXZlIGFuZCByZXN0b3JlLi4uIGRvbmUuCg==</output>\n</GetConsoleOutputResponse>
<ModifyImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</ModifyImageAttributeResponse>
<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n <return>true</return>\n</AssociateAddressResponse>
This example describes the confirms the product code is associated with the instance.
https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams
This example deregisters the ami-4fa54026
AMI.
https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams
This example makes this a public AMI and grants specific permissions to a user.
https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams
This example lists the launch permissions for the ami-61a54008 AMI
https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams
This example describes the ami-be3adfd7 AMI.
https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams
This example displays information about Availability Zones that are available to the account.
https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.1=us-east-1c&AuthParams
This example displays regions that are available to the account.
https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams
This example deletes volume vol-4282672b
.
https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams
This example describes snapshot snap-78a54011
.
https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams
This example describes all volumes associated with your account.
https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams
This example detaches volume vol-4d826724
.
https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams
This example attaches volume vol-4d826724
to instance i-6058a509
and exposes it as /dev/sdh
. For information on standard storage locations, go to the Amazon Elastic Compute Cloud Developer Guide.
https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams
This example creates a snapshot of volume vol-4d826724
.
https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams
This example creates a new 800 GiB volume in Availability Zone us-east-1a
.
https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams
This example deletes snapshot snap-78a54011
.
https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams
This example returns an elastic IP address for use with the account.
https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams
This example disassociates the 67.202.55.255
IP address from the instance to which it is assigned.
https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams
This example releases an elastic IP address associated with the account.
https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams
This example associates an IP address with an instance.
https://ec2.amazonaws.com/?Action=AssociateAddress\n\t\t\t\t\t\t&InstanceId=i-2ea64347\n\t\t\t\t\t\t&PublicIp=67.202.55.255\n\t\t\t\t\t\t&AuthParams
This example describes elastic IP addresses assigned to the account. Amazon EC2 returns 67.202.55.255 which is assigned to instance i-f15ebb98 and 67.202.55.233 which is not assigned to an instance.
https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams
This example retrieves the console output for the i-10a64379
Linux and UNIX instance.
https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams
This example resets the launchPermission
attribute.
https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams
This example registers the AMI specified in the image.manifest.xml
manifest file.
https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams
This example terminates the i-3ea74257
instance.
https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams
This example describes the current state of the instances owned by this user.
https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams
This example launches three instances of the ami-60a54009
AMI.
https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams
This example reboots an instance.
https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams
This example describes the state of the gsg-keypair
key.
https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams
This example creates a key pair named gsg-keypair.
https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams
This example deletes the gsg-keypair
key pair.
https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams
This example enables monitoring for i-43a4412a and i-23a3397d.
https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
This example disables monitoring for i-43a4412a and i-23a3397d.
https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
This example describes Reserved Instances owned by the account.
https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams
This example describes available Reserved Instance offerings.
https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams
This example purchases Reserved Instances.
https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams
This example returns information about two security groups that are configured for the account.
https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams
This example grants TCP port 80 access from the 205.192.0.0/16 address range to the websrv
security group.
https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress&GroupName=websrv\n&IpProtocol=tcp\n&FromPort=80\n&ToPort=80\n&CidrIp=205.192.0.0/16\n&AuthParams
This example creates the websrv
security group.
https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams
This example deletes the websrv
security group.
https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams
This example revokes TCP port 80 access from the 205.192.0.0/16 address range for the websrv
security group.
https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams
This example cancels the bun-cla322b9
bundle task.
https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams
This example describes the status of the bun-57a5403e
bundle task.
https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams
This example bundles the i-e468cd8d
instance.
https://ec2.amazonaws.com/?Action=BundleInstance&InstanceId=-i-e468cd8d\n&Storage.S3.AWSAccessKeyId=10QMXFEV71ZS32XQFTR2\n&Storage.S3.Bucket=my-bucket\n&Storage.S3.Prefix=winami\n&Storage.S3.UploadPolicy=eyJleHBpcmF0aW9uIjogIjIwMDgtMDgtMzBUMDg6NDk6MDlaIiwiY29uZGl0aW9ucyI6IFt7ImJ1Y2tldCI6ICJteS1idWNrZXQifSxbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAibXktbmV3LWltYWdlIl1dfQ%3D%3D\n&Storage.S3.UploadPolicySignature=w6BZu2oxGsiiLZnoBmQSErotuMA%3D\n&AuthParams