Latency Routing vs Geoproximity Routing vs Geolocation Routing

Home » AWS Cheat Sheets » AWS Comparison of Services » Latency Routing vs Geoproximity Routing vs Geolocation Routing

Latency Routing vs Geoproximity Routing vs Geolocation Routing

Last updated on April 10, 2023

 

Latency Routing

Geoproximity Routing

Geolocation Routing

Definition

Lets Route 53 serve user requests from the AWS Region that provides the lowest latency. It does not, however, guarantee that users in the same geographic region will be served from the same location.

Latency-based routing is based on latency measurements performed over a period of time, and the measurements reflect changes in network connectivity and routing.

Lets Amazon Route 53 route traffic to your resources based on the geographic location of your users and your resources. 

You can also optionally choose to route more traffic or less to a given resource by specifying a value, known as a bias. A bias expands or shrinks the size of the geographic region from which traffic is routed to a resource.

Resources serve traffic based on the geographic location of your users, meaning the location that DNS queries originate from.

How it works

To use latency-based routing, you create latency records for your resources in multiple AWS Regions. When Route 53 receives a DNS query for your domain or subdomain, it determines which AWS Regions you’ve created latency records for, determines which region gives the user the lowest latency, and then selects a latency record for that region. Route 53 responds with the value from the selected record, such as the IP address for a web server.

Record sets can be created using any record type supported by Route 53, except NS or SOA records.

To use geoproximity routing, you must use Route 53 traffic flow

You create traffic flow policies for your resources and specify one of the following values for each policy:

  • If you’re using AWS resources, you can set the AWS Region where your resource is created

  • If you’re using non-AWS resources, you can enter the latitude and longitude of the resource

Geolocation works by mapping IP addresses to locations. Some IP addresses aren’t mapped to geographic locations, so Amazon Route 53 will receive some DNS queries from locations that it can’t identify.

You can create a default record that handles both queries from IP addresses that aren’t mapped to any location and queries that come from locations that you haven’t created geolocation records for. If you don’t create a default record, Route 53 returns a “no answer” response for queries from those locations.

No two records should specify the same geographic location.

Use Case

Use when you have resources in multiple AWS Regions and you want to route traffic to the region that provides the best latency.

Use when you want to route traffic based on the location of your resources and, optionally, shift traffic from resources in one location to resources in another.

Use when you want to route traffic based on the location of your users.

  • You can localize your content and present some or all of your website in the language of your users.

  • You can restrict distribution of content to only the locations in which you have distribution rights.

  • Useful for balancing load across endpoints in a predictable, easy-to-manage way, so that each user location is consistently routed to the same endpoint.

Reference:

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html

Tutorials Dojo portal

Be Inspired and Mentored with Cloud Career Journeys!

Tutorials dojo strip

Tutorials Dojo portal

Enroll Now – Our Azure Certification Exam Reviewers

azure reviewers tutorials dojo

Enroll Now – Our Google Cloud Certification Exam Reviewers

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

FREE AWS Exam Readiness Digital Courses

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

FREE Intro to Cloud Computing for Beginners

FREE AWS, Azure, GCP Practice Test Samplers

Recent Posts

Written by: Jon Bonso

Jon Bonso is the co-founder of Tutorials Dojo, an EdTech startup and an AWS Digital Training Partner that provides high-quality educational materials in the cloud computing space. He graduated from Mapúa Institute of Technology in 2007 with a bachelor's degree in Information Technology. Jon holds 10 AWS Certifications and is also an active AWS Community Builder since 2020.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?