Can't migrate Classic Elastic IP with Reverse DNS to VPC Elastic IP
We're trying to move our infrastructure from EC2 Classic to VPC as requested by Amazon. We have an Elastic IP address with Classic scope which has a reverse DNS record associated with it (managed by Amazon) and we need to migrate this Elastic IP address to VPC. When we try we receive via the console we receive the message:
Elastic IP address could not be moved to VPC scope. Address with allocation_id:xxx has a PTR record set
How do we go about migrating this Elastic IP address to VPC?
This might help. You have to contact your ISP to have the IP tied to the new domain name you assigned it. This isn't done in your domain DNS entries. If you have static IPs, just call them and tell them you need to update a reverse DNS PTR record for your IP address that represents your Elastic IP.
Edited by: Jccrzaa on Oct 28, 2021 11:43 PM
Thanks, though the issue in this case is that Amazon assign the reverse DNS (PTR) entry as part of removing the restriction on the EC2 instance sending emails (see https://aws.amazon.com/premiumsupport/knowledge-center/ec2-port-25-throttle/)
In the end I solved it by using the form listed in that article and filling it in asking the Amazon team to remove the PTR record, or assign a PTR record for a new VPC-scope Elastic IP address we created. They seem to have done the latter, so I just need to fill the form in again to ask them to remove the PTR record from the Classic-scope Elastic IP address which will then allow me to release it.
Relevant questions
Verify foreign Elastic IP
Accepted Answerasked 3 months agoWarning: EC2-Classic Networking Enabled
asked 10 months agoDisable EC2 Classic from my account and move to VPC
asked 2 years agoCan't migrate Classic Elastic IP with Reverse DNS to VPC Elastic IP
asked 8 months agoAppStream 2.0 Assign Elastic IP
Accepted Answerasked 5 months agoElastic IP locked because of reverse DNS, how to release?
asked 3 years agoDo Elastic Beanstalk Web Server Environment Need A Public Elastic IP
asked 2 months agoCan't ssh to EC2 after assigning an additional public ip(elastic ip)
asked 6 months agoElastic IP addresses could not be released
asked a year agohow to automate elastic ip assignment on aws ec2?
asked 3 months ago