Giter Site home page Giter Site logo

aws_website_hosting's Introduction

In this Documentation you'll get to know how simply host a static website in AWS S3 in AWS free tire account

Checkout my website:

http://elangoportfolio.s3-website-ap-southeast-2.amazonaws.com/


Login or Sign up your AWS account (you will get 5GB free Tire AWS Accout for one Year)

  1. Search AWS S3 in the search bar

Alt text

  1. Select AWS S3 (Simple Storage Service) and select Buckets

Alt text

  1. In Buckets you have to create new bucket by selecting Create Bucket

Alt text

  1. Name the bucket as per the naming convention and unmark the block all public Access

Alt text

  1. Now click create bucket don't change any other configurations

Alt text

  1. Tada!!! Now Your AWS S3 bucket created, Inside that go to the properties tab

Alt text

  1. Scroll Down to the last and click edit Static web Hosting

Alt text

  1. Enable the the static web hosting and type your html document name eg.Index.html

Alt text

Alt text

  1. Now select the Permissions tab and edit the bucket policy

Alt text

Alt text

  1. Clear the existing policy if anything already avilable, paste the below configuration { "Version": "2012-10-17", "Statement": [ { "Sid": "PublicReadGetObject", "Effect": "Allow", "Principal": "", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::replace with yout domain name/" } ] }

  2. Now it's time to upload the our html,css,javascript files

Alt text

  1. Click upload and select the required files or folders

Alt text

  1. After uploding again come to properties tab scroll down to the last find the hosted link.

Alt text

Boom!! Your website now hosted in AWS S3

Full Documetation by AWS

https://docs.aws.amazon.com/pdfs/AmazonS3/latest/userguide/s3-userguide.pdf#HostingWebsiteOnS3Setup

Happy Learning

Follow me, If any queries reach me on linkedin

https://github.com/ElangoSubramani

aws_website_hosting's People

Contributors

elangosubramani avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.