Route 53 Flashcards
What does the DNS ‘A’ record type do?
Maps a hostname to IPv4
What does the DNS ‘AAAA’ record type do?
Maps a hostname to IPv6
What does the DNS ‘CNAME’ record type do?
Maps a hostname to another hostname (the target must have an ‘A’ or ‘AAAA’ record, cannot create a CNAME for the top node of a DNS namespace e.g. example.com but www.example.com is ok).
What does the DNS ‘NS’ record type do?
Name servers for the hosted zone, controls how traffic is routed for a domain
What is a hosted zone?
A container for records that define how to route traffic to a domain and its sub-domains. Can be public or private.
What DNS record type is TTL not required for?
Alias
What is the difference between a CNAME and an Alias DNS record type?
CNAME points a hostname to any other hostname, but only for a non-root domain (dev.something.com). An Alias points a hostname to an AWS resource and does work for root domains. Ideal for pointing to a load balancer.
What are some example targets of a DNS Alias?
Elastic Load Balancers, Amazon CloudFront, Amazon API Gateway, Elastic Beanstalk, S3 Websites, Another Route53 Record (on same hosted zone)
Can you set an Alias DNS record for an EC2 DNS name?
No
What is the simple routing policy in Route 53?
Route traffic to a single resource. Can specify multiple values, a random one is chosen by the client (DNS response returns all)
What is the weighted routing policy in Route 53?
Control the percentage of the requests that go to each resource. Determines what IP is returned.
What is the latency-based routing policy in Route 53?
Selects the resource that has the least latency (can be used to select the closest location)
What is the Route 53 health check feature?
For public resources only, checks the health of resources, if a resource goes down automated DNS failover happens
In terms of Route 53 and health checks, how can you check the health of a private resource (something on a VPC)?
Create a cloud watch metric and associate a cloud watch alarm, then create a health check that checks the alarm itself
What is the failover routing policy in Route 53?
When the primary resource is healthy it is returned as the DNS result, otherwise the secondary is returned. Uses health check (required for primary resource).