ec2-disassociate-address ip_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.
The IP address that you are disassociating from the instance.
Example: 67.202.55.255
67.202.55.255
Yes
Amazon EC2 returns a table that contains the following information:
Output type identifier ("ADDRESS")
Elastic IP address you are disassociating from the instance
Amazon EC2 displays errors on stderr.
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
$
ADDRESS 67.202.55.255
ec2-describe-addresses
ec2-release-address
ec2-associate-address
Submit feedback about this site to: