Home » Cloud » How to Install the AWS CLI in Windows step by step

How to Install the AWS CLI in Windows step by step

If you are a command line guy then AWS CLI works for  you and it can be downloaded from the following link – this article will walk you step by step to from start to finish with very little knowledge needed

Windows 64 BIT 

Windows 32 Bit

Once it has been downloaded  – double click the “AWSCLI64 .msi”  file to execute the installer –

2016-11-06-10_15_02-aws-command-line-interface-setup

Accept the agreement to continue

2016-11-06-10_22_43-edit-post-aws-articles-wordpress

make a note of the path or choose the path where you need  it installed

2016-11-06-10_24_09-aws-command-line-interface-setup

 

and start the installation by clicking on install

2016-11-06-10_26_49-aws-command-line-interface-setup

 

below is the last screen that shows that the installation is complete and click finish to close the window

2016-11-06-10_28_31-edit-post-aws-articles-wordpress

Now you can launch the command line with the path where the AWS CLI is installed and connect to your AWS account

2016-11-06-13_05_19-how-to-install-the-aws-cli-in-windows-step-by-step-aws-articles

You can start with “AWS HELP” to see all command lets type – in order to connect to your AWS account you will need to download your access to key that can be downloaded from your AWS console

Login to your AWS console and go to services – Security and Identity and “IAM” like the screen shot below

2016-11-06-14_05_00-aws-management-console

 

Under the IAM on the left side click on users and create a new user or choose an existing one – in this  case I am going to create a new user for the demo purpose

 

2016-11-06-14_10_32-iam-management-console

2016-11-06-14_11_46-iam-management-console

Once the user is created in this case use called “AWSCLI” is created

2016-11-06-14_16_35-iam-management-console

Download the keys by clicking on download and this will save the keys to the download folder

2016-11-06-14_17_49-iam-management-console

The file is saved as an excel in the download folder –  below is what you will see in the file

2016-11-06-14_21_06-credentials-2-csv-excel

Once you have downloaded the keys then go to the command prompt and type “AWS CONFIGURE”

here what you will need to put in

  • Access key
  • Secret Key
  • Region
  • Output Format

You can configure and update  the new settings anytime by running the “AWS Configure” command

2016-11-06-16_16_28-administrator_-command-prompt

 

Here is an example on how you can execute commands try the CLI

you can see the output of the cerate-user command

2016-11-06-16_24_46-administrator_-command-prompt

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*