1 Answer
- Newest
- Most votes
- Most comments
0
This does not exist as a built-in feature of S3. However, you can have Lambda compress objects as they are added to the bucket. Here is an example: lambda-s3-zip.
You can also compress on the command line as you are copying the object into S3.
gzip myfile.txt | aws s3 cp - s3://mybucket/myfile.txt.gz
Relevant content
- Accepted Answerasked 4 years ago
- asked 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
See this related re:Post: https://repost.aws/questions/QUfRjkjsQvTViHOi6cNj45UQ/what-is-best-way-to-zip-large-amount-of-objects-from-aws-s-3-like-tbs-of-files