Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/bin/bash
aws s3api create-bucket --bucket z4.net --acl public-read --region us-west-2
wget https://gist.githubusercontent.com/random-robbie/dfc39ba1ee9c004f65b961bdecfacf9c/raw/62c65927d20a022320f76fa07a435148a0349aee/redirect.json
aws s3api put-bucket-website --bucket z4.net --website-configuration file://redirect.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment