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.
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.
On the top right corner of the screen, click on your username and select the Security Credentials option.
Select the checkbox and click on the button: Continue to Security Credentials.
Select the access key tab and click on the Create new access key button.
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.
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.
Double click the the AWS CLI package to perform the installation,
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]:
# aws ec2 describe-regions
This command will list all regions where the AWS cloud is available.
You have successfully installed the AWS CLI software on a computer running Windows.