Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to Digg

AllocateAddress

Description

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.

Request Parameters

The AllocateAddress operation does not have any request parameters.

Response Elements

The elements in the following table come wrapped in an AllocateAddressResponse structure.

NameDescription

requestId

The ID of the request.

Type: xsd:string

publicIp

IP address for use with your account.

Type: xsd:string

Examples

Example Request

This example returns an elastic IP address for use with the account.

https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams

Example Response

<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> 
  <publicIp>67.202.55.255</publicIp>
</AllocateAddressResponse>