How to install AWS CLI in windows 10

  • The AWS CLI version 2 is supported on Windows XP or later.
  • The AWS CLI version 2 supports only 64-bit versions of Windows.
  • Download Binary: https://awscli.amazonaws.com/AWSCLIV2.msi
  • Install the downloaded binary (standard windows install)

Install or update the AWS CLI

To update your current installation of AWS CLI on Windows, download a new installer each time you update to overwrite previous versions. AWS CLI is updated regularly. To see when the latest version was released, see the AWS CLI version 2 Changelog on GitHub.

  1. Download and run the AWS CLI MSI installer for Windows (64-bit):https://awscli.amazonaws.com/AWSCLIV2.msiAlternatively, you can run the msiexec command to run the MSI installer.C:\> msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msiFor various parameters that can be used with msiexec, see msiexec on the Microsoft Docs website. For example, you can use the /qn flag for a silent installation.C:\> msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi /qn
  2. To confirm the installation, open the Start menu, search for cmd to open a command prompt window, and at the command prompt use the aws --version command.

If Windows is unable to find the program, you might need to close and reopen the command prompt window to refresh the path, or follow the troubleshooting in Troubleshooting errors for the AWS CLI.

 Configure AWS Command Line using Security Credentials

  • Go to AWS Management Console –> Services –> IAM
  • Select the IAM User: kalyan
  • Important Note: Use only IAM user to generate Security Credentials. Never ever use Root User. (Highly not recommended)
  • Click on Security credentials tab
  • Click on Create access key
  • Copy Access ID and Secret access key
  • Go to command line and provide the required details
aws configure
AWS Access Key ID [None]: XXXXXXXXXXXX  (Replace your creds when prompted)
AWS Secret Access Key [None]: XXXXXXXXXXXXXX  (Replace your creds when prompted)
Default region name [None]: us-east-1
Default output format [None]: json
  • Test if AWS CLI is working after configuring the above
aws ec2 describe-vpcs

Leave a Reply

Shopping cart0
There are no products in the cart!
Continue shopping
0