4 ms·
> By contrast Lambda only costs money while your code runs. There is no fee for uploading it, only a fee for executing? In that case could I upload a function
by gumby 2y ago
> By contrast Lambda only costs money while your code runs.
There is no fee for uploading it, only a fee for executing? In that case could I upload a function that only disgorges a static payload? Then I could store a multi-GB file for free and just invoke it in order to download the data.
- icedchai 2y agoYou still get charged for data / bandwidth egress, of course. Either way, that multi-gig response wouldn't work. You'd discover lambda can only generate a 6 megabyte response! Lambda has all sorts of weird limitations: https://repost.aws/questions/QUjXEef9ezTTKpWqKRGk7FSg/limitation-api-gateway-lambda-with-querying https://repost.aws/questions/QUjXEef9ezTTKpWqKRGk7FSg/limita...
- tshaddox 2y agoI believe there is no usage fee for uploading functions, but there’s a size limit per function and an account-wide total storage quota on uploaded functions. https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-...