All Products
Search
Document Center

Function Compute:Quotas and limits

Last Updated:Apr 01, 2026

Function Compute enforces resource quotas to prevent runaway costs caused by misconfigurations or code errors such as recursive invocations and infinite loops. This page lists all quotas and limits, explains which ones are adjustable, and shows you how to request an increase.

How quota management works

Function Compute uses two systems to manage quotas:

  • Quota Center — For quotas you can view and increase through the console. Go to Quota Center to manage these quotas without submitting a ticket.

  • Fixed limits — For resources not in Quota Center. Check the Adjustable column in each table below. If a limit is adjustable, submit a ticketsubmit a ticketsubmit a ticket or join the DingTalk user group (ID: 64970014484) to request an increase.

Important

Quota Center lets you request increases within a predefined range. To request an increase beyond that range, submit a ticket. For quota increase requests to be processed efficiently, provide a detailed business justification in the Reason field.

Manage quotas in Quota Center

Function Compute is integrated with Alibaba Cloud Quota Center. The following quotas are managed in Quota Center.

QuotaDescriptionDefault limit
Maximum number of instancesPer region300
Maximum size of a CPU imageCompressed image for non-GPU function deployments10 GB
Maximum size of a GPU imageCompressed image for GPU function deployments30 GB
Maximum number of layers per function5
Maximum number of triggers per function50
Code package size (console, developer tools, or OSS)ZIP or JAR file500 MB (selected regions) / 100 MB (other regions)
The 500 MB code package limit applies to the following regions: China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hong Kong), Singapore, Japan (Tokyo), US (Virginia), and Germany (Frankfurt). In all other regions, the limit is 100 MB.

View and request quota increases

  1. Log on to Quota Center.

  2. In the left navigation pane, choose Product List > General Quota.

  3. On the General Quota Products page, select Elastic Computing from the Product Category drop-down list, then click Function Compute.

  4. On the General Quotas page, you can:

    • View quotas: See the description and current value for each quota.

    • Request an increase: If the quota is adjustable, click Apply in the Actions column. For details, see Create an application to increase a quota.

    • View application history: Click Application History in the Actions column.

Limits

The following limits apply to resources not managed in Quota Center. Where a limit is adjustable, submit a ticketsubmit a ticketsubmit a ticket or join the DingTalk user group (ID: 64970014484) to request an increase.

Function resource limits

ResourceLimitAdjustable
NAS mount targets per function5No
OSS mount targets per function5No
Concurrency per instance1–200No

Function runtime limits

LimitCPU instancesGPU-accelerated instancesAdjustable
Temporary disk space10 GB60 GBNo
File descriptors100,000100,000No
Total processes and threads1,0241,024No
Maximum memory per function32 GB32 GBNo
Maximum function runtime86,400 s86,400 sNo
Maximum Initializer hook runtime300 s300 sNo
Maximum PreStop hook runtime90 s90 sYes
Synchronous invocation payload32 MB32 MBNo
Asynchronous invocation payload128 KB128 KBYes, up to 256 KB
Bandwidth1–5 Gbit/s1–5 Gbit/sNo
Single log entry size32 KB32 KBNo
Code package size (SDK or API, ZIP, Base64-encoded)100 MBN/AYes
ZIP packages uploaded via SDK must be Base64-encoded, which increases the package size. When creating or updating a function, the request body includes the code package and function configuration. Make sure the total size of the Base64-encoded package and all other content in the request body is less than 100 MB.

Instance delivery speed

ItemLimitAdjustable
Instance delivery speed300 instances per minuteYes

Trigger limits

ResourceLimitAdjustable
Native OSS triggers per bucket10No
If 10 native OSS triggers per bucket is insufficient, switch to EventBridge-based OSS triggers, which support up to 50 triggers per bucket. To go beyond 50, request an increase in the Number of event rules for a single event bus quota in EventBridge.

Layer limits

LimitCPU instancesGPU-accelerated instancesAdjustable
Layer size500 MB500 MBYes
Number of layer versions100100No
Total size of all layers per function2 GB2 GBYes

GPU resource limits (per account per region)

The on-demand GPU limit is included in the total GPU limit.
GPU typeTotal limitOn-demand limitAdjustable
Tesla GPUs10 GPU cards3 GPU cardsYes
Ada.1 GPUs3 GPU cards1 GPU card
Ampere GPUs3 GPU cards3 GPU cards
Other GPU types00

Limits on accessing other Alibaba Cloud services

If your region supports VPC access for Function Compute, the following network restrictions apply when calling other Alibaba Cloud services from your functions:

  • ECS instances in a classic network: use the public IP address instead of the private IP address, or migrate the instance to a Virtual Private Cloud (VPC).

  • RDS instances in a classic network: use the public IP address instead of the private IP address, or migrate the instance to a VPC.

  • Alibaba Cloud services: use the VPC endpoint or public endpoint instead of the private endpoint.

Compute node limits per region

The scheduling service provides compute nodes with logical cores and memory. Resource pooling provides a burst capacity equivalent to 50% of the total vCPU and memory limits for your region. After pooled resources are exhausted, the scheduler provisions additional resources at the scale-out rate shown in the table below. Exceeding the quota triggers a throttling error.

Example (China (Hangzhou), 300 max instances):

  • Function configured with 1 vCPU and 1,024 MB: 300 concurrent instances consume 300 vCPUs and 300 GB — within the regional limits of 600 vCPUs and 1,200 GB.

  • Function configured with 16 vCPUs and 32,768 MB: 300 concurrent instances consume 4,800 vCPUs and 9,600 GB — exceeds the regional limits. Request a compute node quota increase to run this workload.

RegionvCPU limitMemory limit (GB)Scale-out speed
China (Hangzhou)6001,200360 vCPUs/min, 720 GB/min
China (Shanghai)6001,200360 vCPUs/min, 720 GB/min
China (Beijing)6001,200360 vCPUs/min, 720 GB/min
China (Zhangjiakou)6001,200360 vCPUs/min, 720 GB/min
China (Shenzhen)6001,200360 vCPUs/min, 720 GB/min
China (Hong Kong)300600180 vCPUs/min, 360 GB/min
Singapore300600180 vCPUs/min, 360 GB/min
US (Virginia)300600180 vCPUs/min, 360 GB/min
China (Qingdao)10020060 vCPUs/min, 120 GB/min
China (Hohhot)10020060 vCPUs/min, 120 GB/min
China (Chengdu)10020060 vCPUs/min, 120 GB/min
Japan (Tokyo)10020060 vCPUs/min, 120 GB/min
Germany (Frankfurt)10020060 vCPUs/min, 120 GB/min
Malaysia (Kuala Lumpur)10020060 vCPUs/min, 120 GB/min
Indonesia (Jakarta)10020060 vCPUs/min, 120 GB/min
US (Silicon Valley)10020060 vCPUs/min, 120 GB/min
China (Ulanqab)5010030 vCPUs/min, 60 GB/min
Thailand (Bangkok)5010030 vCPUs/min, 60 GB/min
UK (London)5010030 vCPUs/min, 60 GB/min
South Korea (Seoul)5010030 vCPUs/min, 60 GB/min
SAU (Riyadh - Partner Region)5010030 vCPUs/min, 60 GB/min

What's next