Skip to content

Instantly share code, notes, and snippets.

@gwsu2008
Last active May 5, 2018 00:03
Show Gist options
  • Save gwsu2008/d7010b985e21674a22954144ae4f2cc7 to your computer and use it in GitHub Desktop.
Save gwsu2008/d7010b985e21674a22954144ae4f2cc7 to your computer and use it in GitHub Desktop.
AWS useful commands.
perl cfsign.pl --action encode --url <URL> --expires 1475882487 --private-key private-key --key-pair-id AWS_ACCESS_KEY
aws --profile xyz s3 cp my.json s3://xyz/releases/my.json --metadata-directive REPLACE --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type application/json --acl public-read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment