Acquires an elastic IP address for use with your account. For more information about elastic IP addresses, go to Instance Addressing in the Amazon Elastic Compute Cloud User Guide.
The AllocateAddress operation does not have
any request parameters.
The elements in the following table come wrapped in an
AllocateAddressResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
IP address for use with your account. Type: xsd:string |
This example returns an elastic IP address for use with the account.
https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams
<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <publicIp>67.202.55.255</publicIp> </AllocateAddressResponse>