Saturday, January 1, 2022

How to install AWS CLI2 on Linux (Ubuntu 20.04 LTS) Environment

AWS CLIV2  Installation instructions :

 1. Use the curl command to download the "awscliv2.zip" 

  $ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"

  


  Note: if curl not available in your OS : sudo apt-get install curl -y 




 2. Unzip the installer

  $ unzip awscliv2.zip



 3. Run the install program. The installation command uses a file named install in the newly unzipped aws directory.by default files are all installed to /usr/local/aws-cli, and symbolic link is created in /usr/local/bin 

  $ sudo ./aws/install or ./aws/install -i 

  




  Optional: export PATH=/usr/local/bin/aws:$PATH

 

 4. Use the which command to find your symlink and Use the ls command to find the directory that your symlink points to

  $ which aws



  $ ls -l /usr/local/bin/aws



 5. Confirm the installation

  $ aws --version

No comments:

Post a Comment

How to install and setup Kubernetes cluster using kOps in AWS environment

  Kops: Kops is also known as Kubernetes Operations, it is an open-source project which helps you to create, upgrade, destroy, and maintain ...