Installing AWS command-line tools
From Notes_Wiki
(Redirected from Installing EC2 command-line tools)
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