Wagner8170
Wagner8170

Reputation: 15

Remote compression of files using S3

Does Anyone know if it is possible to compress files directly on S3 without downloading to disk (using EC2), or creating a pipe (using archiver)?

Upvotes: 0

Views: 125

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269282

No, it is not possible to manipulate the contents of files 'within' Amazon S3.

The compression would need to be done with some "compute", such as:

  • An AWS Lambda function (memory and disk limits apply)
  • Code running on an Amazon EC2 instance
  • Code running anywhere on the Internet (but Data Transfer charges would apply)

This would involve downloading the objects from S3, compressing them, then uploading the result.

Upvotes: 1

Related Questions