Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does AWS Lambda use S3 during invocation or only during deployment?

I'm well aware of the lambda function deployment package size limit is 50 MB(in case of compressed .zip/.jar) with a direct upload and 250 MB limit (uncompressed) via upload from S3.

What I'm not clear is how lambda deploys the package from S3?

  1. Is it on the each invocation of the lambda function?
  2. Will there be any cost associated data transfer between S3 to lambda function?
like image 633
Rex Avatar asked Jan 22 '26 21:01

Rex


1 Answers

  1. No, after you upload the deployment package, it's saved in the function and layer storage of your AWS lambda account which has a default limit of 75GB. On each invocation of the lambda function, the deployment package will be pulled from there.

  2. Since the deployment package is not pulled from S3, it will not incur any data transfer cost.

like image 91
jellycsc Avatar answered Jan 25 '26 19:01

jellycsc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!