Posted On: Mar 24, 2022
AWS Lambda customers can now configure up to 10,240 MB of ephemeral storage for their Lambda functions, a 20x increase compared to the previous limit of 512 MB. This helps workloads such as financial analysis, machine learning inference, and media processing applications perform data intensive operations at scale.
For data intensive applications such as machine learning inference, financial computations, and media processing, customers often need to read and write large amounts of data to ephemeral storage. The Lambda execution environment provides an ephemeral file system for customers’ code to access via /tmp space, which is preserved for the lifetime of the execution environment, and can provide a transient cache for data between invocations. With 10 GB container image support, 10 GB function memory, and now 10 GB of ephemeral function storage, customers can bring larger files to /tmp, which makes it easier to run data intensive workloads.
To get started, customers can configure between 512 MB and 10,240 MB of ephemeral storage for new or existing Lambda functions using the AWS Lambda API, AWS Management Console, AWS Command Line Interface (CLI), AWS SDK, and AWS CloudFormation. For more information on ephemeral storage on Lambda, refer to this blog. For details on pricing for ephemeral storage configured above 512 MB, refer to AWS Lambda pricing.
AWS Lambda support for increased ephemeral storage (/tmp) up to 10 GB is available in the US East (N. Virginia), US West (N. California), US East (Ohio), US West (Oregon), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), Europe (Milano), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), Asia Pacific (Seoul), Asia Pacific (Osaka), Asia Pacific (Mumbai), Asia Pacific (Hong Kong), Canada (Central), Middle East (Bahrain), South America (Sao Paulo), Africa (Cape Town) regions. For more information on availability, please see the AWS Region table. To learn more, visit Lambda developer guide.