DEV Community

Shaikh Al Amin
Shaikh Al Amin

Posted on • Edited on

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

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay