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.
Lab info
Lab author
Challenge
Create an S3 Bucket
You’ll create an S3 bucket to store static assets and HTML error pages.
Challenge
Create a CloudFront Distribution
You'll create a CloudFront distribution.
Challenge
Create a CloudFront S3 Origin
You'll add an Origin to a CloudFront distribution that points at an S3 bucket.
Challenge
Add a Behavior to a CloudFront Distribution
You'll add a behavior to a CloudFront distribution to route all errors to an S3 origin.
Challenge
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.
Guided walkthrough
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.
Recommended prerequisites
- AWS CloudFront
- Distributions
- Origins
- AWS S3
- Buckets