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

Before you begin:

  1. Ensure none of your applications or scripts use the EIP you release.

  2. Stop your resources from using the EIP:

  1. Click Network/Security > External IPs.

  2. Click the EIP you want to release.
    The EIP is selected.

    Multiselection is available.

  3. Click Release .
    A confirmation dialog box appears.

  4. Click Release to validate.
    The EIP is released from your account.

Releasing an EIP Using AWS CLI

Before you begin:

  1. Ensure none of your applications or scripts use the EIP you release.

  2. Stop your resources from using the EIP:

To release an EIP, use the release-address command following this syntax:

Request sample
$ aws ec2 release-address \
    --profile YOUR_PROFILE \
    --public-ip 111.11.111.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 Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.