Skip to main content



Making AWS S3 Files Publicly Accessible

I stored some images in S3 but couldn't use them; if I tried to follow the link, I would get 'permission denied' errors. AWS documentation is a nightmare, so I'm putting the answer here, so I can find it again.  S3 contents are stored in 'buckets'. Each bucket has a unique name. The name of the file in an S3 bucket is called (for some unfathomable reason) the 'key'. The URL for any file in S3 is:       https://[bucket][key] Like I said, though, the file has to have permissions set so it can be viewed publicly. 1. Navigate to S3:   2. Either create a new bucket or select an existing bucket (there's a list on the page). 3. Click on the 'Permissions' tab and scroll down to 'Bucket Policy' 4. Click edit and insert the following JSON code and save it (the save button is way at the bottom right, in orange): {     "Version": "2012-10-17",     "Statement"

Latest posts

Setting Up Auto-Update for Let's Encrypt

Why humans can't trust humans: You don't know how they work, what they're going to do or whether they will serve your interests

Predicting the Best and Worst of Digital Life By 2035

My Conversation with Pi, the AI, on the Ethics of AI

Questions and Answers on AI Regulation