Install AWS CLI for Windows

Start course
Overview
Difficulty
Beginner
Duration
55m
Students
5633
Description

Compute Fundamentals for AWS offers you an updated introduction to AWS's cornerstone compute services, and provides a foundation as you build your compute skills for AWS. It includes coverage of:

- Amazon Elastic Compute Cloud (EC2)
- Elastic Load Balancers (ELBs)
- Auto Scaling
- Amazon EC2 Container Registry and Services (ECR and ECS)
- AWS Elastic Beanstalk
- AWS Lambda

Do you have questions on this course? Contact our cloud experts in our community forum.

Transcript

The easiest way to install the AWS CLI on a Windows computer is to use the MSI installation package, as you don't need to install any other prerequisites, and it is currently supported on Microsoft Windows XP and later operating systems. To install the AWS CLI, download the appropriate installer from the AWS website. When you have completed the download, watch the installer, and you will be presented with an introduction screen. Click "Next" to continue. You will then be presented with the license agreement, and when you have read this, check the box to agree to the terms of the license, and click "Next" to continue. The next window specifies the installation path. And to complete the installation, click "Next," and the "Install" to begin the installation. And once the installation is completed, click "Finish" to exit setup. To check that the installation has been successful, open up a command prompt and then enter the command, "AWS -- Version." And this should return the AWS CLI version, Python version, and the operating system that you are running. The next thing you need to do is to configure the AWS CLI, and the easiest way to do that is to run the command, "AWS configure." And you will be prompted for four bits of information, being your AWS access key ID, AWS secret access key, default region and default output format. Your access keys consist of an access key ID and secret access key which you use to sign programmatic requests that you make to AWS. We will now configure the AWS CLI. So, from a command prompt, type in "AWS configure." Then press enter. And then enter your access key and secret key. For the region, you can leave this blank, and then specify it in future commands. But for this, we will enter AP-Southeast-1. And finally, the output format that you want responses to commands to be returned.

You have the choice of table, JSON or text. My personal preference is table, but again, when you are running commands, you can specify different output format. If you make a mistake or want to change a value that you have just entered, run the command again to update the configuration.

About the Author
Students
17723
Courses
1
Learning Paths
2

David's acknowledged hands on experience in the IT industry has seen him speak at international conferences, operate in presales environments and conduct actual design and delivery services.

David also has extensive experience in delivery operations. David has worked in the financial, mining, state government, federal government and public sectors across Asia Pacific and the US