ec2-disassociate-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.
Syntax
ec2-disassociate-address
ip_address
Options
Name | Description | Required |
---|---|---|
|
IP address that you are disassociating from the instance. Type: String Default: None Example: 67.202.55.255 |
Yes |
Output
The command 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.
Examples
Example Request
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