AWS/CLI: Difference between revisions

From Omnia
< AWS
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
  # /usr/local/bin/aws --version
  # /usr/local/bin/aws --version
  aws-cli/2.16.0 Python/3.11.8 Linux/5.8.0-40-generic exe/x86_64.ubuntu.20
  aws-cli/2.16.0 Python/3.11.8 Linux/5.8.0-40-generic exe/x86_64.ubuntu.20
Mytest:
aws s3 cp --no-sign-request s3://kaws/test.txt ./

Revision as of 15:55, 4 June 2024

Install

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

ref: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#cliv2-linux-install

# sudo ./aws/install
You can now run: /usr/local/bin/aws --version
# /usr/local/bin/aws --version
aws-cli/2.16.0 Python/3.11.8 Linux/5.8.0-40-generic exe/x86_64.ubuntu.20

Mytest:

aws s3 cp --no-sign-request s3://kaws/test.txt ./