Route 53 Flashcards
What are the different record types
A
AAAA
CNAME
NS
What does an A record type map to
A record type maps a hostname to IPv4
What does an CNAME record type map to
CNAME record type maps a hostname to another hostname
The target is a domain name which must have an A or AAAA record
Can’t create for example.com, but you can create for www.example.com
Ex app.mydomain.com => blabla.anything.com
But only for non root domain..(aka “something.mydomain.com”)
This is different from an Alias which points a hostname to an AWS resource
Ex app.mydomain.com => blabla.amazonaws.com
Works for root domain and non root domain (aka “mydomain.com”
Its free of charge and has a native health check
What does an AAAA record type map to
AAAA record type maps a hostname to IPv6
What does an NS record type map to
It is name servers for the hosted zone. It controls how traffic is routed for a domain
What are targets for Alias records
ELBs
CloudFront Distributions
API Gateway
Elastic Beanstalk Env
S3 Websites
Route 53 record in the same hosted zone
You cannot set an ALIAS record for an EC2 DNS name
What are the possible Route 53 records TTL
High TTL - ex 24hr: Less traffic on Route 53, possibly outdated records
Low TTL - ex 60sec: More traffic on Route 53, less outdated records
Except for Alias records, TTL is mandatory for each DNS
Route 53 has multiple routing policies, explain the simple routing policy
It routes traffic to a single resource
Ex Client tries to connect to foo.example.com
Route 53 returns 11.22.33.44
It can specify multiple values in the same record, but a random one is chosen by the client
Ex Client tries to connect to foo.example.com
Route 53 returns 11.22.33.44, 55.66.77.88, 99.11.22.33
Route 53 has multiple routing policies, explain the Weighted routing policy
With weighted you can control the percent of the requests that go to each specific resource. Example, you can have 70% of traffic go to one server, and 30% go to another server. Usually these can be used when load balancing between regions or testing new application versions. It can be associated with health checks
Route 53 has multiple routing policies, explain the Latency-based routing policy
Redirect to the resource that has the least latency close to us. It can be associated with health checks and has a failover capability
Route 53 has multiple routing policies, explain the Failover (active passive) routing policy
DNS requests will be routed to a primary instance with a health check which is mandatory. If the HC fails, the requests will failover to a secondary instance which is passive until the failed HC
Route 53 has multiple routing policies, explain the Geolocation routing policy
This is based on user location. You can specify by country, continent or US state. You should create a default record in case there is no match on location. It can be associated with health checks
Route 53 has multiple routing policies, explain the Geoproximity routing policy
Route traffic based on the geographic location of users and resources. You can change the size of the geographic region by specifying bias values: to expand (1 to 99), to shrink (-1 to -99).
You must use Route 53 traffic flow to use this feature
What is traffic flow in route 53
It allows you to create geoproximity rules which can be saved as traffic flow policy
Route 53 has multiple routing policies, explain the Multi-value routing policy
Use when routing traffic to multiple resources
Route 53 can return multiple values and it can be associated with health checks. Only healthy resources will return values
Up to 8 healthy records are returned for each multi-value query