Wondering how to disassociate an Elastic IP address in EC2? We can help you.
As a part of our AWS Support Services, we often receive similar requests from our AWS customers.
Today, let’s see the steps followed by our Support Techs to help our customers.
How to disassociate an Elastic IP address in EC2?
In order to release an Elastic IP address, you need to first disassociate it from any resources.
To change the resource that the Elastic IP address is associate with, you must first disassociate it from the currently associate resource.
To disassociate an Elastic IP address
1. Firstly, open the Amazon VPC console.
2. In the navigation pane, choose Elastic IPs.
3. Select the Elastic IP address, and then choose Actions, Disassociate Elastic IP address.
4. When prompted, choose Disassociate.
To disassociate an Elastic IP address using the command line
- Disassociate-address (AWS CLI)
- Unregister-EC2Address (AWS Tools for Windows PowerShell)
After you disassociate the Elastic IP address, you can re-associate it with a different resource.
You incur charges for any Elastic IP address that’s allocated for use with a VPC but not associated with an instance.
If you don’t need the Elastic IP address, you can release it.
Release an Elastic IP address
If you no longer need an Elastic IP address, we recommend that you release it.
You incur charges for any Elastic IP address that’s allocated for use with a VPC but not associated with an instance.
The Elastic IP address must not be associated with an instance or network interface.
To release an Elastic IP address
- Firstly, open the Amazon VPC console.
- In the navigation pane, choose Elastic IPs.
- Select the Elastic IP address, and then choose Actions, Release Elastic IP addresses.
- When prompted, choose Release.
To release an Elastic IP address using the command line
- release-address (AWS CLI)
- Remove-EC2Address (AWS Tools for Windows PowerShell)
[Need help with more AWS queries? We’d be happy to assist]
Conclusion
To conclude, today we discussed the steps followed by our Support Engineers to disassociate an Elastic IP address in EC2.
0 Comments