Difference between revisions of "Installing AWS command-line tools"

From Notes_Wiki
m
m
 
Line 1: Line 1:
<yambe:breadcrumb>Amazon_web_services|Amazon web services</yambe:breadcrumb>
[[Main_Page|Home]] > [[Amazon web services]] > [[Installing AWS command-line tools]]
=Installing AWS command-line tools=


The below steps are for installing updated AWS CLI version 2 on CentOS  
The below steps are for installing updated AWS CLI version 2 on CentOS  
Line 35: Line 34:




<yambe:breadcrumb>Amazon_web_services|Amazon web services</yambe:breadcrumb>
[[Main_Page|Home]] > [[Amazon web services]] > [[Installing AWS command-line tools]]

Latest revision as of 05:21, 18 April 2022

Home > Amazon web services > Installing AWS command-line tools

The below steps are for installing updated AWS CLI version 2 on CentOS

  1. Ensure that following packages are installed
    dnf install less glibc groff-base unzip curl
  2. Download latest AWS CLI version using:
    curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
  3. Unzip and install awscli
    unzip awscliv2.zip
    ./aws/install #As root user
  4. Check installed version
    aws --version
  5. Configure installed awscli with AWS access key ID, secret key, region, etc. using:
    aws configure
  6. Test the configuration with some command such as:
    aws s3 ls
    aws lightsail get-instances | grep -C1 arn | grep -i name


Refer:


Home > Amazon web services > Installing AWS command-line tools