Lambda quotas
New Amazon accounts have reduced concurrency and memory quotas. Amazon raises these quotas automatically based on your usage. You can also request a quota increase.
Compute and storage
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 Amazon 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 |
Tens of thousands |
Storage for uploaded functions (.zip file archives) and layers. Each function version and layer version consumes storage. For best practices on managing your code storage, see Monitoring Lambda code storage in the Lambda Operator Guide. |
75 GB |
Terabytes |
Storage for functions defined as container images. These images are stored in Amazon ECR. |
|
|
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 Lambda function scaling.
Function configuration, deployment, and execution
The following quotas apply to function configuration, deployment, and execution. They cannot be changed.
The Lambda documentation, log messages, and console use the abbreviation MB (rather than MiB) to refer to 1024 KB.
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, for all environment variables associated with the function, in aggregate |
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) This quota applies to all the files you upload, including layers and custom runtimes. 3 MB (console editor) |
|
Container image code package size |
10 GB |
Test events (console editor) |
10 |
|
Between 512 MB and 10,240 MB, in 1-MB increments |
File descriptors |
1,024 |
Execution processes/threads |
1,024 |
Lambda API requests
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-Amazon sources) |
Invocation requests per Region (requests per second) for asynchronous Amazon 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 |
Other services
Quotas for other services, such as Amazon 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 Amazon service quotas in the Amazon Web Services General Reference, and Using Amazon Lambda with other services.