Live data from Hacker News

The New AWS Command-Line Interface

aws.typepad.com

21–30 of 71 posts

Re: The New AWS Command-Line Interface

#21
post #5

Earlier quoted context omitted.

Thanks for sharing, I'd never heard of this tool. Indeed, an official supported friendly and easy-to-use CLI interface is long overdue.

actually, ec2-api-tools has been provided for years: http://aws.amazon.com/developertools/351 - I just didn't like the command interface provided by them. Haven't had time to check out the new CLI yet but it looks much better at quick glance.

Unfortunately it doesn't support tab-completion... which would be nice given that there's oodles of ec2 commands.

Re: The New AWS Command-Line Interface

#24
Interesting - I must have had an older version and not played with it. The version I had did not have 's3 sync', and the help files were a long list of ec2 commands and some boilerplate headings.

Reinstalled and now they have shorter, saner commands and real help pages... and they also changed the pager from 'less' (my default pager) to the crappy 'more'... because (apparently) you never want to go back a page in a help file. More detailed content, but it's harder to review. Odd.

Re: The New AWS Command-Line Interface

#25
post #18

Earlier quoted context omitted.

Yea, not a new thing, even the command names are mostly the same. $ ec2-describe-instances $ aws ec2 describe-instances … Pretty strange decision IMO.

It's unifying the commands. Just this morning I've been struggling with ascli (autoscaling cli), which has its own method for listing AWS keys that don't match the way other tools do it.

Meh, 90% of what I do is ec2 anyway.

I did have to break out: cli53 rrcreate.

Re: The New AWS Command-Line Interface

#26
post #9

Whilst this is a much better solution that the existing slow tools Amazon provided, I don't understand why this is being reported as if command-line tools for AWS are a new thing. Command-line tools used to be your only option for managing AWS and Amazon always create their API and shell tools before the Console.

It's probably 'news' because AWS is at risk of losing mindshare on HN as more competitors target this community - Rackspace just started giving everyone free credit, Linode gave everyone big free upgrades, DigitalOcean are just killing it, and then there's Docker etc threatening to reduce them all to interchangeable dumb infrastructure.

Re: The New AWS Command-Line Interface

#27
Just tried it out and it is excellent ! The integration of various aws services is really neat. The help and correction-suggestion are nice too.

Great to hear that this is built on the awesome boto library. Will serve as an useful reference for boto developers.

Re: The New AWS Command-Line Interface

#29
post #6

This latest release marks a milestone in the transition from the old Java based tools, to the new Python ones. Mitch Garnaat[1] who built and maintained boto over the years was picked up by Amazon last year and since has been building out botocore[2] - which the aws-cli[3] tools use under the hood. [1] https://github.com/garnaat [2] https://github.com/boto/botocore [3] https://github.com/aws/aws-cli

Thank you for this no-nonsense layout of the situation. =) Can you elaborate more on how this FOSS Github-er was picked up by Amazon? It sounds like a story that many here would like to replicate!

Re: The New AWS Command-Line Interface

#30
post #24

Interesting - I must have had an older version and not played with it. The version I had did not have 's3 sync', and the help files were a long list of ec2 commands and some boilerplate headings. Reinstalled and now they have shorter, saner commands and real help pages... and they also changed the pager from 'less' (my default pager) to the crappy 'more'... because (apparently) you never want to go back a page in a h…

Amazon doesn't use $PAGER? [0]

[0]: https://en.wikibooks.org/wiki/Guide_to_Unix/Environment_Vari...

Post reply on HN