AWS - Route 53 Notes
AWS - Route 53 Notes
AWS - Route 53 Notes
39 | P a g e
Amazon Route 53
40 | P a g e
• TTL: It’s the length that a DNS record is cached on either the Resolving Server or the
users own local PC is equal to the value of the “Time To Live” (TTL) in seconds. The lower
the time to live, the faster changes to DNS records take to propagate throughout the
internet.
• CNAME or a Canonical Name can be used to resolve one domain name to another. For
example, you may have a mobile website with the domain name http://m.acloud.guru
that is used for when users browse to your domain name on their mobile devices. You
may also want the name http://mobile.acloud.guru to resolve to this same address.
• Alias Records are used to map resource record sets in your hosted zone to Elastic Load
Balancers, CloudFront distributions, or S3 buckets that are configured as websites.
Alias records work like a CNAME record in that you can map one DNS name
(www.example.com) to another ‘target’ DNS name (elb123.elb.amazonaws.com)
• Key difference – A CNAME can’t be used for naked domain names (zone apex record.)
You can’t have a CNAME for http://acloud.guru, it must be either an A record or an
Alias.
• You can buy domain names directly with AWS & it can take upto 3 days to register
depending on the circumstances.
• Simple Routing
If you choose the simple routing policy you can only have one record with multiple IP
addresses. If you specify multiple values in a record, Route 53 returns all values to the
user in a random order.
• Weighted Routing
Allows you to split your traffic based on different weights assigned.
For example, you can set 10% of your traffic to go to US-EAST-1 and 90% to go to EU-
WEST-1
You can set health checks on individual record sets.
If a record set fails a health check it will be removed from Route53 until it passes the
health check.
You can set SNS notifications to alert you if a health check is failed.
41 | P a g e
• Latency-based Routing
Allows you to route your traffic based on the lowest network latency for your end user
(ie, which region will give them the fastest response time).
To use latency-based routing, you create a latency resource record set for the Amazon
EC3 (or ELS) resource in each region that hosts your website. When Amazon Route 53
receives a query for your site, it selects the latency resource record set for the region
that gives the user the lowest latency. Route 53 then responds with the value associated
with that resource record set.
• Failover Routing
Failover routing policies are used when you want to create an active/passive set up. For
example, you may want your primary site to be in EU-WEST-2 and your secondary DR Site in AP-
SOUTHEAST-2.
Route53 will monitor the health of your primary site using a health check.
A health check monitors the health of your end points.
• Geolocation Routing
Geolocation routing lets you choose where your traffic will e sent based on the geographic
location of your users (is the location from which DNS queries originate). For example, you
might want all queries from Europe to be routed to a fleet of EC2 instances that are specifically
configured for your European customers. These servers may have the local language of your
European customers and all prices are displayed in Euros.
42 | P a g e