AWS Management Console

Let's see how to host a static website on Amazon S3:

  1. Create the S3 bucket and grant public access: Create a bucket with the name and grant Public permissions so that anonymous users can access the HTML files:
Figure 4.18: Create Bucket (
  1. Upload the HTML file: Upload index.html file to bucket
  2. Edit the Bucket permission: Go to the Bucket's Permission tab and click on Bucket Policy.
Figure 4.19: Bucket Policy

Add the following policy and click on ...

Get Amazon Web Services Bootcamp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.