Custom domain in free tier on AWS?

Home / Uncategorized / Custom domain in free tier on AWS?

Question:
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?


Answer:
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.
Read more

Leave a Reply

Your email address will not be published. Required fields are marked *