Increase of Lambda deployment package quota max

0

What is the best way to push for an increase of the Lambda deployment package quota max? Both zipped and unzipped. Currently, they sit at 50 MB and 250 MB, respectively (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).

Even one of AWS's own Python libraries exceeds this maximum: https://github.com/aws/aws-sdk-pandas/issues/2761

已提問 1 個月前檢視次數 175 次
1 個回答
1

Hello.

The size of your deployment package probably cannot be increased.
So I think you can get around the limitation by mounting EFS from Lambda or creating a custom runtime using Docker containers.
https://docs.aws.amazon.com/lambda/latest/dg/services-efs.html

If you use a custom runtime, you can use up to 10GB.
https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-types

Lambda supports a maximum uncompressed image size of 10 GB, including all layers.

profile picture
專家
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
profile picture
專家
已審閱 1 個月前
  • Thanks for your reply.

    The size of your deployment package probably cannot be increased.

    Why not? The current limit "feels" somewhat arbitrary.

    In the same deployment package size quota limit documentation that I referenced, it says "this quota applies to all the files you upload, including layers and custom runtimes." What "custom runtimes" is that referring to if not Docker containers?

    I'll look into using EFS or Docker. My concern with those is increased initialization time, on every trigger of a Lambda function, over using the standard AWS base image. How concerned should I be about that? I'll look more at https://docs.aws.amazon.com/lambda/latest/dg/images-create.html.

  • Actually, moving to container image for larger packages will reduce the startup time compared to zip files.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南