Difference between revisions of "Installing AWS command-line tools"
From Notes_Wiki
m |
m |
||
Line 1: | Line 1: | ||
[[Main_Page|Home]] > [[Amazon web services]] > [[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: | ||
[[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
- Ensure that following packages are installed
- dnf install less glibc groff-base unzip curl
- Download latest AWS CLI version using:
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- Unzip and install awscli
- unzip awscliv2.zip
- ./aws/install #As root user
- Check installed version
- aws --version
- Configure installed awscli with AWS access key ID, secret key, region, etc. using:
- aws configure
- 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