Uploading ZIP file to S3, use EC2 to Unzip

后端 未结 4 1604
无人及你
无人及你 2020-12-24 14:26

I have a Codeigniter web app that is uploading many tiny files every hour to Amazon S3, which is causing my S3 request charges to shoot up real fast. One way to overcome thi

4条回答
  •  生来不讨喜
    2020-12-24 14:53

    You can write code in a lambda to unzip a file of S3 bucket, you just have to use it, AWS Lambda will do this for you.

    Referece:

    1. https://github.com/carloscarcamo/aws-lambda-unzip-py/blob/master/unzip.py
    2. https://github.com/mehmetboraezer/aws-lambda-unzip

提交回复
热议问题