Search⌘ K

Host a Static Website on S3

Takes 30 mins

Amazon Simple Storage Service (Amazon S3) offers industry-leading scalability, data availability, security, and performance.

image

In this hands-on lab, we’ll learn to host a static website using S3. We’ll use the AWS console to upload files to the bucket, configure the public access permissions, create a custom error page, and clean up the allocated resources.

Lab tasks

  • Create an S3 bucket.
  • Enable static web hosting property.
  • Upload the HTML files.
  • Configure the public access permissions.
  • Create a custom error page.
  • Clean up allocated resources.

Architecture diagram

The following is the high-level architecture diagram of how to host a static website on S3.

image