Configure Custom Error Pages for AWS CloudFront
In this lab, you’ll practice creating an S3 bucket, and setting it as an origin to serve custom error pages in CloudFront. When you’re finished with this lab, you’ll be able to configure a CloudFront distribution to use custom error pages.
Terms and conditions apply.
Create an S3 Bucket
You’ll create an S3 bucket to store static assets and HTML error pages.
Create a CloudFront Distribution
You'll create a CloudFront distribution.
Create a CloudFront S3 Origin
You'll add an Origin to a CloudFront distribution that points at an S3 bucket.
Add a Behavior to a CloudFront Distribution
You'll add a behavior to a CloudFront distribution to route all errors to an S3 origin.
Configure Error Pages for HTTP Status Codes
You’ll configure error pages for common 4xx and 5xx HTTP status codes.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
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.
- AWS CloudFront
- AWS S3