Lambda quotas
Lambda sets quotas for the amount of compute and storage resources that you can use to run and store functions. The following quotas apply per AWS Region and can be increased. For more information, see Requesting a quota increase in the Service Quotas User Guide.
Resource | Default quota | Can be increased up to |
---|---|---|
Concurrent executions |
1,000 |
Hundreds of thousands |
Function and layer storage (.zip file archives) |
75 GB |
Terabytes |
Function storage (container images) |
|
|
Elastic network interfaces per virtual private cloud (VPC) This quota is shared with other services, such as Amazon Elastic File System (Amazon EFS). See Amazon VPC quotas. |
250 |
Hundreds |
For details on concurrency and how Lambda scales your function concurrency in response to traffic, see AWS Lambda function scaling.
The following quotas apply to function configuration, deployments, and execution. They cannot be changed.
Resource | Quota |
---|---|
Function memory allocation |
128 MB to 10,240 MB, in 1-MB increments. |
Function timeout |
900 seconds (15 minutes) |
Function environment variables |
4 KB |
Function resource-based policy |
20 KB |
Function layers |
five layers |
Function burst concurrency |
500 - 3000 (varies per Region) |
Invocation payload (request and response) |
6 MB (synchronous) 256 KB (asynchronous) |
50 MB (zipped, for direct upload) 250 MB (unzipped, including layers) 3 MB (console editor), 512 KB maximum for an individual file |
|
Container image code package size |
10 GB |
Test events (console editor) |
10 |
|
512 MB |
File descriptors |
1,024 |
Execution processes/threads |
1,024 |
The following quotas are associated with Lambda API requests.
Resource | Quota |
---|---|
Invocation requests per Region (requests per second) |
10 x concurrent executions quota (synchronous, all sources) 10 x concurrent executions quota (asynchronous, non-AWS sources) |
Invocation requests per Region (requests per second) for asynchronous AWS service sources |
Unlimited requests accepted. Execution rate is based on concurrency available to the function. See Asynchronous invocation. |
Invocation requests per function version or alias (requests per second) |
10 x allocated provisioned concurrency This quota applies only to functions that use provisioned concurrency. |
GetFunction API requests |
100 requests per second |
GetPolicy API requests |
15 requests per second |
Remainder of the control plane API requests (excludes invocation, GetFunction, and GetPolicy requests) |
15 requests per second |
Quotas for other services, such as AWS Identity and Access Management (IAM), Amazon CloudFront (Lambda@Edge), and Amazon Virtual Private Cloud (Amazon VPC), can impact your Lambda functions. For more information, see AWS service quotas in the Amazon Web Services General Reference, and Using AWS Lambda with other services.