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.)
George Reese recommended
s3cmd
in "Cloud Application Architectures". It seems to be readily available as a debian package.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.
mc provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems. It has features like resumable uploads, progress bar, parallel copy. mc is written in golang and released under Apache license v2.
Hope this helps.