📜 ⬆️ ⬇️

AWS Command Line Tools updater

Hello! image

As you know, AWS has excellent command line tools that you can use to configure everything in AWS. A web console, which also exists, does not always have such a wide range of capabilities. And CLI utilities are best friends!

But with the organization of the repositories of these same tools, AWS has obvious problems. Just look at the zoo of links from which you need to download these tools:
http://awsiammedia.s3.amazonaws.com/public/tools/cli/latest/IAMCli.zip http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip http://s3.amazonaws.com/rds-downloads/RDSCli.zip http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.zip http://ec2-downloads.s3.amazonaws.com/CloudWatch-2010-08-01.zip http://ec2-downloads.s3.amazonaws.com/ElasticLoadBalancing.zip http://ec2-downloads.s3.amazonaws.com/AutoScaling-2011-01-01.zip https://s3.amazonaws.com/cloudformation-cli/AWSCloudFormation-cli.zip 


On the Internet and on the githaba, I found a lot of scripts with which to update these tools. But, ironically, I did not find a complete list of utilities or it was somehow incomprehensibly written. And I decided to write myself.
')
So, imagine aws_cli_updater ! My bike skriptik downloads, unpacks and writes all the necessary environment variables and PATH. With each new start, he wipes everything that was before and installs in a new way.

How to install the tools:
1. Download the repository:
 $ cd ~/Downloads && git clone https://github.com/korjik/aws-cli-updater.git 

2. Installations:
 $ cd ~/Downloads/aws-cli-updater && ./aws-cli-updater.sh && bash 

Done, in the new console you will have the opportunity to call the following CLI Tools:


I wrote to myself to easily update utilities. Suitable for quick installation.

Use on health.

Source: https://habr.com/ru/post/160881/


All Articles