1. Home
  2. Training Library
  3. Amazon Web Services
  4. Courses
  5. Static Website Hosting, Storage, and Content Delivery on AWS

Configuring Route53

Contents

keyboard_tab
Outlining our plan
1
Introduction
PREVIEW2m 19s
2
Data Delivery Flow
PREVIEW1m 7s

The course is part of these learning paths

AWS Networking & Content Delivery
course-steps 7 certification 2 lab-steps 5
AWS Advanced Networking – Specialty Certification Preparation
course-steps 19 certification 2 lab-steps 8 quiz-steps 4
Operations on AWS
course-steps 6 certification 2 lab-steps 3
play-arrow
Start course
Overview
DifficultyBeginner
Duration18m
Students2647
Ratings
4.9/5
star star star star star-half

Description

Even if many modern websites require complex server-side technologies to deliver dynamic content, many organizations still need pretty simple static websites just relying on HTML, CSS and Javascript. Nevertheless, even websites delivering static content need to scale and grant high availability, and a low latency, as the visits grow over time.

In this course, the expert CloudAcademy's Senior Devops Engineer, Antonio Angelino, will discuss how to set up a static website on the Cloud using only Amazon S3 to store the files, Amazon CloudFront for content delivery, Route 53 to associate a custom domain name to our website, and Amazon Glacier to set up an automatic backup strategy of the website's files on S3. It's an effective and low-cost solution that avoids the burden of configuring an EC2 instance with a webserver for a task that is very simple, but still needs good skills to be accomplished proficiently.

Who should follow this course

As a beginner-to-intermediate course, you are expected to have some experience with the basic concepts of website hosting. Also, you should have at least a small experience with the AWS services described in the course, namely S3, CloudFront, Route53 and Glacier. In any case, you should be able to understand the key concepts shown in this course even if you are a newcomer of the Amazon Cloud. 

If you need to learn more about the AWS services cited here, please check our collection of AWS courses. Also, if you want to test your knowledge on the basic topics covered in this course, check out our AWS questions. You will learn more about every single services cited in this course. 

If you have thoughts or suggestions for this course, please contact Cloud Academy at support@cloudacademy.com.

Transcript

When you host a website on Amazon S3, AWS assigns a website URL based on the name of the storage location you create in Amazon S3 to hold the website files in the geographical region where you created the bucket. CloudFront also creates an ugly URL to serve all files of your distribution. If you want to associate a custom domain to a CloudFront distribution you need to configure its DNS zone records accordingly. In this video we'll configure the cloudacademylab.com domain using Route 53. Amazon Route 53 is a scalable domain name system, or DNS, service that provide secure and reliable routing to locations both inside and outside of AWS.

We need to associate an A record with the route domain and the www sub domain, open the Amazon Route 53 console and in hosted zones window, click create hosted zone.

In the domain name box, type the custom domain name, click the create hosted zone button at the bottom of the page. When the hosted zone is successfully created, in the list or domain names select the check box that corresponds to the domain name.

In the details pane under delegation set, Amazon Route 53 displays the set of name servers that have been allocated for that domain.

We need to point our registered domain to these name servers for using it. Now we are ready to configure the required A record in order to use CloudFront in the Amazon Route 53 console. In the details pane, select the check box that corresponds to the previously created zone, and then click create record set. Fill in the fields as follows, the name box is already pre-filled, you can leave the default value. In the type box select A-IPv4 address to create an A record for your domain, in alias click yes, and under alias target select the CloudFront distribution.

In the routing policy box select simple. Leave evaluate target health set to no. Finally click the create record set button at the bottom of the pane. Next we have to create another A record that points to the www sub-domain. Click create record set and fill in the following fields. In the name box type www. In the type box select A-IPv4 address to create an A record. In alias click yes, in the alias target box select the CloudFront distribution from the drop down list that appears. In the routing policy box click simple. Leave evaluate target health set to no. Click the create record set button at the bottom of the pane. All services are now configured but we need to wait up to 48 hours for these changes to take effect, and then any visitors who refer to the site by using cloudacademylab.com or cloudacademymylab.com will be invisibly redirected to the nearest CloudFront edge location where they'll benefit from faster download times.

About the Author

Students34561
Labs7
Courses4

Antonio is an IT Manager and a software and infrastructure Engineer with 15 years of experience in designing, implementing and deploying complex webapps.

He has a deep knowledge of the IEEE Software and Systems Engineering Standards and of several programming languages (Python, PHP, Java, Scala, JS).

Antonio has also been using and designing cloud infrastructures for five years, using both public and private cloud services (Amazon Web Services, Google Cloud Platform, Azure, Openstack and Vmware vSphere).

During his past working experiences, he designed and managed large web clusters, also developing a service orchestrator for providing automatic scaling, self-healing and a Disaster Recovery Strategy.

Antonio is currently the Labs Product Manager and a Senior DevOps Engineer at Cloud Academy; his main goal is providing the best learn-by-doing experience possible taking care of the Cloud Academy Labs platform.