The documentation about configuring an S3 static website says
Task 1 - Set up an S3 bucket for a subdomain
To create and configure your subdomain S3 bucket, follow these instructions from Amazon:
- Use the AWS management console to Create an S3 Bucket. For the Bucket name , use the subdomain URL without the
https://part; for example,
- Then, Configure an S3 Bucket for Static Website Hosting. After you save the static website hosting configuration, you can skip disabling public access for your bucket.
would not work specifically because of the sentence
After you save the static website hosting configuration, you can skip disabling public access for your bucket.
and the S3 bucket policy specifyied a few lines below to allow Cloudflare to access the bucket through its IPs is public (
It would be great if it were updated to stop confusing people into not being able to set up their S3 static websites or if a specific Cloudflare AWS Principal were configured to make the bucket policy Private instead of Public
By the way it would be great if a “Documentation issue” tag existed