Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (12.9k points)

We're using Route 53 DNS to point to an EC2 instance. Is there any way to get Route 53 to point to the instance directly, instead of to an Elastic IP or CNAME?

I have multiple reasons for this:

I don't want to burn an IP.

CNAMEs are unreliable, because if an instance goes down and comes back up, the full name, ec2-X-X-X-X.compute-1.amazonaws.com, will change.

In the future, I need to spin up instances programmatically and address them with a subdomain, and I see no easy way to do this with either elastic IPs or CNAMEs.

What's the best approach?

1 Answer

0 votes
by (18.2k points)

Using Route53 you can create alias records sets that map to an Elastic Load Balancer.

You can check out the following official documentation for detailed steps to do the same.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-creating.html

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Apr 1, 2020 in AWS by chandra (29.3k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...