AWS Error The address with allocation id allocation id cannot be released because it is locked to your account

+1 vote

I am trying to release an elastic IP from my EC2 instance and I end up with the following error:

The address with allocation id [allocation id] cannot be released because it is locked to your account

Please help me!

Oct 9, 2019 in AWS by Hannah
• 18,520 points
2,428 views

3 answers to this question.

+1 vote

Hey @Hannah, you get this error when your elastic IP has created an rDNS(reverse DNS). Execute the following command to find out if an rDNS exists:

#host 203.0.113.0

if it exists then you'll be shown something like this:

203.0.113.0.in-addr.arpa. domain-name-pointer mail.domain.com

Now you need to remove that to get rid of the error. Fill the Request to Remove Email Sending Limitations form. Now try releasing the elastic IP.

answered Oct 9, 2019 by Neel
+1 vote
It may be an issue with the routing table. Remove the IP in the route table
answered Oct 10, 2019 by Uday
+1 vote
Do you see any associations for the EIP under network interfaces? If so disassociate
answered Oct 10, 2019 by Pratap

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP