Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom domain in free tier on AWS?

Is there any way to map EC2 instance on a custom domain I own within free tier of AWS? I used it once with Route53 but I got charged, so I know it is paid. I could not find any docs for the same. Is Route53 the only way to map domain to EC2 instance on AWS?

like image 245
mehulmpt Avatar asked Aug 12 '17 06:08

mehulmpt


People also ask

Can I create free domain on AWS?

Go to AWS console and open "Route 53" service then click on "Create Hosted Zone" button. Enter your newly created domain name in related text box and click on "Create" button. Once you created above hosted zone, it will generates four NS records which we need to add into free domain Name Server setting.

Can I use Route 53 in AWS free tier?

Route 53 free tier If you check the official AWS website about the free tier, you will find that AWS doesn't offer a free tier for Route 53.


2 Answers

You can map a domain using an external DNS management service(E.g Google DNS, Godaddy) by mapping a CName record set to the public DNS issued by the EC2 instance.

Public DNS (IPv4) ec2-54-93-211-192.eu-west-1.compute.amazonaws.com

You can find the auto-generated public DNS in EC2 web console after selecting the EC2 instance. Also it is recommended to associate and Elastic IP and then use the new public DNS for the CName mapping so that, the public DNS won't change in between EC2 stop and start.

like image 197
Ashan Avatar answered Sep 23 '22 18:09

Ashan


You should find that your AWS account also includes access to Amazon Lightsail, which gives you your first 3 DNS zones and up to 3 million DNS queries at no charge, if you create them from the Lightsail portal rather than creating them directly in Route 53.

The Lightsail DNS service is still powered by Route 53. It doesn't have as many advanced features as the paid version, but is quite suitable for basic sites.

See https://amazonlightsail.com/docs/.

like image 25
Michael - sqlbot Avatar answered Sep 22 '22 18:09

Michael - sqlbot