Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.)

share|improve this question

2 Answers 2

up vote 5 down vote accepted

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

share|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

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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