Service · Networking and Content Delivery
Amazon Route 53
The AWS DNS service. It registers domain names and sends users to a healthy endpoint for each name.
- 1A user types example.com. The browser’s DNS question reaches Route 53. Health checks show the main site is working, so Route 53 answers with its address.
- 2The browser connects straight to the main site. This traffic does not pass through Route 53.
Step by step
- 1A user types example.com. The browser’s DNS question reaches Route 53. Health checks show the main site is working, so Route 53 answers with its address.
- 2The browser connects straight to the main site. This traffic does not pass through Route 53.
Simple
- Sends users
- To one resource
- Example
- A small website on one server
Weighted
- Sends users
- To several resources, in shares you choose
- Example
- Send 10% of users to a new version
Latency
- Sends users
- To the Region with the lowest latency for them
- Example
- An application running in several Regions
Failover
- Sends users
- To a standby only when the main site is unhealthy
- Example
- A backup site for disaster recovery
Geolocation
- Sends users
- By the country or continent the user is in
- Example
- Content in the local language, or rules that differ by country
| Routing policy | Sends users | Example |
|---|---|---|
| Simple | To one resource | A small website on one server |
| Weighted | To several resources, in shares you choose | Send 10% of users to a new version |
| Latency | To the Region with the lowest latency for them | An application running in several Regions |
| Failover | To a standby only when the main site is unhealthy | A backup site for disaster recovery |
| Geolocation | By the country or continent the user is in | Content in the local language, or rules that differ by country |
1 / 3
Simple
- Sends users
- To one resource
- Example
- A small website on one server
Weighted
- Sends users
- To several resources, in shares you choose
- Example
- Send 10% of users to a new version
| Routing policy | Sends users | Example |
|---|---|---|
| Simple | To one resource | A small website on one server |
| Weighted | To several resources, in shares you choose | Send 10% of users to a new version |
2 / 3
Latency
- Sends users
- To the Region with the lowest latency for them
- Example
- An application running in several Regions
Failover
- Sends users
- To a standby only when the main site is unhealthy
- Example
- A backup site for disaster recovery
| Routing policy | Sends users | Example |
|---|---|---|
| Latency | To the Region with the lowest latency for them | An application running in several Regions |
| Failover | To a standby only when the main site is unhealthy | A backup site for disaster recovery |
3 / 3
Geolocation
- Sends users
- By the country or continent the user is in
- Example
- Content in the local language, or rules that differ by country
| Routing policy | Sends users | Example |
|---|---|---|
| Geolocation | By the country or continent the user is in | Content in the local language, or rules that differ by country |
What it is
Computers find each other by IP address, but people use names such as example.com. The Domain Name System (DNS) turns a name into an address. Amazon Route 53 is the highly available and scalable DNS service of AWS.
Route 53 does three jobs, together or on their own. It registers domain names. It answers DNS queries, so a browser that asks for example.com is sent to your load balancer, an Amazon CloudFront distribution, a website in Amazon S3 or a server outside AWS. And it checks the health of your endpoints, so it can send users away from one that has failed.
What it is
A routing policy decides which answer each user gets. Latency routing sends users to the Region with the lowest latency, or network delay, for them. Failover routing switches to a standby site when health checks fail.
Remember
- Three jobs: domain registration, DNS routing and health checks.
- It can route users to resources in AWS and outside AWS.
- Route 53 only answers the question “where is this name?”. The user’s traffic then goes straight to that address.
- Routing policies include simple, weighted, latency, failover and geolocation.
Remember
- Health checks and failover routing keep users away from a site that is down.
On the exam
- “Register a domain name and route users to a website” points to Amazon Route 53.
- “Send users to the Region with the lowest latency” is Route 53 latency routing. “Send users to a backup site when the main one fails” is failover routing.
- Route 53 chooses where users go by answering DNS queries. Spreading requests across servers inside a Region is Elastic Load Balancing.
Do not mix it up with
AWS Global AcceleratorGives an application fixed IP addresses and carries its traffic over the AWS global network to the best healthy Region.
Elastic Load BalancingSpreads incoming traffic across many targets and sends it only to the healthy ones.
Amazon CloudFrontA content delivery network. It keeps copies of your content in edge locations near users, so pages and video load faster.