Quotas and limits
In the Cloud Functions service, the following limitations apply:
- Quotas are organizational restrictions that can be changed by technical support on request.
- Limits are technical restrictions due to the Yandex.Cloud architecture specifics. The limits cannot be changed.
You can view your current account quotas in the management console.
Quotas
Type of limit | Value |
---|---|
Number of functions per cloud | 10 |
Number of instances of a single function in each availability area | 10 |
Number of concurrent function calls (for all functions in each availability zone) | 10 |
Total RAM for all running functions in each availability zone | 20 GB |
Limits
Type of limit | Value |
---|---|
Maximum uploaded file size | |
ZIP archive from the management console | 3.5 MB |
ZIP archive from S3 bucket | 128 MB |
Unzipped ZIP archive from S3 bucket | 680 MB |
Other restriction | |
Maximum size of the request JSON structure | 3.5 MB |
Maximum temporary file size | 512 MB |
Maximum function execution time before timeout (including original initialization at first call) | 5 minutes |
Maximum number of triggers per message queue | 1 |
Other restrictions
- The trigger must be in the same cloud as the queue that messages are read from.
- When installing dependencies:
- The total runtime of the
npm ci
command is limited to 5 minutes. After it expires, the build fails with an error. - The command is allocated no more than 1 GB of RAM.
- The total runtime of the