AWS-CLI configuration on Linux operating system
AWS-CLI is a command-line utility to manage the AWS services. Through this one tool we can manage and control multiple AWS services and we can automate the stuff through the scripts.
Prerequisites for Linux
- You must be able to extract or “unzip” the downloaded package. If your operating system doesn’t have the built-in
unzipcommand, use an equivalent.
- The AWS CLI version 2 uses
less. These are included by default in most major distributions of Linux.
- We support the AWS CLI version 2 on 64-bit versions of recent distributions of CentOS, Fedora, Ubuntu, Amazon Linux 1, and Amazon Linux 2.
- We support the AWS CLI version 2 on 64-bit Linux ARM.
- Because AWS doesn’t maintain third-party repositories, we can’t guarantee that they contain the latest version of the AWS CLI.
Install the AWS CLI version 2 on Linux
For the latest version of the AWS CLI, use the following command block to install:
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install
For a specific version of the AWS CLI, append a hyphen and the version number to the filename. For this example the filename for version
2.0.30 would be
awscli-exe-linux-x86_64-2.0.30.zip resulting in the following command:
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.0.30.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install
Now, verify the version of AWS-CLI
Now our AWS-CLI utility is ready to use.
So today we enjoyed “How to install AWS-CLI on Linux”
Check out – Private: What is Jenkins?