user1698109
user1698109

Reputation: 87

Wanted to Change the the EC2 instance ip address in Route53

I have domain with godaddy and hosted the application in AWS EC2 instance which managing the traffic through route53. There is a need to change the EC2 instance to deploy the application with the different public IP address. If i change the "A" type record with the new EC2 instance ip address, will it work to manage the traffic through new IP address?

Upvotes: 1

Views: 175

Answers (1)

Vidura Dantanarayana
Vidura Dantanarayana

Reputation: 531

Yes of course you can update the A type record any time, but it will take some time to propagate considering the TTL value of the record.

But using public IP to direct traffic to instances is a major anti-pattern for any type of deployment. Pointing traffic to an Elastic Load Balancer and distribute traffic from there will be a much scalable solution. The biggest advantage you have there is, no longer need to change the A record in Route 53 every time you deploy a new EC2 instance.

Upvotes: 1

Related Questions