AWS Command Line Interface (CLI) - Hands-On

Demo

Windows Install

Download and run the AWS CLI MSI installer for Windows (64-bit)

aws --version

Linux Install 

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update

Command line installer - Linux x86 (64-bit)

Command line - Linux ARM

curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
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

Mac Install

Confirm Installation

which aws
aws --version

Configure AWS Credentials

aws s3 ls
aws s3 mb s3://my-example-bucket-928379
aws s3 ls

AWS CLI - Verification Command

Confirm Bucket Creation in AWS Console

Clean Up - Delete S3 Bucket

Delete Access Key

🙏

Thanks

for

Watching

AWS CLI - Hands-On Demo

By Deepak Dubey

AWS CLI - Hands-On Demo

AWS CLI - Hands-On Demo

  • 106