Optimizing Content Delivery with CloudFront & Using Custom Domains Route 53 | AWS in Action

When serving a website to your customers, you typically want to use a custom domain (instead of some auto-generated AWS-picked domain). Route 53 allows you to register and assign your own domains. You can easily use it with fixed IPs or various AWS services, as you’ll see in this video. For optimizing content delivery, CloudFront can be used to cache some content at the edge (i.e., via edge locations). In this video, a website served by a server running on EC2 will use both services for optimal delivery. AWS in Action Playlist: Demo project code: Demo userdata script: AWS Cloud Practitioner course: Join our Academind Community on Discord: Check out all our other courses: 00:00 Introduction & Understanding CloudFront 03:15 The demo project 05:26 Creating a new EC2 instance 06:26 Testing the website 07:50 Auto-assigned domain names & custom domain names 08:08 Getting started with Route 53 & Registering a custom domain 09:19 Hosted zones & domain records 11:02 Forwarding custom domain traffic to an EC2 instance 12:36 Problems with auto-assigned IP addresses 12:57 Elastic IP addresses & domain routing 15:00 Adding an application load balancer 18:26 Forwarding domain traffic to load balancers 20:30 Optimizing content delivery with CloudFront 21:12 Creating a new CloudFront distribution 27:29 Testing & problems with adding a custom domain name 28:37 Adding a CNAME to the CloudFront distribution 29:23 Adding a custom SSL certificate (via Amazon Certificate Manager) 31:30 Forwarding domain traffic to a CloudFront distribution 33:07 Cleanup ---------- • Go to and subscribe to our newsletter to stay updated and to get exclusive content & discounts • Follow @maxedapps and @academind_real on Twitter • Follow @academind_real on Instagram: • Join our Facebook community on See you in the videos! ---------- Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, , RxJs, Bootstrap, Laravel, , Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at to find the learning resource of your choice!
Back to Top