R53 allows to register Domain names, DNS management, Traffic routing & Health checks.
Route 53 is a serverless solution with AWS guaranteed 100% availability.
R53 also helps in traffic management and health checks of your application.
Route53 helps in routing your traffic, You can either route traffic publicly or internally in a private VPC. to route traffic privatly make sure your VPC have enabled DNS hostname and DNS Support in the configuration.
NameServer - NS
NS have 4 unique records, helps to identify the DNS servers for the hosted zone- Means helps to find ip address of Domain name or other names of domain name.
Start of Authority Records - SOA
Define authoritative record or Truth tellers for the zone.
hostname to IPv4 address
Hostname to IPv6 address
Identifying the email server, can add multiple MX record with priority
Information in text format to systems outside your domain
Canonical Name - CNAME Record
Used to map a host name to other hostname
AWS unique to route 53 , can point to other AWS resource.
Lifetime of data or the amount of time till next query for the update of the record.
- A record is used , and can be to multiple IP.
- if a primary health check fails it will redirect to secondary , need to ensure health check is defined
- traffic flow can be restricted to continent or country. This verifies the user ip and identifies location then allows traffic according to that location configuration
Geo-proximity routing (traffic flow only)
- need to use R53 traffic flow feature, the traffic based on bias . use -99 to route least amount of traffic and 99 to most of the traffic.
- This helps to flow traffic depends on latency to user . Which means it will provide nearest end point to user
Multivalue answer routing
- Retunes to multiple ip .
- Random selection of IP depends on the weightage you assign.
Route 53 send request on every 30 seconds , by this it determine the health status of the end point by default.
Also can monitor state of the Alarm State
Health check is done from all over the world
health check can be on - IP address , domain name. The protocols can be HTTP, HTTPS.
also the best part is integration of SNS.
Connect your datacentre with DirectConnect or VPN to your VPC and use R53.
R53 DNS firewall can be used , with rule group. Managed firewall service for DNS queries that originate in your VPCs
Monitor and recover with multiple environment and regions for your application.You can also use Route 53 Application Recovery Controller to manage failovers by using routing controls integrated with health checks.
Goto R53 from AWS console
Click on Hosted Zones and Click Create Hosted Zone.
Enter you details and click create
You will be getting a default NS and SOA.
now you need to go to your domain provider and create exact records as with your domain providers in Route 53.
Also remember you donot need to create or change the NS and SOA of Route53.
Once you Complete create all your A, TXT, MX, CNAME etc. Now Plan a time for migration , to avoid disruptions for your customers.
Once it done Change the Name Servers of your DNS provider to the one AWS Route53 Provided.
Wait till TTL expires from your DNS provider.
You have successfully migrated your DNS to AWS Route53.
If you don't have a domain , buy it from AWS registrars