Route53 Routing Policies Flashcards

1
Q

What are the Route53 Routing Policies in AWS?

A
  • Simple Routing
  • Weighted Routing
  • Latency-based Routing
  • Failover Routing
  • Geolocation Routing
  • Geoproximity Routing (Traffic Flow Only)
  • Multivalue Answer Routing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does Amazon’s Simple Routing Policy work?

A
  • You can only have 1 record, it maps to multiple IP Addresses
  • If you specify multiple values in a record, Route53 returns all values in random order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When using Simple Routing Policy, why will two requests to the same server back-to-back always return the same IP address twice?

A

DNS cacheing

On the first request, the server is randomly selecting which IP address the record should map to (in accordance with the simple routing policy), and then cacheing that value for the TTL

But on the second request, DNS is just going to the cache,

To get a new random value, you will either need to flush the DNS cache or wait the TTL.

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

How does Amazon’s Weighted Routing Policy work?

A
  • Allows you to split traffic based on different weights assigned
    • (E.g. you can send 10% of your traffic to US-EAST-1 and the other 90% to EU-WEST-1)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do Health Checks factor in to Route53 routing?

A
  • You can set up health checks on individual record sets
  • If a record set fails a health check, it will be removed from Route53 until it passes the health check
  • you can set up SNS notifications to alert you if a health check is failed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When using a weighted routing policy, should your inputted weights be numerators or percentages?

A

Numerators

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

How does Route53 Latency-based Routing work?

A
  • It allows you to route your traffic to the region with the fastest response time
  • To use it, you need to create a latency resource record set for the EC2 (or ELB) resource in each region that hosts your website.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does Route53’s Failover Routing Policy work?

A
  • Designed for when you want an active/passive setup (Disaster Recovery)
  • You pick a primary and a secondary site, Route53 monitors the health of your primary instance using health checks, and if primary goes down, Route53 automatically switches traffic over to the secondary site.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does Route53’s Geolocation Routing Policy work?

A
  • Choose where your traffic is sent based on the geographic location of the user (i.e. the location from which the DNS queries originate)
  • Idea: PHYSICAL LOCATION NOT LATENCY
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

At a high level, how does Route53’s Geoproximity Routing work?

A
  • route traffic based on geographaic location of users AND locations
  • You can also optionally choose to route more/less traffic to a given resource by specifying a bias, which expands/shrinks the size of the geographic region from which traffic is routed to a resource
  • To use geoproxminity routing, you must use Route53 traffic flow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does Route53’s Multivalue Answer Policy work?

A
  • Route53 can return multiple values, such as IP addresses for your wbe servers, in response to DNS queries.
  • You can specify multiple values for almost any record, but multivalue answer routing also lets you check the health of each resource, so Route 53 returns only values for healthy resources
  • Just like simple routing, but you can put health checks on each record set and filter for only healthy resources.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly