Install AWS cli

Reading Time: < 1 minute

Last Updates: 2/10/2022

As of this writing the current version of the AWS CLI is …

AWS CLI has been described as a unified tools for managing your AWS resources. In a pinch it can be used to manage S3 data connections as well.

root@vm-s3:/etc/default# aws --version
aws-cli/1.19.1 Python/3.9.7 Linux/5.13.0-30-generic botocore/1.20.0
C:\Users\user>aws --version
aws-cli/2.4.22 Python/3.8.8 Windows/10 exe/AMD64 prompt/off

For Ubuntu:

$ sudo apt-get install awscli.

You can simply say “aws configure” and it will prompt you for common items to set. For the windows command line… you should use the set command.

C:\Users\user>aws configure set access_key ec2-user

For Windows: Download

https://awscli.amazonaws.com/AWSCLIV2.msi
$ aws --version
C:\Users\user>aws --endpoint-url http://192.168.160.59:9000 s3 ls test
2022-03-02 14:44:43         14 test.txt

Reference URLs:
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html
https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-windows.html

This entry was posted in AWS. Bookmark the permalink.