How to download install and configure AWS CLI on Windows

In this article, we will see how to download install and configure AWS CLI on Windows step by step.

What is AWS CLI
The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

The AWS CLI v2 offers several new features including improved installers, new configuration options such as AWS IAM Identity Center (successor to AWS SSO), and various interactive features.

How to download install and configure AWS CLI on Windows

1. Download the AWS CLI for windows using this link:

https://awscli.amazonaws.com/AWSCLIV2.msi

2. Once download is complete, click on AWSCLIV2.msi file.

3. In the AWS CLI setup wizard click on next.

How to download install and configure AWS CLI on Windows

3. Select the checkbox in front of I accept the terms in the License Agreement.

4. Click browse to change the setup location. Otherwise click on next.

5. Now, click on install.

6. Once installation is complete, click on Finish.

Verify AWS CLI is installed or not using CMD

Use the below command to verify AWS CLI is installed or not on windows using below command.

aws --version

Configure AWS CLI with AWS account

1. Connect tot AWS manage console with your credentials.
2. Then click on services.
3. Then search for IAM and click on users.

4. Click on add users,

7. Provide user name and click on Next: Permissions

8. If you want to Attach existing policies directly, select the highlighted one , select Policies and click Next: Tags

9. Tags are optionnal.

10. Review the summary of Add user. If everything is okay click on Create User.

11. User is created successfully.

From the below screen, Access key ID and Secret access key are needed to configure AWSCLI on windows.

12. Now open command prompt. Then, run

aws configure

13. Now copy the copy the Access Key ID and secrete access ID from 11th step.

14. Now verify the list of ec2 instances in AWS using AWS CLI command.

aws ec2 describe-instance

So in this article , we have seen How to download install and configure AWS CLI on Windows step by step.

For the same watch below video for AWS CLI setup on Windows:

Leave a Reply

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