- Lab
- A Cloud Guru
Assigning a FQDN (Fully Qualified Domain Name) to an EC2 Instance Using Route 53
In this hands-on lab, we will assign a fully qualified domain name to an EC2 instance using Route 53. Our first step will be to create an EC2 instance and set it up as a web server. Then, we will create two record sets in a provided hosted zone in Route 53. Finally, we will verify that the domain name is working by using the domain name to serve the newly configured web server.
Path Info
Table of Contents
-
Challenge
Create an EC2 Instance
- Create an EC2 instance, select the T2 micro free tier eligible instance type.
- Make sure to enable Auto-assign Public IP.
- Connect to the instance via a terminal.
- Install and launch the
httpd
service onto the instance. - Open a new browser tab, paste in the copied public IP address to verify our web server is up and running by displaying the Apache splash page.
-
Challenge
Create Record Sets
- Navigate to the Route 53 service.
- Create two records:
- An A record that points to non-www version of the instance
- Another A record that points to the www version of that instance
- Open a browser, visit the www version and non-www version of the instance via its domain name.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.