Error creating Lambda function: Request must be smaller than 69905067 bytes for the CreateFunction operation

0

Hello everyone,

Trying to launch this https://www.syncfusion.com/kb/13523/how-to-convert-html-to-pdf-in-aws-lambda but get the following error Error creating Lambda function: Request must be smaller than 69905067 bytes for the CreateFunction operation I was able to upload the zip file to an s3 bucket but can not figure out how to create the lambda from there I am a newbie to .net/aws so take it easy on me please

質問済み 1年前3806ビュー
1回答
0
承認された回答

Hi, yes there is a 50MB quota (probably approximate) on directly-uploaded zipfile Lambdas. Behind the scenes this is a result of the Request limit you've seen of 69905067 bytes; by the time AWS API overhead like base64 encoding is taken into account you're left with about 50MB. Uploading to S3 gets around this, then the only limit is it must be <250MB unzipped. This is explored in depth at https://adieuadieu.medium.com/exploring-the-aws-lambda-deployment-limits-9a8384b0bec3 if you're interested. Also note a container Lambda can be used instead which can be up to 10GB.

Now you have your Lambda zip file in S3 you can create a Lambda function from the AWS Lambda console. There you'll be given the option to upload from a zip file or an S3 location.

エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ