up vote 1 down vote favorite
1
share [g+] share [fb]

I need to (programmatically, in a shell script) upload an EAR file to an Amazon S3 bucket on Debian (5.0.4). What, if any, Debian package provides simple, scriptable tools for that?

Ideally this would be a set of command line tools akin to those in Ubuntu's ec2-api-tools package.

(I want raw S3 bucket access, so please don't suggest solutions like Jungle Disk.)

link|improve this question

78% accept rate
feedback

3 Answers

up vote 5 down vote accepted

George Reese recommended s3cmd in "Cloud Application Architectures". It seems to be readily available as a debian package.

link|improve this answer
Yeah, this is what I needed (wonder why I missed it in the first place). Thanks! – Jonik Apr 13 '10 at 8:27
feedback

The Python Boto library would be one method. Alternatively, you could use something like s3fs, which allows you to mount an S3 bucket. With that solution, all you'd need to do is copy or move your EAR file to the specified mount point.

link|improve this answer
Thanks - not what I was looking for right now, but Boto seems pretty cool and I think I'll use it later when playing with Python – Jonik Apr 13 '10 at 8:49
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.