I can't figure out how to use Amazon AWS. I am trying to set up the simplest possible thing (https-protected access to a s3 bucket) and failing. Can anyone give me advice :( https://cohost.org/mcc/post/1453305-please-help-i-am-baby
So they want me to use either "Cloudfront Functions" or "Lambda" to do a special redirect rule to add index.html. Except! The redirect rule would be solely name-based. I can't tell it "index.html if it's a directory". It *guesses* it's a directory based on the lack of file extensions. So if I take this approach I will never again serve a file which does not have an extension from this domain.
@mcc Even when it's mostly working, it's still super annoying. Heavy caching means that content takes ages to update, and if you have an emergency need to update it you have to make custom cache invalidation calls. (At least this was my early experience & why I've avoided it ever since.)
Okay I've got it working but apparently *it is not possible, when cloudfront is in front of S3, to automatically serve the file "index.html" when accessing a directory*. No no URL on my site actually works. Every source I am finding recommends fixing this by turning off s3 access from cloudfront and using having cloudfront access s3 via web, which means there will be an unencrypted link between cloudfront and s3.
I'm just a girl, standing in front of the fifth largest company in the world, asking your web hosting product to offer the same level of functionality that Geocities had in 1994
I work with the guy who is literally the world expert in Amazon billing (he has amazing tools that Amazon never exposed to customers) and he has put the fear of god into me over public S3 buckets being hit directly, so I wanted to warn you but you're on top of it 👏👏🙇♂️