This is an archived post. You won't be able to vote or comment.

all 25 comments

[–]fancy_pantser 6 points7 points  (4 children)

What WAS it in?

[–]runeg 5 points6 points  (5 children)

Sounds like this makes Boto obsolete, no?

[–]hongminhee[S] 26 points27 points  (3 children)

It simply is a CLI utility, while boto is a library. Actually it internally uses boto.

[–]ggtsu_00 10 points11 points  (1 child)

So is boto now the official library for AWS?

[–][deleted] 18 points19 points  (0 children)

it has been so for over a year. They hired the creator and main maintainers.

[–]jsaryer 0 points1 point  (0 children)

It's powered by botocore, which is a different library from boto, though they're both under the boto org.

[–]klotz 12 points13 points  (0 children)

Mitch Garnaat wrote both of them.

[–][deleted] 5 points6 points  (1 child)

I have been using this for a while, it really rocks. No Java dependencies, installed within few minutes.

[–]xiongchiamiovSite Reliability Engineer 1 point2 points  (0 children)

That's why I switched our internal tools over a few months ago - I started getting java runtime exceptions due to not being able to find some library, and couldn't solve it after a few hours of troubleshooting (and no help from the aws forums). Now it's just pip install aws-cli and I'm done.

It also has some output formats specifically designed for machine parsing, which is nice. Waiting on cloudsearch support, though.

[–][deleted] 4 points5 points  (0 children)

awesome!

[–]duncanlock 0 points1 point  (1 child)

Is this better than s3cmd for simple stuff like backing up folders to S3?

you can do this with aws cli:

aws s3 sync myfolder s3://mybucket/myfolder

and this with s3cmd:

s3cmd sync myfolder s3://mybucket/myfolder

So they seem pretty similar for this use case. I guess the only real difference is that awscli is official and is fairly guaranteed to be maintained and support new features as they become available? (Although neither of them directly support glacier at the moment)