---
title: "How To Get Started with AWS Route 53"
description: "Learn how to get started with managed DNS via the AWS Route 53 service by Amazon in this ATA Learning tutorial!"
canonical: "https://adamtheautomator.com/aws-route-53/"
---

# How To Get Started with AWS Route 53

> Learn how to get started with managed DNS via the AWS Route 53 service by Amazon in this ATA Learning tutorial!

Source: https://adamtheautomator.com/aws-route-53/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![How To Get Started with AWS Route 53](https://adamtheautomator.com/wp-content/uploads/2022/09/How-To-Get-Started-with-AWS-Route-53.jpg)

# How To Get Started with AWS Route 53

[![](https://secure.gravatar.com/avatar/2beb65fca997135120ed98dc6a2e57dcdf1a7d7d2f5ff687b5d91dc7ccd7a6b5?s=192&d=mm&r=g)Sagar](https://adamtheautomator.com/author/shanky-mendiratta/)10 October 20225 min. read

Categories: [IT Ops](/category/it-ops/)

Tags:[AWS](/tag/aws/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [What is AWS Route 53?](#what-is-aws-route-53)
*   [Integrating AWS Route 53 with an EC2 Instance](#integrating-aws-route-53-with-an-ec2-instance)
*   [Routing Policies in AWS Route 53](#routing-policies-in-aws-route-53)
*   [Simple Routing](#simple-routing)
*   [Weighted Routing](#weighted-routing)
*   [Latency-Based Routing](#latency-based-routing)
*   [Monitoring Endpoints with AWS Route 53 Health Checks](#monitoring-endpoints-with-aws-route-53-health-checks)
*   [Conclusion](#conclusion)

Monitoring and managing DNS records is crucial for multi-tier microservices and applications in a data center or cloud infrastructure. One of the managed services of Amazon is AWS Route 53, which not only monitors applications using health checks but also takes care of all the domain networking parts.

In this tutorial, you’ll learn what AWS Route 53 is, how to integrate it with EC2, and some of its essential routing policies.

## Prerequisites

This post will be a step-by-step tutorial. If you’d like to follow along, ensure you have the following in place:

*   An [Amazon Web Service (AWS) account](https://repost.aws/knowledge-center/create-and-activate-aws-account).
*   An AWS EC2 Ubuntu machine with apache2 installed – This tutorial uses Ubuntu 20.04 LTS, but any operating system works.

Related:[How to Install Apache on Ubuntu to Manage your Traffic](https://adamtheautomator.com/install-apache-on-ubuntu/#Prerequisites)

## What is AWS Route 53?

AWS Route 53 is an AWS Managed Service that references traditional DNS ports and is highly available, scalable, and fully managed.

The AWS Route 53 service mainly uses the concept of records, allowing you to route traffic for a particular domain according to the requirements. Each record contains details such as domain or subdomain, record type, Value of record type, routing policy, and [TTL](https://ns1.com/resources/understanding-ttl-values-in-dns-records).

AWS Route 53 also allows you to check the health of your resources. Furthermore, AWS Route 53 is also a _domain registrar_, so anyone can purchase the domain they wish to if it is available.

## Integrating AWS Route 53 with an EC2 Instance

You have a basic idea about AWS Route 53, which is excellent. But do you know AWS Route 53 integrates with various AWS services such as CloudFront, AWS EC2, load balancer, etc.?

But in this tutorial, you will learn to integrate the EC2 instance with AWS Route 53. Perform the following steps.

1\. Open your favorite web browser, navigate the [AWS Management Console](https://aws.amazon.com/console/), and log in.

2\. While in the Console, click on the search bar at the top, search ‘_Route 53_‘, and click Route 53 on the results.

![Launch the AWS Route 53 console](https://adamtheautomator.com/wp-content/uploads/2022/09/image-492.png)

Launch the AWS Route 53 console

3\. Next, click Hosted zones → Create hosted zone to create a new hosted zone. The hosted zone will contain all the records related to your domain.

> _A hosted zone is similar to a zone file containing records containing information about how you want to route traffic for a specific domain, such as example.com and its subdomains (abc.example.com, xyz.example.com)._

![Creating a new Hosted zone](https://adamtheautomator.com/wp-content/uploads/2022/09/image-493.png)

Creating a new Hosted zone

4\. On the Create hosted zone, enter the Domain name that you want AWS Route 53 to route traffic. Optionally, add a Description to identify this zone better. Lastly, select Public hosted zone as type; this option means you’re routing the domain traffic on the internet.

![Configure the hosted zone](https://adamtheautomator.com/wp-content/uploads/2022/09/image-494.png)

Configure the hosted zone

5\. After you create a hosted zone, you will see the hosted zone appear in the Hosted zones. In the hosted zone, create a new record by clicking on the Create record button.

![Creating a new record on the Hosted zone.](https://adamtheautomator.com/wp-content/uploads/2022/09/image-495.png)

Creating a new record on the Hosted zone.

6\. On the Quick create record page, add the record name you want to create. For example, if the DNS record is _testawsec2.automateinfra.com_, type _testawsec2_as the record name.

On the Record type, choose option A – Routes traffic to an IPv4 address and some AWS resources.

Type the target IP address inside the Value field. If there are multiple target IP addresses, enter them per line.

Finally, click Create records.

![Creating a DNS A record in AWS Route 53](https://adamtheautomator.com/wp-content/uploads/2022/09/image-496.png)

Creating a DNS A record in AWS Route 53

7\. After creating the record, you will see the record (testawsec2.automateinfra.com) under the Records section.

![Viewing the type (A) record](https://adamtheautomator.com/wp-content/uploads/2022/09/image-497.png)

Viewing the type (A) record

8\. Now, open the AWS CloudShell from the Amazon Management console to verify if your created record is working correctly. To do so, search cloud shell in the search box and click CloudShell on the results.

![Launch AWS CloudShell](https://adamtheautomator.com/wp-content/uploads/2022/09/image-498.png)

Launch AWS CloudShell

9\. Here, execute the below command to verify if the A record (testawsec2.automateinfra.com) that you created is pointing to the correct IP address or not.

```powershell
dig testawsec2.automateinfra.com
```

You can see that the A record you created is correct, and the [testawsec2.automateinfra.com](http://testawsec2.automateinfra.com/) DNS records return the correct IP addresses.

![Dig command to verify the IP address and A record](https://adamtheautomator.com/wp-content/uploads/2022/09/image-499.png)

Dig command to verify the IP address and A record

Related:[Get an IP Address on Linux : Discover the Many Ways](https://adamtheautomator.com/get-an-ip-address-on-linux/)

## Routing Policies in AWS Route 53

In AWS Route 53, it is essential to know how to route traffic, and to define these routes, AWS provides a feature known as routing policies. Routing policies explain how Route 53 responds to DNS queries. There are mainly three types of Routing policies that are supported by Route 53. Below is the summary of each.

### Simple Routing

Route 53 routes traffic to a single AWS resource with a simple routing policy. This policy cannot be associated with Health checks.

To create the simple routing policy navigate to **Route 53 → Hosted zones → (Zone-Name) → Create Record → Routing Policy as Simple.**

![Creating a simple Routing Policy in Route 53](https://adamtheautomator.com/wp-content/uploads/2022/09/image-500.png)

Creating a simple Routing Policy in Route 53

### Weighted Routing

In this type of routing policy, you control the percentage that navigates to each specific AWS resource. In other words, you can assign which among the endpoints will get the heavier traffic. For example, the weight of 0 means completely no traffic.

To create the weighted routing policy, navigate to **Route 53 → Hosted zones → (Zone-Name) → Create Record → Routing Policy as Weighted.**

In the below image, the weighted policy contains two records with the same name (weighted) with a weightage of 25 and 75 percent. When the requests come, Route 53 will route 25 percent of traffic to 192.10.0.24 and 75 percent to 192.10.0.25.

> _The record name should be the same when you create a weighted policy._

![Creating a Weighted Routing Policy in Route 53](https://adamtheautomator.com/wp-content/uploads/2022/09/image-501.png)

Creating a Weighted Routing Policy in Route 53

### Latency-Based Routing

Latency-based routing redirects traffic to the resource with the least latency. This routing is helpful when latency for users is a priority. It can also be associated with Health checks.

As you can see below, the record (latency-based) uses a latency-based routing policy pointing to the Hong Kong region so that if any Hong Kong users make a request, then Route 53 will route your request to 192.10.0.24.

![Creating a latency based Routing Policy in Route 53](https://adamtheautomator.com/wp-content/uploads/2022/09/image-502.png)

Creating a latency based Routing Policy in Route 53

## Monitoring Endpoints with AWS Route 53 Health Checks

Do you know Route 53 also monitors the health of your application by checking the health of your application before forwarding the requests? Health checks in Route 53 monitor an endpoint; it may be an application, a server, or other AWS resources.

Follow the below steps to better understand this concept.

1\. Navigate to the AWS Route 53 console. Click Health checks → Create health check.

![](https://s3.us-west-2.amazonaws.com/secure.notion-static.com/dda6c3ff-b8a7-4c60-bd9a-42b0ab2ad071/Untitled.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAT73L2G45EIPT3X45%2F20220918%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20220918T204830Z&X-Amz-Expires=86400&X-Amz-Signature=01b81b87601c364d60e4e82ea7c1bdfa3ed2737c4453551e4e8be03664a479c5&X-Amz-SignedHeaders=host&response-content-disposition=filename%20%3D%22Untitled.png%22&x-id=GetObject)

2\. On the Configure health check page, enter the name of the health check (my\_health\_check) and the IP address of your server, type 80 as the port, and click Save.

![Creating a health check for AWS EC2 instance](https://adamtheautomator.com/wp-content/uploads/2022/09/image-503.png)

Creating a health check for AWS EC2 instance

3\. After successfully creating the health check, you should see something like the one below. The health check status will be initially Unknown as it takes time to check the application.

![Verifying the health check ](https://adamtheautomator.com/wp-content/uploads/2022/09/image-504.png)

Verifying the health check

4\. To verify if the application works fine, browse the server’s IP address using your browser. You should see the apache page loaded if the apache service is running.

![Verifying the Apache service on the browser](https://adamtheautomator.com/wp-content/uploads/2022/09/image-505.png)

Verifying the Apache service on the browser

Check the health check status later, and you will notice that the status becomes healthy and shows the Green color line.

![Verifying the Health check of the apache service](https://adamtheautomator.com/wp-content/uploads/2022/09/image-506.png)

Verifying the Health check of the apache service

## Conclusion

In this tutorial, you’ve learned what AWS Route 53 is, how to integrate it with an AWS EC2 instance, and monitor the health of your applications using health checks.

By now, you should have a good understanding of AWS Route 53. Go wild and test out everything you can with your applications and endpoint. Good luck!

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Faws-route-53%2F&text=How%20To%20Get%20Started%20with%20AWS%20Route%2053)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Faws-route-53%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Faws-route-53%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2022/05/HMaster-Your-Data-with-AWS-Quicksight.jpg)

### [Make Data-Driven Decisions with AWS QuickSight Analytics](/aws-quicksight/)

Struggling to make sense of your data? Discover how AWS QuickSight transforms data into actionable insights for smarter decision-making.

![](https://adamtheautomator.com/wp-content/uploads/2023/11/aws-network-access-analyzer-2.jpg)

### [Getting Started with AWS Network Access Analyzer](/aws-network-access-analyzer/)

Unlock the power of AWS Network Access Analyzer. Master network security with step-by-step guidance in this tutorial today!

![](https://adamtheautomator.com/wp-content/uploads/2023/11/ngrok-remote.jpg)

### [Hosting an Ngrok Remote Web App on AWS](/ngrok-remote/)

Learn how to run the Ngrok remote web application on AWS with the FastAPI Python endpoint in Linux through this ATA Learning tutorial!

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
