a guest Aug 18th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand