AWS Content Delivery and DNS Services Flashcards
The AWS Domain Name Service.
Amazon Route 53
Route 53 performs three main functions:
Domain registration – Route 53 allows you to register domain names.
Domain Name Service (DNS) – Route 53 translates name to IP addresses using a global network of authoritative DNS servers.
Health checking – Route 53 sends automated requests to your application to verify that it’s reachable, available, and functional.
You can use any combination of these functions.
Route 53 benefits:
Domain registration.
DNS service.
Traffic Flow (send users to the best endpoint).
Health checking.
DNS failover (automatically change domain endpoint if system fails).
Integrates with ELB, S3, and CloudFront as endpoints.
How does Route 53 determine how to respond to queries?
Routing Policies
Route 53 Routing policy that uses Simple DNS response providing the IP address associated with a name
Simple Routing Policy
Route 53 Routing policy used If primary is down (based on health checks), routes to secondary destination
Failover Routing Policy
Route 53 Routing policy that Uses geographic location you’re in (e.g. Europe) to route you to the closest region
Geolocation Routing Policy
Route 53 Routing policy that Routes you to the closest region within a geographic area
Geoproximity Routing Policy
Route 53 Routing policy that Directs you based on the lowest latency route to resources
Latency Routing Policy
Route 53 Routing policy that Returns several IP addresses and functions as a basic load balancer
Multivalue answer Routing Policy
Route 53 Routing policy that Uses the relative weights assigned to resources to determine which to route to
Weighted Routing Policy
A content delivery network (CDN) that allows you to store (cache) your content at “edge locations” located around the world.
Amazon CloudFront
Amazon CloudFront Uses
CloudFront can be used for data, videos, applications, and APIs.
CloudFront allows customers to access content more quickly and provides security against DDoS attacks.
CloudFront benefits:
Cache content at Edge Location for fast distribution to customers.
Built-in Distributed Denial of Service (DDoS) attack protection.
Integrates with many AWS services (S3, EC2, ELB, Route 53, Lambda).
CloudFront Origins and Distributions
An origin is the origin of the files that the CDN will distribute.
Origins can be either an S3 bucket, an EC2 instance, an Elastic Load Balancer, or Route 53 – can also be external (non-AWS).
To distribute content with CloudFront you need to create a distribution.