Search⌘ K

S3 Static Website Hosting

Explore how to host static websites with Amazon S3 by uploading HTML files and configuring S3 website endpoints. Understand how to use custom domains, manage public access with bucket policies, and leverage CloudFront for content distribution. Learn practical use cases such as displaying out-of-service pages cost-effectively and hosting promotional sites.

Static websites are web applications that consist of fixed, unchanging content. They present pre-built, unaltered HTML, CSS, and JavaScript files directly to the user’s web browser.

Static website hosting in S3

S3 buckets allow us to upload static HTML web pages and serve them on region-specific website endpoints. The general format of an S3 endpoint is of two types, depending upon the region.

  • ...