Callmeed
Callmeed

Reputation: 4992

How can I zip/tar files on S3 without first copying them to the server?

I have a Rails app that archives high-res images (and thumbs) on S3 (via the Paperclip plugin).

I would love to allow users to download multiple high-res files with a single download. Is it possible to create a .zip/.tar file on S3 without first copying them back to the server? Our app runs on a large dedicated box and I'd love to save the extra bandwidth hit.

Upvotes: 5

Views: 1399

Answers (1)

Ben Hughes
Ben Hughes

Reputation: 14185

You could get a dedicated EC2 instance to handle tarring up files off of S3 and relaying them to users. Beyond that, what you want to do isn't something possible.

Upvotes: 5

Related Questions