Monday, March 26, 2018

How to setup Serverless server on AWS (Static Web Hosting)?


- Register an AWS account

Note: AWS has given a very details step by step guide. This is for my own note taking and reference

Installation steps (Host a static website)
  • Login to AWS website, select your region.

  • Click on "S3" on the "Storage" section, "Create bucket" page is launched.

  • Click on "Create Bucket" button, fill in the form with the details and click on "Create" button
  • A S3 bucket will be created. Please refer to the screenshot below
  • A S3 bucket will be created. Please refer to the screenshot below:- 

  • Select the newly created S3 bucket,  launch the AWS management console.

  • Click on "Upload" button and copy all the files from "WebApplication\1_StaticWebHosting\website" folder into the "Upload" window..

  • Click on "Permission" tab, follow by "Bucket Policy" button, enter the "Bucket policy" and click "Save" button 
  • Click on "Properties" tab, follow by select "Static website hosting" and "Use this bucket to host a website" option. Enter index.html in the "Index Document" field. Click on "Save" button

  • Browse to the url "", the template page is displayed.


Fatima Khan said...

PkDomain offers Web Hosting in Pakistan. One of Top Web Hosting Services Provider in Pakistan. We provide Web Hosting for small businesses and individuals. Whether you need Web hosting in Pakistan or a complete solution with development, we have it! For more detailed information you can visit us at PK Domain. .pk domain discount coupon

Nicole kristen said...

Thanks for this great share. This post is much useful for us. This is very helpful for who wants to learn professional Education. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog.
Why AWS Has gained Popularity