ec2-disassociate-address
Syntax
ec2-disassociate-address
ip_address
Description
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.
Options
Option | Description | Required |
---|---|---|
| The IP address that you are disassociating from the instance. Example: | Yes |
Output
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
.
Example
This example disassociates the 67.202.55.255
IP address from the instance to which it is assigned.
PROMPT>
ec2-disassociate-address 67.202.55.255
ADDRESS 67.202.55.255