Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/bash
  2. touch index.html
  3. touch error.html
  4. aws s3api create-bucket --bucket my-bucket --region us-east-1
  5. aws s3 website s3://my-bucket/ --index-document index.html --error-document error.html
  6. aws s3 cp index.html s3://mybucket --acl public-read
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement