Table of Contents

AWS

Install

Linux AMD64
wget https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
unzip -q awscli-exe-linux-x86_64.zip
sudo ./aws/install
You can now run: /usr/local/bin/aws --version
rm -Rf aws awscli-exe-linux-x86_64.zip
/usr/local/bin/aws --version
aws-cli/2.27.47 Python/3.13.4 Linux/5.15.167.4-microsoft-standard-WSL2 exe/x86_64.debian.12
/usr/local/bin/aws --version
aws-cli/2.27.47 Python/3.13.4 Linux/6.12.22+bpo-amd64 exe/x86_64.debian.12
/usr/local/bin/aws --version
aws-cli/2.27.49 Python/3.13.4 Linux/6.1.0-30-amd64 exe/x86_64.debian.12
Windows AMD64

Setup

IAM user

AWSCLI

IAM / Identity and Access Management (IAM) / Access management / Users

From the root console access management page first create an IAM user then add a AWS CLI access key.

Configure
aws configure
AWS Access Key ID [None]: ACCESSKEYID
AWS Secret Access Key [None]: SECRETACCESSKEY
Default region name [None]: us-east-2
Default output format [None]: text

S3

List buckets
aws s3 ls
List files in bucket
aws s3 ls bucket-name
Make bucket
aws s3 mb s3://bucket-name
Remove bucket
aws s3 rb s3://bucket-name
Copy files from bucket to bucket

Many files

aws s3 cp s3://from-bucket s3://to-bucket --recursive --exclude "*" --include "filename*"
Move files from bucket to bucket

One file

aws s3 mv s3://from-bucket/filename s3://to-bucket
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies