Here is how I setup my AWS CLI on my Windows 7 machine.
Download the CLI .MSI file AWS direct: https://aws.amazon.com/cli/
Run the MSI installation file (I install my CLI at C:\AWS for laziness when using the CLI)
Open Command Prompt/Powershell
Browse to your installed location and run aws –version
PS K:\> cd C:\AWSCLi PS C:\AWSCLi> aws --version aws-cli/1.10.65 Python/2.7.9 Windows/7 botocore/1.4.55
Now you can add your credentials to the CLI by using aws configure command
PS C:\AWSCLi> aws configure AWS Access Key ID [None]: EXAMPLE AWS Secret Access Key [None]: EXAMPLE Default region name [None]: eu-west-1 Default output format [None]: json
You should now be able run CLI commands
PS C:\AWSCLi> aws ec2 describe-instances
Leave a Reply