In today's session, we are going to see the Networking & Content Delivery Service i.e Route 53.
Lets first understand what is a domain name system (DNS)
The Domain Name System (DNS) is a globally distributed service that is foundational to the way people use the Internet.
DNS uses a hierarchical name structure, and different levels in the hierarchy are each separated with a dot ( . )
Computers use the DNS hierarchy to translate human readable names like www.google.com into the IP addresses like 192.168.101.1 that computers use to connect to one another.
DNS examples:
www.amazon.com
aws.amazon.com
“com” is the Top-Level Domain
“amazon” the Second-Level Domain
“www” and “aws” are lower levels
There can be any number of lower levels (e.g., “www” and “aws”) below the Second-Level Domain.
What is the Amazon Route 53 Service?
Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. Route 53 connects user requests to internet applications running on AWS or on-premises.
The name for Route 53 comes from the fact that DNS servers respond to queries on port 53 and provide answers that route end users to your applications on the Internet.
Route 53 supports various types of records such as below : ‘A’ record , ‘AAAA’ record, NS record,CAA record ,SOA record , PTR record etc.
Route 53 offers a selection of more than 150 top-level domains (TLDs), including the major generic TLDs like .com, .net, .org, and .info, and country TLDs including .co.uk, .de, .tv, and .com.au. etc.
Some of the Key Features of Route 53 are as below:
a.Traffic flow
b.Latency based routing
c.IP-based routing
d.Geo DNS
e.Private DNS for Amazon VPC
f.DNS Failover
g.Health Checks and Monitoring
h.Domain Registration
i.Amazon ELB Integration
Types of records supported by Route 53 Service are as follows:
A Record:
Is used to route the traffic to a resource such as a web server using IPv4 Address in dotted decimal format.
e.g. 192.168.101.10
AAAA Record
Similar to A record is used to route the traffic to a resource like web server using IPv6 address in colon-separated hexadecimal format.
e.g. 1985:0db8:85a3:0:0:8a2e:0370:2130
CAA Record
Indicates which certificate authorities (CAs) are allowed to issue certificates for a domain or subdomain
Format of CAA Record : flags tag "value“
e.g. 0 issue "ca.exams.com; account=2114571“
CNAME Record
maps DNS queries for the name of the current record, such as aws.amazon.com to amazon.com or subdomain (dos.amazon.com)
e.g. hostname.example.com
NS Record
NS record identifies the name servers for the hosted zone. When a hosted zone is created , the four name servers in the default NS record gets created
e.g. ns-1.example.com
SOA Record
A start of authority (SOA) record provides information about a domain and the corresponding Amazon Route 53 hosted zone.
e.g. ns-2033.awsdns-64.net hostmaster.awsdns.com 1 1 1 1 60
MX Record
Specifies the names of mail servers. Each value for an MX record contains two values, priority and domain name.
Priority - any integer between 0 and 65535. If you specify multiple servers, the value that you specify for the priority indicates which email server to be routed to first, second, and so on.
Domain name - the name (such as mail.google.com) of an A or AAAA record.
Pricing of Route 53 Service:
https://calculator.aws/#/addService/R...
The above url provides the price estimation of route 53 service
With Amazon Route 53 , we can use ‘pay as you go’ like other AWS services. Pricing is based on the following factors -
1.Managing hosted zones: We need to pay the monthly charge for each hosted zone managed with Route 53.
2.Serving DNS queries: The charges are incurred for every DNS query answered by the Amazon Route 53 service, except for queries to Alias A records that are mapped to Elastic Load Balancing instances, CloudFront distributions, AWS Elastic Beanstalk environments, API Gateways, VPC endpoints, or Amazon S3 website buckets, which are provided at no additional charge.
3. Managing domain names: An annual charge are incurred for each domain name registered via or transferred into Route 53.The monthly bill from AWS will list the total usage and dollar amount for the Amazon Route 53 service separately from other AWS services.
I hope you enjoyed this session. Please feel free to write your queries in the comments section below.
Thank you for watching.
Happy Learning :)