Host Website in S3 Bucket on AWS (Amazon Web Service).

Host Website in S3 Bucket on AWS (Amazon Web Service).

Website Hosting on Cloud

You can use Amazon S3 to host a static website. On a static website, individual webpages include static content. They might also contain client-side scripts. static website contain HTML, CSS , JavaScript etc.

In this Blog we are going to host static website on S3 Bucket.

Note

First thing you should have a AWS working account so we can easily host our website.

Now All Set Follow Me....

1 . Log into your account.

s1.PNG

2 . Now Search for S3 in search bar.

s2.PNG

3 . Click on S3 service and click on create bucket now it will ask for bucket name so give a unique name globally because S3 Bucket does not require region selection.

s3.PNG

4 . Now Click on Create Bucket and uncheck Block Public Access settings for this bucket.

s4.PNG

5 . Now click on your bucket and upload a index.html file in bucket.

s5.PNG

6 . After uploading file select the file and click on Action at top site and select Make Public.

s6.PNG

7 . Now after this go to the bucket properties and at the bottom side enable Static website hosting and provide your index.html file name and save it.

s7.PNG

s8.PNG

8 . So at the end it's give a link so we can access our website so click on it and access them.

s9.PNG

that's it Now Your Website is hosted on s3 Bucket.

Did you find this article valuable?

Support Sahil Dholpuria by becoming a sponsor. Any amount is appreciated!