Route 53 routing policies

Why use anything besides latency based routing? It seems to provide the best option and makes the other options seems redundant?

Geolocation can be useful for compliace and regulation, e.g. show this website only for people in Germany, otherwise show this other default page.

Weighted policies for Blue/Green deployments, how would you do this with latency?

Failover, MultiValue also I can’t figure out how can they be redundant in regard to Latency, they are just different use cases.

For I think fail over is extremely redundant to latency. If I’m traffic towards web server A because it’s the lowest latency. Then when web server A goes down, I’ll just be shipped to the next web server with the lowest latency.

Failover routing is to be used for active/passive setups where you only want one of the options to be active and returned at a time. With latency based routing all options must always be ready to receive traffic from users at the same time.

What if you get really low latency 500s? :stuck_out_tongue:

… except you can attach a R53 healthcheck so that unhealthy regions are automatically dropped fron consideration. You can get even more specific if you use ARC.

Latency: You want users to go to whatever is the _network closest_ (not necessairily fastest response) origin. Internet weather can change the mapping unexpectly but frequently. Can be highly unbalanced region-wise.

Failover: You want users to go to A, unless A is down (either automatically or forced down with a RC routing control), then go to B. Not all applications can handle multi-region active-active cleanly.

Geolocation: You need people to go to a particular place, based on where they are. You might use this if you want to specifically route traffic and/or need people to reliably go to the same origin over time (for medium lengths of time). Mapping is relatively stable.

Weighted: You don’t care where people are, but want requests to be balanced at a particular % across the origins. Clients will definitely bounce between regions request-to-request. Good chance of being able to balance traffic across origins.

Geoproximity: You want to map people by physical proximity. Traffic may be unbalanced across origins. Mapping is relatively stable.

Yes sure. I just wanted to emphasize on active/passive vs active/active setups.