Sunday, 19 February 2017

Hosting a website on AWS using S3

First step to start with Amazon Web Services we must know about Pricing and Free Tier Services.Login to your AWS  account and access your AWS console.


  • Go to services choose S3 storage.

  • Go to S3 console then create Bucket.


  • Let we choose the Bucket name mybucket.website.com ↑
  • Now go to properties (one of the most important role in AWS-S3, right now we just take a bit) and enable static web hosting .



Now, in the index document we write index.html. It is the main page or entry page of any website that's why we don't change the name.

and in error we write logs.txt it is for writing the error logs.



Now the task not complete yet.
We have to change the permission of our uploaded files to public. This is one of the security feature which is in our control. we can even permit our docs to a specific IP.



  • Go to permission, we find it on properties. Click on ADD more permissions and grant every file as Everyone and allow open and download to all uploaded files.

Note: There is a short trick when you get bunch of files and allow everyone to access files
1: Create a folder with any name, upload your website to that folder.
2: Right click on that folder and select Make Public.



  • Find your web url here:




  • And click on it. You got your website. 




Happy Learning

Any query drop a mail at vishalyadav.hbti@gmail.com
*Ready to contribute in opensource technologies