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.
Verify foreign Elastic IPAccepted Answerasked 3 months ago
Warning: EC2-Classic Networking Enabledasked 10 months ago
Disable EC2 Classic from my account and move to VPCasked 2 years ago
Can't migrate Classic Elastic IP with Reverse DNS to VPC Elastic IPasked 8 months ago
AppStream 2.0 Assign Elastic IPAccepted Answerasked 5 months ago
Elastic IP locked because of reverse DNS, how to release?asked 3 years ago
Do Elastic Beanstalk Web Server Environment Need A Public Elastic IPasked 2 months ago
Can't ssh to EC2 after assigning an additional public ip(elastic ip)asked 6 months ago
Elastic IP addresses could not be releasedasked a year ago
how to automate elastic ip assignment on aws ec2?asked 3 months ago