Releasing an EIP from Your Account
You can release an External IP (EIP) allocated to your account if you no longer need it. The EIP becomes available again for other OUTSCALE users to allocate to their account.
Releasing an EIP Using Cockpit v1
Before you begin:
|
-
Click Network/Security > External IPs.
-
Click the EIP you want to release.
The EIP is selected.Multiselection is available.
-
Click Release .
A confirmation dialog box appears. -
Click Release to validate.
The EIP is released from your account.
Releasing a Public IP Using OSC CLI
Before you begin:
|
See the DeletePublicIp command sample in the documentation of the OUTSCALE API. |
Releasing an EIP Using AWS CLI
Before you begin:
|
To release an EIP, use the release-address command following this syntax:
$ aws ec2 release-address \
--profile YOUR_PROFILE \
--public-ip 111.1.1.1 \
[--allocation-id NOT_SPECIFIED] \
--endpoint https://fcu.eu-west-2.outscale.com
This command contains the following attributes that you need to specify:
-
(optional)
profile
: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI. -
(optional)
public-ip
: The EIP. -
(optional)
allocation-id
: The ID of the allocation.-
In the public Cloud, you need to specify the
public-ip
attribute. -
In a VPC, you need to specify the
allocation-id
attribute.
-
-
endpoint
: The endpoint corresponding to the Region you want to send the request to.
The EIP is released from your account.
Related Pages
Corresponding API Methods
AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.