Release an Elastic IP address (original) (raw)

If you no longer need an Elastic IP address, we recommend that you release it. The Elastic IP address to release must not be currently associated with an AWS resource.

Console

To release an Elastic IP address
  1. Open the Amazon EC2 console athttps://console.aws.amazon.com/ec2/.
  2. In the navigation pane, choose Elastic IPs.
  3. Select the Elastic IP address to release and choose Actions, Release Elastic IP addresses.
  4. Choose Release.

AWS CLI

To release an Elastic IP address

Use the release-address AWS CLI command.

aws ec2 release-address --allocation-id eipalloc-64d5890a

PowerShell

To release an Elastic IP address

Use the Remove-EC2Address cmdlet.

Remove-EC2Address -AllocationId eipalloc-64d5890a

After you release your Elastic IP address, you might be able to recover. The following rules apply:

AWS CLI

To recover an Elastic IP address

Use the allocate-address command.

aws ec2 allocate-address \
    --domain vpc \
    --address 203.0.113.3

PowerShell

To recover an Elastic IP address

Use the New-EC2Address cmdlet.

New-EC2Address `
    -Address 203.0.113.3 `
    -Domain vpc `
    -Region us-east-1

Transfer an Elastic IP address

Use reverse DNS for email applications

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.