Lambda quotas - AWS Lambda

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)

See Amazon ECR service quotas.

Elastic network interfaces per virtual private cloud (VPC)

Note

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

5 layers

Function burst concurrency

500 - 3000 (varies per Region)

Invocation payload (request and response)

6 MB (synchronous)

256 KB (asynchronous)

Deployment package (.zip file archive) size

50 MB (zipped, for direct upload)

250 MB (unzipped, including layers)

3 MB (console editor)

Container image code package size

10 GB

Test events (console editor)

10

/tmp directory storage

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

Note

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.