Route 53

Amazon Route 53

Amazon Route 53 is the AWS domain name system (DNS) service.

  • Translates domain names into IP addresses

  • Enables purchasing and management of domain names

  • Automatically configures DNS settings for purchased domains

  • Provides tools for flexible, high-performance, highly available architectures on AWS

  • Performs health checks and can provide region-level failover through DNS resolution

Do you know why AWS chooses 53 is the name for this service? Hint: 53 is a DNS port number ^^

Route 53 routing options

  • Simple round robin - Distributes the number of requests as evenly as possible between all participating targets.

  • Weighted round robin - Allows you to assign weights to resource record sets in order to specify the frequency with which different responses are served. You may want to use this capability to do A/B testing, sending a small portion of traffic to a server on which you’ve made a software change. For instance, suppose you have two record sets associated with one DNS name: one with weight 3 and one with weight 1. In this case, 75 percent of the time, Amazon Route 53 will return the record set with weight 3. Twenty-five percent of the time, Amazon Route 53 will return the record set with weight 1. Weights can be any number between 0 and 255.

  • Latency-based routing - Helps you improve your application’s performance for a global audience. LBR works by routing your customers to the AWS endpoint (e.g., Amazon EC2 instances, Elastic IP addresses, or load balancers) that provides the fastest experience based on actual performance measurements of the different AWS Regions where your application is running.

  • Health check and DNS failover - Monitor the health and performance of your web applications, web servers, and other resources. Each health check that you create can monitor one of the following:

    • The health of a specified resource, such as a web server

    • The status of other health checks

    • The status of an Amazon CloudWatch alarm

    • After you create a health check, you can get the status of the health check, get notifications when the status changes, and configure DNS failover.

  • Geolocation routing - Lets you choose the resources that serve your traffic based on the geographic location of your users (the origin of DNS queries). When you use geolocation routing, you can localize your content and present some or all of your website in the language of your users. You can also use geolocation routing to restrict distribution of content to only the locations in which you have distribution rights. You can also balance load across endpoints in a predictable, easy-to-manage way, so each end-user location is consistently routed to the same endpoint.

  • Geoproximity routing - Lets you route traffic based on the physical distance between your users and your resources if you’re using Route 53 traffic flow. You can also route more or less traffic to each resource by specifying a positive or negative bias. When you create a traffic flow policy, you can specify either an AWS Region (if you’re using AWS resources) or the latitude and longitude for each endpoint.

  • Multi-value answers

    • If you want to route traffic approximately randomly to multiple resources, such as web servers, you can create one multi-value answer record for each resource and, optionally, associate an Amazon Route 53 health check with each record.

    • For example, suppose you manage an HTTP web service with 12 web servers that each have their own IP address. No one web server could handle all of the traffic, but if you create a dozen multi-value answer records, Amazon Route 53 responds to DNS queries with up to eight healthy records in response to each DNS query. Amazon Route 53 gives different answers to different DNS resolvers. If a web server becomes unavailable after a resolver caches a response, client software can try another IP address in the response.