Today we will look at installing AWS CLI on Centos, i installed on one of the EC2 instances recently and will share the steps as below:
1. Download AWS CLI:
url "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
2. Once downloaded, we need to install the zip, but first need to unzip. IN my case unzip was not installed on the host , hence i have downloaded and installed as below:
yum makecache
yum install unzip
3. Once done use unzip to unpack the downloaded bundle:
unzip awscli-bundle.zip
4. Next step is to install :
./awscli-bundle/install -b ~/bin/aws
........
You can now run: /root/bin/aws --version
Refer AWS documentation as well to get further clarity on the steps/versions
wonderful article. Very interesting to read this article.
ReplyDeleteDevOps Training
DevOps Online Training