Install aws cli in ubuntu

shaikhalamin

Shaikh Al Amin

Posted on May 3, 2024

Install aws cli in ubuntu

Run the below command:

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

Enter fullscreen mode Exit fullscreen mode

put path in bin directory from bashrc. open basrc

sudo nano .bashrc and put the below content:

export PATH="/usr/local/bin:$PATH"

Enter fullscreen mode Exit fullscreen mode

Configure AWS CLI

aws configure
Enter fullscreen mode Exit fullscreen mode
AWS Access Key ID [None]: ABCDEFXXXXXXXXDKKDFJ
AWS Secret Access Key [None]: 3SDFskjf8KDfjksdf9sdfjsdkfjkKSDKSJFKD90TYUI
Default region name [None]: us-east-1
Default output format [None]:
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
shaikhalamin
Shaikh Al Amin

Posted on May 3, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related