-
Create Bucket, disable
Block all public access
, enable ACL. -
Under Objects upload
index.html
. Select the file > select Actions > selectMake Public using ACL
-
Under Permissions > Bucket Policy add:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "PublicReadGetObject", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::basu-doc-frontend/*" } ] }
-
Under Properties > Enable
Static Website Hosting
and visit the html page from a browser using the URL endpoint from the tab.