AWS Lambda limits the amount of compute and storage resources that you can use to run and store functions. The following limits apply per-region and can be increased. To request an increase, use the Support Center console.
Resource | Default Limit |
---|---|
Concurrent executions | 1000 |
Function and layer storage | 75 GB |
For details on how Lambda scales your function concurrency in response to traffic, see Understanding Scaling Behavior.
The following limits apply to function configuration, deployments, and execution. They cannot be changed.
Resource | Limit |
---|---|
Function memory allocation | 128 MB to 3008 MB, in 64 MB increments. |
Function timeout | 900 seconds (15 minutes) |
Function environment variables | 4 KB |
Function layers | 5 layers |
Invocation payload (request and response) | 6 MB (synchronous) 256 KB (asynchronous) |
Deployment package size | 50 MB (zipped) 250 MB (unzipped, including layers) 3 MB (console editor) |
Test events (console editor) | 10 |
/tmp directory storage |
512 MB |
File descriptors | 1024 |
Execution processes/threads | 1024 |
Limits for other services, such as AWS Identity and Access Management, Amazon CloudFront (Lambda@Edge), and Amazon Virtual Private Cloud, can impact your Lambda functions. For more information, see AWS Service Limits.