How do I manually install the AWS CLI on an Amazon EC2 Windows instance?

Lesedauer: 1 Minute
0

I want to use the AWS Command Line Interface (AWS CLI) on my Amazon Elastic Compute Cloud (Amazon EC2) Windows instance.

Short description

You can use the AWS CLI to manage multiple AWS services and to automate common service and resource actions through scripts.

Note: To install the AWS CLI on an instance, the instance must have internet access using a network address translation (NAT) instance or an internet gateway.

Resolution

For instructions to install the AWS CLI on a Windows instance, see Installing or updating the latest version of the AWS CLI.

Important: If you already installed AWS CLI version 1, then it's a best practice to uninstall version 1 and use only AWS CLI version 2.

To view a description of a command in the AWS CLI, append help to the command. For more information, see Getting help with the AWS CLI.

For a general overview of how AWS CLI commands are structured, see Command structure in the AWS CLI.


Related information

Troubleshooting AWS CLI errors

Migrating from AWS CLI version 1 to version 2

AWS OFFICIAL
AWS OFFICIALAktualisiert vor 2 Jahren