Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Introducing Caching to a Serverless Application with CloudFront

via LinkedIn Learning

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

Reviews

4.3 rating at LinkedIn Learning based on 15 ratings

Start your review of Introducing Caching to a Serverless Application with CloudFront

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.