Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (19 loc) · 1.06 KB

Hello S3

A simple Hello World hosted on Amazon's S3.

Requirements

Create Bucket

aws s3 mb s3://hello-s3.lukket

Enable Static Website Hosting

aws s3 website s3://hello-s3.lukket --index-document index.html

Make Website Publicly Available

aws s3api put-bucket-policy --bucket hello-s3.lukket --policy file://website-bucket-policy.json

Upload Content

aws s3 cp index.html s3://hello-s3.lukket/index.html

Visit Website

http://hello-s3.lukket.s3-website.eu-central-1.amazonaws.com/

Clean Up

aws s3 rm s3://hello-s3.lukket/index.html && aws s3 rb s3://hello-s3.lukket