Home > Blockchain >  AWS Lambda Instances use Same or Different /temp Storage?
AWS Lambda Instances use Same or Different /temp Storage?

Time:12-02

Parallel invocations of a lambda function results multiple lambda instances. Does this mean that each instance has its own ./temp storage? For example, if we have 10 instances of a lambda function, then AWS dedicates 10 * 512mb to the lambda function? Or just one unique ./temp storage will be shared among all instances?

CodePudding user response:

Different concurrent instances will have different /tmp. However, for consecutive invocations, lambda may reuse previous /tmp as part of AWS Lambda execution environment.

  • Related