ec2-disassociate-address

ec2-disassociate-address ip_address

Disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.

OptionDescriptionRequired

ip_address

The IP address that you are disassociating from the instance.

Example: 67.202.55.255

Yes

Amazon EC2 returns a table that contains the following information:

Amazon EC2 displays errors on stderr.

This example disassociates the 67.202.55.255 IP address from the instance to which it is assigned.

$ ec2-disassociate-address 67.202.55.255 
ADDRESS 67.202.55.255