sergej-brazdeikis / cloudformation-s3-static-website-with-cloudfront-and-route-53

MIT License
140 stars 78 forks source link

Why S3 will have public read right? #3

Open heikkis opened 6 years ago

heikkis commented 6 years ago

The S3 bucket will have public read right. Have you consider disabling that and just give CloudFront principal read access and listing for the bucket? Also S3 does not need static web hosting (index.html and error.html definitions) for CloudFront origin at all.