Re:AWS Lambda now supports up to 10 GB Ephemeral Storage
by vdm on Friday March 25, 2022 @10:49AM
(#30802828)
> lambda being stateless
/tmp is ephemeral in the sense that it dies with the Lambda instance, but it is also persistent between multiple serial invocations landing on that instance, even if the instance is frozen and thawed between some of those invocations.
The process memory state on the instance (set up during the Init phase) is also available between invocations.
https://docs.aws.amazon.com/lambda/latest/dg/runtimes-contex...
Re:AWS Lambda now supports up to 10 GB Ephemeral Storage
by zozbot234 on Friday March 25, 2022 @11:01AM
(#30802990)
You can't count on that freezing and thawing process, it's not guaranteed at all. The whole point of Lambda/FaaS in general is that each invocation might be truly ephemeral, depending on factors that are largely beyond any single user's control.
I use this Chromium binary https://www.npmjs.com/package/chrome-aws-lambda