How to configure a static website on Amazon S3 bucket
In this section, we will create an S3 bucket and enable website hosting configuring properties and adding a bucket policy on the bucket through the S3 console. Next, we will upload a sample static content to the bucket, and verify that the content is available over the Internet in the browser.
Getting ready
You don't need to request or fill-in any form to host a static website on Amazon S3 through the Amazon Management Console; nor do you pay any initial cost.
Before configuring a static website on Amazon S3, all you need to do is sign up to the AWS management console and access S3 using your IAM credentials.
How to do it…
Proceed with the following steps to host a static website on the Amazon S3 bucket. The point is to apply a bucket policy and enable a static website over the bucket after creating an S3 bucket and uploading your content through the S3 management console. Finally, an S3 website endpoint is generated, and you...