Notes and Constraints
Function Configuration
|
Restriction Item |
Description |
|---|---|
|
Maximum number of versions allowed for a function |
20 (including the latest version) |
|
Maximum number of aliases allowed for a function |
10 Each version can be associated with only one alias. |
|
Maximum number of triggers allowed for a function version |
10 |
|
Size of all environment variables of a function |
4,096 characters |
|
Maximum number of functions that can be created under an account |
400 |
|
Maximum size of deployment packages allowed for an account |
10 GB |
|
Number of concurrent executions per account |
100 For more concurrent executions, submit a service ticket. |
|
Maximum number of reserved instances that an account can create |
90 (Number of concurrent executions per account x 90%) For more reserved instances, submit a service ticket. |
|
Maximum number of tags that can be created for a function |
20 To use the pre-defined tags of Tag Management Service (TMS), enable this service. |
|
Network |
If VPC access is enabled, the default NIC is disabled and the NIC bound to the VPC will be used instead. Whether public access is supported depends on the VPC. |
|
Async notification |
To avoid cyclic invocation, do not set two functions as asynchronous execution targets of each other. |
|
Logs |
|
Function Code
|
Restriction Item |
Description |
|---|---|
|
Size of a code deployment package (in ZIP or JAR format) that can be uploaded to the FunctionGraph console |
40 MB |
|
Size of a code deployment package (in ZIP or JAR format) that can be edited inline during function API invocation |
50 MB |
|
Size of exported resources |
≤ 50 MB |
|
Size of an original code deployment package allowed during function API invocation |
|
|
Maximum size of code that can be displayed on the console |
20 MB |
|
Private dependency |
|
Function Running Resources
|
Restriction Item |
Description |
|---|---|
|
Ephemeral disk space (/tmp space) |
512 MB |
|
File descriptors |
2048 |
|
Total number of processes and threads |
1024 |
|
Maximum execution duration per request |
259,200s If the execution takes longer than 90 seconds, use asynchronous invocation. For longer execution duration, submit a service ticket. |
|
Valid payload size of invocation request body (synchronous invocation) |
6 MB |
|
Valid payload size of invocation response body (synchronous invocation) |
6 MB By default, the size of the returned string or the JSON string serialized from the response body is less than or equal to 6 MB. The actual data size varies depending on the backend settings of FunctionGraph. The backend determines the size of the serialized data with a byte-level deviation. The actual valid payload size is 6 MB ± 100 bytes. |
|
Valid payload size of invocation request body (asynchronous invocation) |
256 KB |
|
Image size per function |
10 GB |
|
Instances per tenant |
1000 For more instances, submit a service ticket. |
|
Max. memory per function |
10 GB |
|
Bandwidth |
Unlimited |
|
Single log size |
Unlimited |
|
Maximum execution duration of initializer |
259,200s For longer initializer execution duration, submit a service ticket. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.