Would you like to learn how to install AWS CLI on Windows ? In this tutorial, we are going to show you how to install the Amazon Command Line Interface on a computer running Microsoft Windows.

Hardware List:

The following section presents the list of equipment used to create this AWS tutorial.

Every piece of hardware listed above can be found at Amazon website.

Amazon AWS Playlist:

On this page, we offer quick access to a list of videos related to Amazon AWS.

Don't forget to subscribe to our youtube channel named FKIT.

Amazon AWS Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Amazon AWS.

AWS CLI - EC2 Access Key Creation

Open your browser, access the Amazon AWS website and enter your login information.

After a successful login, you will be sent to the AWS Dashboard.

aws dashboard

On the top right corner of the screen, click on your username and select the Security Credentials option.

aws security credentials

Select the checkbox and click on the button: Continue to Security Credentials.

aws security key

Select the access key tab and click on the Create new access key button.

aws create access key

Take note of your public access key and your secret access key.

Keep in mind that there is a limit of 2 AWS keys in use.

aws access key

You have finished the required EC2 key creation.

AWS CLI Installation on Windows

Access the AWS CLI website and download the correct MSI package to you environment.

Download AWS CLI - Windows 64 Bits

Download AWS CLI - Windows 32 Bits

Double click the the AWS CLI package to perform the installation,

aws cli installer windows

After finishing the installation, open an elevated command line window.

On the elevated DOS windows, use the following command to configure AWS CLI.

Use the following command to configure AWS-CLI.

# aws configure

You will be required to enter your key ID and your secret key.

AWS Access Key ID [None]: AKIAIAYOIO
AWS Secret Access Key [None]: +5nrXiQF0OB8Lw0lHKxcdxVL+
Default region name [None]: us-west-2
Default output format [None]:

In our example, we selected us-west-2 as our default region.

If you want to access a list of the available regions click here.

Use the following command to test your communication with the AWS cloud.

# aws ec2 describe-regions

This command will list all regions where the AWS cloud is available.

Copy to Clipboard

You have successfully installed the AWS CLI software on a computer running Windows.