_Disclaimer: Instructions are up-to-date as of July 18th, 2020, but the AWS UI changes frequently so screenshots may not match what you see in your console._Why would you host a website on Amazon’s S3?**It’s cheap, easy, and fast.**While not suitable for a complex web app, it’s a great solution for anything simple like a directory of information.Let’s build a static website with an image to learn how it works!
In the AWS console, navigate to S3 and create a bucket. You’ll need to give it a unique name and select a region.
Ensure you make this public by unticking “Block all public access”.
Then click “Next” until you can click “Create bucket”.Bucket created!
Click on the bucket you just created, click“Properties”, and then “Static website hosting”.
Now select “Use this bucket to host a website”, type “index.html” and “error.html” into the below fields, and click “Save”.Also note the URL. This address is where our site will be hosted.
#aws #s3 #devops