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
- Open the Amazon EC2 console athttps://console.aws.amazon.com/ec2/.
- In the navigation pane, choose Elastic IPs.
- Select the Elastic IP address to release and choose Actions, Release Elastic IP addresses.
- 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:
- You can't recover an Elastic IP address if it has been allocated to another AWS account, or if it will result in your exceeding your Elastic IP address limit.
- You can't recover tags associated with an Elastic IP address.
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.