1 個回答
- 最新
- 最多得票
- 最多評論
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
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
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