Amazon AWS S3 is a file storage service on Amazon Web Services. You can also host static websites on S3 quite cheaply and easily. This guide will show you how to host a static website on Amazon s3.
You will need to create two files on your local machine – you can download them below:
Log into you AWS console go to S3 and click create new bucket.
Give your bucket an unique name and click create.
Click the checkbox beside your bucket and then click “Edit Public Access Settings”
Leave the defaults as is and click save
Type confirm and then click confirm
Click into your bucket and click upload. Upload the index.html and error.html to your bucket.
- Tick the two check boxes
- Click Actions
- Then click make public
Then click static Website Hosting
- Use this bucket to host a website.
- enter index.html for the index document.
- enter error.html for the error document.
- then click save.
Click back on static website hosting
Now click your website endpoint – you will be brought to your website.
A full video tutorial can be found here: