Notes and Constraints

Function Configuration

Table 1 Function configuration restrictions

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

10GB

Number of concurrent executions per account

100

For more concurrent executions, .

Maximum number of reserved instances that an account can create

90 (Number of concurrent executions per account x 90%)

For more reserved instances, .

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

  • The default log group will be unavailable if you switch it to another one or disable Collect Logs.

  • Each function can have a maximum of 10 tags.

Function Code

Table 2 Function code restrictions

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

  • ZIP: 1,500 MB (after decompression)

  • OBS bucket: 300 MB (after compression)

Maximum size of code that can be displayed on the console

20 MB

Private dependency

  • ZIP: 10 MB (If the file size exceeds 10 MB, upload it via OBS.)

  • OBS: OBS URL with the file in ZIP format

Function Running Resources

Table 3 Function running resource restrictions

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 90s, use asynchronous invocation.

For longer execution duration, .

Valid payload size of invocation request body (synchronous invocation)

6 MB

Valid payload size of invocation response body (synchronous invocation)

6MB

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, .

Max. memory per function

10 GB

Bandwidth

Unlimited

Single log size

Unlimited

Maximum execution duration of initializer

259,200s

For longer initializer execution duration, .