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.
Option | Description | Required |
---|---|---|
|
The IP address that you are disassociating from the instance. Example: |
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
.
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