Route 53 is a DNS(Domain Name System) web service which connects user requests to internet applications running on AWS or on-premises.
Use Cases -
- Setting up private DNS
- Build highly available applications
- Manage network traffic globally
How it works?
- When end-user tries to open the website in the web browser.
- DNS Resolver resolves domain name queries on behalf of the end user.
- Amazon Route 53 Authoritative DNS Service returns the IP addresses for DNS records queried by DNS Resolver.
- Health Checks monitors the health of your endpoints for high availability.
- AWS Management Console and Amazon Route 53 SDK/API are the customer interface which is used for hosted zone creation, traffic policies, and the propagation of the DNS records to the Route 53 global network of authoritative DNS serves.
- AWS CloudWatch is used for monitoring matrices and alarms.
- Finally, Endpoint Instances receive the end-user request, process, and return the response to the end user.
Picture Source - AWS
How to create Hosted Zone in Route 53?
Prerequisites -
- Aws console account and subscription.
- You must have a domain registered with you.
You need to follow the below steps to create hosted zone in Route 53-
- Login to your AWS account and go to Route 53 service
- Choose Hosted zones option from the left navigation menu
- Click on the button Create hosted zone
- Enter the fully qualified domain name.
- You can add a description in the description box. This is an optional field.
- Choose the zone type either hosted zone you creating is accessible publically or privately.
- You can add some tags and the last click on Create hosted zone button.
Once the hosted zone is created, you will see two records created by default. One with type SOA and another one NS.
Name Server(also known as NS) is important. It holds few values for route traffic. These values must be added to the Internet domain registrar means from where you have purchased your domain i.e. GoDaddy, BigRock, Cloudflare, etc.
Now create a record with type A. Record Type A is responsible for routing traffic to an IPv4 address and some AWS resources. Keep the record name as it is and enter the public IP address of your application in the value section. Keep other options default.
If all goes well, then your hosted zone is created and domain redirection to your application should start working.
If you would like to contribute, you can write an article and mail your article to droidamar007@gmail.com. You can see your article appearing on the main page and helping others.
Awesome👍👍
ReplyDelete