How to set up Amazon AWS S3 Static Website Hosting - Enable permission

To enable permission for Amazon AWS S3 Static Website Hosting:

After you enable Static Website Hosting for your S3 bucket, you need to give the objects  s3:GetObject permission for it to work.

For example, the following allow everyone to have s3:GetObject permission to bucket it.i88.cawhich is very common for public static hosting.

 "Version": "2008-10-17",
 "Id": "Policy1407788858888",
 "Statement": [
   "Sid": "Stmt1407788848888",
   "Effect": "Allow",
   "Principal": {
    "AWS": "*"
   "Action": "s3:GetObject",
   "Resource": "*"

Also grant everyone List and View permissions in properties.

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file

How to delete / clear queue of PowerMTA