Route 53 101 Flashcards
5 Routing Policy Types
Simple Weighted Latency Failover Geolocation
Simple Routing Policy Overview
Default when creating new record set
Common for when you have single resource that performs one function
ie a single web server
Can do round robin
Weighted Routing Policy Overview
Weight your traffic to different places
(2 ELB’s in same region, different regions, etc.
Use Case:
A/B testing 20% traffic to new site, 80% to production site
Does this over time, don’t see immediate effects
Is Route 53 global?
Yes, like IAM
Latency Routing Policy Overview
Routes traffic based on lowest latency for end user (to region that gives the fastest response)
Create a Latency Resource Record Set for the EC2 or ELB resource in each region that hosts your site.
When Route53 gets request for site, it selects the Latency Resource Record that gives user lowest latency
Failover Routing Policy Overview
Used when you want an active/passive set up
ie you have a primary site in one region and a failover in another region
Route53 monitors health of primary site using a health check to monitor health of endpoints
Failover Routing Policy Failover config example
Route 53 health check set to use DNS name of Elastic Load Balancer.
Healthcheck will fail if all instances behind ELB go down, or if the ELB itself goes down
Geolocation Routing
Lets you choose where your traffic will be send based on geolocation of your users
Can use continents, countries, or states in USA
Alias records vs CName records
Alias acts like CNAME but lets you resolve individual AWS resources like ELB or Cloudfront