DNS, Caching, Performance Optimization Flashcards
Hosted Zone
represents a set of records that belong to a domain that allow DNS to query for the IP address that aligns to the domain
Route53
Advanced DNS service
List Route53 Routing Policies
Simple
Failover
Geolocation
Geoproximity
Latency
Multivalue answer
Weighted
IP-Based
Simple Routing Policy
Simple DNS response providing the IP address associated with a name
Responds to DNS queries
Configure DNS records with domain name to multiple/single IP with TTL
Failover Routing Policy
If primary is down (based on health checks), routes to secondary destination
has a primary and secondary record type
Geolocation Policy
Uses geographic location of client in e.g. Europe to route you to the closest region
has name, type, value, health, and geolocation
Health checks are optional
Geoproximity Policy
Routes you to the closest region within a geographic area
Uses traffic flow, must create a policy in traffic flow - specify coordinates to route to endpoints that include CloudFront, Elastic Beanstalk, S3, and IP addresses
Latency Policy
Directs you a region based on the lowest latency route to resources
has name, value, record type, health id and region
value can be load balancer or IP
Health checks are optional
Multivalue answer Policy
Returns several IP addresses and functions as a basic load balancer
Health check returns only healthy records
Weighted Policy
Uses the relative weights assigned to resources to determine which to route to
Configure DNS records with domains, IP and weight so that traffic is routed to be proportional to the record according to the configured weight
Weights can be between 0 -255 (simplified values) or percentages
Health checks are optional
IP Based Policy
Uses the IP addresses of clients to make routing decisions
Create CIDR collections = are used to define IP addresses and CIDR blocks of clients
Routing rules can be created to route based on CIDR collection
Top Level domain
subdomain
hostname
last word of a Fully qualified domain name, e.g. com
Subdomains are everything outside of the top level e.g. example.com - example is subdomain; subdomain is subdivision of a domain name for organizing a set of related resources or services
first word in domain name (www.example.com)
Route 53 Features
Domain name registration
Hosted zones (support DNS resolution, query)
Health checks
Traffic flow
A record type
maps a domain name to an IP address
CNAME record type
maps a domain name to another domain name