Mr. Editor-in-chief Mr. Editor-in-chief February 20, 2025 Updated April 24, 2026

Setting Up The AWS CLI

Installation guide

curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update
  1. Verification of the succesful installation aws --version
  2. Create a new AWS IAM user: Add users -> User name -> Select AWS credential type -> Access key - Programmatic access -> Attach existing policies directly -> AdministratorAccess -> Default -> Create User -> Success -> Copy Access key ID & Secret access key
  3. aws configure and fill in Access key ID and Secret access key, together with 'Default region name', 'Default output format'(None)
  4. Testing with creating a new AWS s3 bucket aws s3 mb "s3://a-bucket-just-for-testing-purpose"