Monday, November 8, 2021

Demo: Amazon AWS S3 - Static Web Site Hosting

step1: Login to AWS console and create S3 bucket giving unique name for the bucket. Uncheck the block all public access. since Lab is to create static website so it needs to be accessed via public channel


step2: Select the bucket and go to properties. Scroll to the bottom of page and edit static website hosting section. Set it to Enable and type default.html for index page and save changes


step3: go to objects under bucket and upload any sample default.html file from local machine. After file is uploaded, set the permission of file to Public/ Everyone read.

Final Step: Go back to bucket, properties and see the static website section to copy the endpoint. Paste it in browser and enter.




No comments: