Difference between revisions of "Installing AWS command-line tools"
From Notes_Wiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
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 | |||
# Ensure that following packages are installed | |||
# | |||
#:<pre> | #:<pre> | ||
#:: | #:: dnf install less glibc groff-base unzip curl | ||
#:</pre> | #:</pre> | ||
# | # Download latest AWS CLI version using: | ||
#:<pre> | #:<pre> | ||
#:: | #:: curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
#:</pre> | #:</pre> | ||
# | # Unzip and install awscli | ||
#:<pre> | #:<pre> | ||
#:: | #:: unzip awscliv2.zip | ||
#:: ./aws/install #As root user | |||
#:</pre> | |||
# Check installed version | |||
#:<pre> | |||
#:: aws --version | |||
#:</pre> | |||
# Configure installed awscli with AWS access key ID, secret key, region, etc. using: | |||
#:<pre> | |||
#:: aws configure | |||
#:</pre> | |||
# Test the configuration with some command such as: | |||
#:<pre> | |||
#:: aws s3 ls | |||
#:: aws lightsail get-instances | grep -C1 arn | grep -i name | |||
#:</pre> | #:</pre> | ||
Refer: | |||
* https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html | |||
[[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