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 .
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.
- Open the bucket and upload the data files in one go . you can find the static web files on my Github https://github.com/vishal2232/AWS_S3-web-hosting
- 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
About me:vishal2232.github.io
*Ready to contribute in opensource technologies