AssociateAddress From Amazon Elastic Compute Cloud: 2009-08-15 previous page next page AssociateAddressDescriptionAssociates an elastic IP address with an instance. If the IP address is currently assigned to another instance, the IP address is assigned to the new instance. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.Request ParametersNameDescriptionRequiredPublicIp IP address that you are assigning to the instance. Type: String Default: None YesInstanceId The instance to associate with the IP address. Type: String Default: None YesResponse ElementsNameDescriptionAssociateAddressResponseTypeAssociateAddressResponseType element. Type: AssociateAddressResponseType Ancestor: None Children: requestId, returnrequestId The ID of the request. Type: xsd:string Ancestor: AssociateAddressResponseType Children: None return Returns Type: xsd:boolean Ancestor: AssociateAddressResponseType Children: None Examples Example Request This example associates an IP address with an instance. https://ec2.amazonaws.com/?Action=AssociateAddress &InstanceId=i-2ea64347 &PublicIp=67.202.55.255 &AuthParams Example Response <AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </AssociateAddressResponse> Related Operations AllocateAddress DescribeAddresses ReleaseAddress DisassociateAddress previous page start next page