Amazon Route 53

Amazon Route 53 Overview

Amazon Route 53 is a DNS web service that effectively connects user requests to infrastructure running in AWS such as EC2 instances, ELB load balancers, or S3 buckets. It can also be used to route users to infrastructure outside of AWS. 

Route 53 is designed to be extremely reliable, highly available, scalable and cost effective. Amazon Route 53 is fully compliant with IPv6 as well.

 

Routing Polices

Route 53 Have 5 Routing Polices:

[Lab] Working with Route 53 Part 5 - Geolocation Routing Policy

We already created a EC2 server setup and tried few routing policies. We deleted those A records. We will create one with failover policy now. We will also need to create health check within route 53 for this. This policy lets you chose where traffic will be sent based on geographical location of users.

 

Steps:

  1. Copy your ELB dns address and go back to Route 53

  2. Go to Healthchecks and click on Create Health Check.

[Lab] Working with Route 53 Part 4 - Failover Routing Policy

We already created a EC2 server setup and tried few routing policies. We deleted those A records. We will create one with failover policy now. We will also need to create health check within route 53 for this. Use this policy when you want an active/passive setup.

 

Steps:

  1. Copy your ELB dns address and go back to Route 53

  2. Go to Healthchecks and click on Create Health Check.

[Lab] Working with Route 53 Part 3 - Latency Routing Policy

We already created a EC2 server setup and configured and uses simple routing policy. We deleted those A records. We will create one with latency policy now. This policy allows you to route based on lowest latency for end user (e.g. which region will give fastest response time).

 

Steps:

  1. Go back to Route 53 and inside the hosted zone for our domain. Click on the domain to see current records. NS and SOA records should be already created as default.

  2. Click on create record set.

[Lab] Working with Route 53 Part 2 - Weighted Routing Policy

We already created a EC2 server setup and configured and uses simple routing policy. We deleted the A record that specified simple routing. We will create one with weighted policy now. In this policy, requests for your domain that come to Route 53 will be forwarded to different regions or even different ELBs based on weight specified.

 

[Lab] Working with Route 53 Part 1 - Registering a Domain and setup Simple Routing Policy

We will create an EC2 server setup and configure and use simple routing policy in first part of this lab. For continuity and incurring less cost, it is better you do all the five parts of this lab together.

 

Steps:

  1. Login to AWS console and go to Route 53.

  2. Go to Registered Domains under Domains. You might have to click on get started if you are logging in for the first time.