Wednesday, August 7, 2013

Download file from S3 via HTTP

You need to have s3cmd installed. This command should return all your buckets
s3cmd ls 
First make the file you want to download be public accessible with command setacl
s3cmd setacl --acl-public s3://bucket-name/path-to-file/filname
 Then you can download from this path
http://bucket-name.s3.amazonaws.com/path-to-file/filename
(You can download with many connection in parallel with axel)

Don't forget to set permission back to private with
 s3cmd setacl --acl-private s3://bucket-name/path-to-file/filname
Credit:  a comment in s3tool.org

No comments:

Collectd PostgreSQL Plugin

I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresql