Route 53 Flashcards

1
Q

what is DNS?

A

Domain Name System which translates the human friendly hostnames
into the machine IP addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

DNS Terminologies?

A

Domain Registrar: Amazon Route 53, GoDaddy, …
• DNS Records: A, AAAA, CNAME, NS, …
• Zone File: contains DNS records
• Name Server: resolves DNS queries (Authoritative or Non-Authoritative)
• Top Level Domain (TLD): .com, .us, .in, .gov, .org, …
• Second Level Domain (SLD): amazon.com, google.com,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Route 53?

A

This is a highly available and highly scalable fully managed and authoritative Domain name service.
It is also a domain registrar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Rout 53 records?

A

How you want to route traffic for a domain
• Each record contains:
• Domain/subdomain Name – e.g., example.com
• Record Type – e.g., A or AAAA
• Value – e.g., 123.456.789.123
• Routing Policy – how Route 53 responds to queries
• TTL – amount of time the record cached at DNS Resolvers
• Route 53 supports the following DNS record types:
• (must know) A / AAAA / CNAME / NS
• (advanced) CAA / DS / MX / NAPTR / PTR / SOA / TXT / SPF / SRV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the different rout 53 record types?

A

A – maps a hostname to IPv4
• AAAA – maps a hostname to IPv6
• CNAME – maps a hostname to another hostname
• The target is a domain name which must have an A or AAAA record
• Can’t create a CNAME record for the top node of a DNS namespace (Zone
Apex)
• Example: you can’t create for example.com, but you can create for
www.example.com
• NS – Name Servers for the Hosted Zone
• Control how traffic is routed for a domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is TTL?

A

TTL - time to live. High TTL e.g 24hr, thisnmeans less traffic on route 53, and records will be outdated. Low TTL e.g. 60 secs, means high traffic to route 53 and records are more up to date, this is costs more.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

CNAM vs Alias

A

in aws we have resource names exposed e.g. load balancers, cloudfront etc. but we want to s et name e.g. myapp.mydomain.com we can use CNAME and Alias.
• CNAME:
• Points a hostname to any other hostname. (app.mydomain.com => blabla.anything.com)
• ONLY FOR NON ROOT DOMAIN (aka. something.mydomain.com)
• Alias:
• Points a hostname to an AWS Resource (app.mydomain.com => blabla.amazonaws.com)
• Works for ROOT DOMAIN and NON ROOT DOMAIN (aka mydomain.com)
• Free of charge
• Native health check

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Simple Routing policy?

A
Typically, route traffic to a single 
resource
• Can specify multiple values in the 
same record
• If multiple values are returned, a 
random one is chosen by the client
• When Alias enabled, specify only 
one AWS resource
• Can’t be associated with Health 
Checks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Weighted routing policy?

A

By allocating weight to each resource/record then the traffic % will be routed according to the weighting set
• DNS records must have the same name and type
• Can be associated with Health Checks
• Use cases: load balancing between regions, testing
new application versions…
• Assign a weight of 0 to a record to stop sending
traffic to a resource
• If all records have the weight of 0, then all records will
be returned equally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Latency-based routing policy?

A

This is where we want to route to the lowest latency resource. Route 53 will assess the latency and route the users to the nearest low latency resource from their location.
Super helpful when latency for users is a priority
• Latency is based on traffic between users and AWS
Regions
• Germany users may be directed to the US (if that’s the
lowest latency)
• Can be associated with Health Checks (has a failover
capability)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Health Checks?

A

Way to check the health of public rources.
Health Check => Automated DNS Failover:
1. Health checks that monitor an endpoint
(application, server, other AWS resource)
2. Health checks that monitor other health
checks (Calculated Health Checks)
3. Health checks that monitor CloudWatch
Alarms (full control !!) – e.g., throttles of
DynamoDB, alarms on RDS, custom metrics,
… (helpful for private resources)
• Health Checks are integrated with CW
metrics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Geolocation policy?

A

Specify a specific location to be routed to:
Different from Latency-based!
• This routing is based on user location
• Specify location by Continent, Country
or by US State (if there’s overlapping,
most precise location selected)
• Should create a “Default” record (in
case there’s no match on location)
• Use cases: website localization, restrict
content distribution, load balancing, …
• Can be associated with Health Checks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Geoproximity policy?

A

Route traffic to your resources based on the geographic location of users and
resources
• Ability to shift more traffic to resources based on the defined bias
• To change the size of the geographic region, specify bias values:
• To expand (1 to 99) – more traffic to the resource
• To shrink (-1 to -99) – less traffic to the resource
• Resources can be:
• AWS resources (specify AWS region)
• Non-AWS resources (specify Latitude and Longitude)
• You must use Route 53 Traffic Flow to use this feature

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Multi Value?

A

Multi Value Query is used for routing to multiple resources:
Use when routing traffic to multiple resources
• Route 53 return multiple values/resources
• Can be associated with Health Checks (return only values for healthy resources)
• Up to 8 healthy records are returned for each Multi-Value query
• Multi-Value is not a substitute for having an EL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly