'How to delete an Elastic IP Address in AWS
I can't seem to delete it in AWS, It was not showing any options like delete or disassociate.
AWS is charging me every month for Elastic IP address usage. I'm not even using them.
Please help me, how to remove the EIP address.
Solution 1:[1]
For those getting the following error when trying to disassociate an Elastic IP address.
"You do not have permission to access the specified resource."
I found that I still had the IP associated with a NAT Gateway. So you would need to delete the NAT, disassociate the IP, then you can release it.
Solution 2:[2]
if Associate address, Release address, and Disassociate address all are greyed out for you, and you see association id in the details pane, it probably is still assigned to VPC/NAT Gateway or some service. delete that service first, then you'll be able to release the IP.
It was assigned to NAT gateway in my case, which I deleted but still it was not letting me release the IP. I had to delete VPC.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jayson H |
| Solution 2 | Aniket Kariya |
