3 ms·
Yeah I managed to get the file into the bucket. However I couldn't get the permissions to let it be publicly visible despite working through several tutorials.
by drchewbacca 7y ago
Yeah I managed to get the file into the bucket. However I couldn't get the permissions to let it be publicly visible despite working through several tutorials.
I ended up on Netlify, it's 1000x more my speed.
- cloakandswagger 7y agoI've never used S3 to host a website before so I decided to try this and see if it's really that complicated. First, I searched for "host static website on S3" and found an AWS docs page with a walkthrough. Then, I created an S3 bucket through the console. I uploaded a "hello world" index.html file to it. Then I went to Properties, checked "Use this bucket to host a website" and gave it the name of my index file. When I clicked Save, I had a hosted HTML file that I could navigate to. I'm struggling to see how it could be simpler than that. What exact problems did you run into?
- drchewbacca 7y agoSo this was a while ago and I fully admit it might have been me being stupid. However when I was doing it I don't think there was a "Use this bucket to host a website" button. Instead you had to give the bucket a special type of permissions which meant anyone could see the contents but no one could write to it. I kept following the guide as closely as I could but I couldn't get it to take.
- cloakandswagger 7y agoMaybe it's been updated since then. This is the guide I followed: https://docs.aws.amazon.com/AmazonS3/latest/dev/HostingWebsiteOnS3Setup.html https://docs.aws.amazon.com/AmazonS3/latest/dev/HostingWebsi...
- drchewbacca 7y agoOk yeah I think it was changing the policy that access I couldn't get to work. Again it may be that is super easy and I fucked up something obvious however I tried a lot of times a lot of different ways until I gave up in rage.