Help Center> > Service Overview >Quotas and Usage Restrictions

Quotas and Usage Restrictions

Tenant Resource Restrictions

The following table provides the quotas for tenant resources. For details on how to query and modify quotas, see Quotas.

Table 1 Tenant resource restrictions

Resource

Restriction

Maximum number of functions that a tenant can create

400

Maximum number of versions allowed for a function

10

Maximum number of aliases allowed for a function

10

Maximum number of DIS and DMS triggers allowed for a function version

10

Size of code edited inline for a function

10 KB

Size of a code deployment package (in ZIP or JAR format)

50 MB

Size of the original code in a deployment package

250 MB

Maximum size of deployment packages allowed for a tenant

10 GB

Number of concurrent executions per tenant

100

Number of environment variables allowed for a function

20 (2 KB)

Default workflow quota

512

Maximum workflow quota

1000

Default trigger quota

200

Maximum trigger quota

10,000

Function Running Resource Restrictions

Table 2 Function running resource restrictions

Resource

Restriction

Ephemeral disk space (/tmp space)

512 MB

Number of file descriptors

1024

Total number of processes and threads

1024

Maximum execution duration per request

900s

Valid payload size of invocation request body (synchronous invocation)

6 MB

Valid payload size of invocation response body (synchronous invocation)

6 MB

Valid payload size of invocation request body (asynchronous invocation)

128 KB

Format and maximum size of imported resources

ZIP file not more than 50 MB

Size of exported resources

≤ 50 MB

Workflow Restrictions

Table 3 Workflow restrictions

Resource

Restriction

Workflow name

Contains 1 to 64 characters except special characters, For example:

  • Space
  • Brackets <>{}[]
  • ? *
  • Special characters "#%\^|~`$&,;:/
  • Control characters (U+0000–001F, U+007F–009F)

Workflow definition

Contains 1 to 65536 characters.

Maximum number of states allowed for a workflow

50

Maximum number of actions allowed for a state

10

Workflow Instance Restrictions

Table 4 Workflow instance restrictions

Resource

Restriction

Maximum execution duration

1 year

Maximum duration for retaining execution history

90 days, after which you cannot retrieve or view execution records.

Maximum execution duration of all actions in a single state

20 minutes

Instance name

Contains 1 to 80 characters except special characters, For example:

  • Space
  • Brackets <>{}[]
  • ? *
  • Special characters "#%\^|~`$&,;:/
  • Control characters (U+0000–001F, U+007F–009F)

Input size and format of each state

1–32768 characters in JSON format

Maximum number of timers bound to a workflow

5

Workflow Trigger Restrictions

Table 5 Workflow trigger restrictions

Resource

Restriction

Use of internal triggers

A workflow cannot use cloud service triggers (such as OBS and SMN) and worker triggers at the same time.

Maximum number of EVENT states with a cloud service internal trigger

1

Maximum number of cloud service internal triggers allowed for an EVENT state

1

Binding of external triggers

A workflow cannot be bound with external and internal triggers at the same time.