Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Last active July 10, 2019 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dasgoll/9a3f82cbe63f51bff46f10ff35106a35 to your computer and use it in GitHub Desktop.
Save dasgoll/9a3f82cbe63f51bff46f10ff35106a35 to your computer and use it in GitHub Desktop.
Create html static website on s3
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