YoVDO

Introducing Caching to a Serverless Application with CloudFront

Offered By: LinkedIn Learning

Tags

Amazon Web Services (AWS) Courses DNS Courses Web Hosting Courses API Gateways Courses Lambda@Edge Courses

Course Description

Overview

Learn how to employ caching with AWS CloudFront to improve the performance of your websites, web applications, or ecommerce applications.

Syllabus

Introduction
  • Increase your serverless site's performance with CloudFront
  • The power of performance and caching
  • Using the exercise files
  • A few helpful videos to watch first
1. Adding CloudFront to a Static Website
  • Set up an S3 bucket for website hosting
  • Deploy a website to an S3 bucket
  • Verify the origin of the website files you access
  • Create a CloudFront web distribution
  • Verify cache usage with Chrome network monitor
  • Update your DNS records to point to CloudFront
2. Adding CloudFront to a Serverless Application with Amplify
  • Web applications are just interactive websites
  • Setting up hosting with Amplify is setting up CloudFront
  • Examine an Amplify-generated hosting setup
  • Use the console and the CLI to configure your distribution
  • Remember to keep verifying caching
  • Remove your CloudFront distribution when you don't need it
3. Adding CloudFront to Cache API Gateway Results
  • Cache requests to API endpoints
  • Mock a GET endpoint in an API gateway
  • Deploy your API and test with curl
  • Create a CloudFront distribution
  • Test your distribution with curl and CloudWatch
4. Restricting S3 Content Using CloudFront and Lambda@Edge
  • Visualize authentication and authorization in your flow
  • Create a new lambda function
  • Add a lambda function to AWS
  • Set up a new trust relationship for your lambda function
  • Instruct CloudFront to invoke your lambda function
  • Test out authentication on your CloudFront distribution
Conclusion
  • Go further with caching

Taught by

Brett McLaughlin

Related Courses

Communicating Data Science Results
University of Washington via Coursera
Cloud Computing Applications, Part 2: Big Data and Applications in the Cloud
University of Illinois at Urbana-Champaign via Coursera
Cloud Computing Infrastructure
University System of Maryland via edX
Google Cloud Platform for AWS Professionals
Google via Coursera
Introduction to Apache Spark and AWS
University of London International Programmes via Coursera