As per current implementation by AWS, the response payload size returned by a Lambda function cannot exceed 6 mb
. Is there a provision for increasing this limit to 15 mb
by requesting a "Service Limit Increase". Also, what are the additional charges, if any that would be charged?
Thanks in advance!
However, we can get around this limit by using an AWS S3 pre-signed url for uploads. This allows our AWS Lambda function to instead generate a pre-signed url and return it to our client, then our client can use that temporary pre-signed url to upload directly to our AWS S3 bucket.
To increase your Lambda function's concurrency limit, you must open a quota increase case in the Service Quotas dashboard.
AWS Lambda Deployment Package AWS Lambda size limit is 50 MB when you upload the code directly to the Lambda service. However, if your code deployment package size is more, you have an option to upload it to S3 and download it while triggering the function invocation. Another option is to use Lambda Layers.
no.
But you can upload the result to S3 and return the s3 bucket name + key so the caller of the Lambda can download the result from S3 which can handle files of that size without any issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With