How to create a static website using amazon S3

You can use Amazon S3 to host a static website which includes static content.

Chris Phan · 1 minute read

In the digital age, having an online presence is essential for individuals and businesses alike. While dynamic websites with complex functionalities are common, static websites are gaining popularity due to their simplicity, cost-effectiveness, and superior performance. Amazon S3 (Simple Storage Service) is a versatile and scalable cloud storage solution offered by Amazon Web Services (AWS) that can be leveraged to host static websites efficiently. In this comprehensive guide, we will walk you through the process of creating a dynamic static website using Amazon S3, empowering you to establish a powerful online presence with ease.

Overview

In this article we will walk through steps to deploy a static website on Amazon S3:

  • Create a S3 bucket enabling policies for public access.
  • Config S3 bucket policies to allow access from internet.
  • Enabling S3 bucket

Amazon S3 static websites support only HTTP endpoints. So, to use HTTPS you can integrate Amazon S3 with CloudFront by follow the article Static Website On Amazon S3 and CloudFront.

Prerequisite

Assume that you already prepared static content and now you want to host those content on Amazon S3 and user can access it from internet via a public domain.

static-sites