Skip to content

Instantly share code, notes, and snippets.

@oculushut
Created March 13, 2016 00:17
Show Gist options
  • Save oculushut/66271042b718492bacd0 to your computer and use it in GitHub Desktop.
Save oculushut/66271042b718492bacd0 to your computer and use it in GitHub Desktop.
AWS Command Line Tips for Windows
1. Install Command Line Tool here: http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-msi-on-windows
2. Setup environmental variable: [DRIVE LETTER]:\Program Files\Amazon\AWSCLI
3. Command line examples:
//get some general help!
aws help
//setup credentials (get your credentials for the user from AWS Identity and Access Management
aws configure
//copy all local files in directory to S3 bucket
aws s3 cp 1 s3://git.bucket --recursive
//1 => Local folder
//git.bucket => name of bucket
//Make sure the account you are using has the rights to do this...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment