Last active
July 10, 2019 06:48
-
-
Save dasgoll/9a3f82cbe63f51bff46f10ff35106a35 to your computer and use it in GitHub Desktop.
Create html static website on s3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3 mb s3://movies-tutorial123 | |
aws s3 cp ui/ s3://movies-tutorial123 --recursive --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers | |
#Finally, turns website hosting on for your bucket: | |
aws s3 website s3://movies-tutorial123 --index-document index.html | |
browse: http://movies-tutorial123.s3-website-eu-west-1.amazonaws.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment