All Products
Search
Document Center

Serverless App Engine:Enable CPU Burst

Last Updated:Jun 21, 2026

Java applications, for example, require significant CPU resources at startup to load large caches. Once running, their CPU usage typically drops, making a high-performance CPU specification unnecessary. CPU Burst lets you avoid overprovisioning for these temporary peaks, saving costs and preventing resource waste.

Limitations

  • SAE supports a CPU Burst multiplier of 2× for 300 seconds by default. This setting cannot be changed.

  • CPU Burst is available only for instances with a CPU specification of 4 cores or fewer.

  • This feature is available only in the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), and China (Shenzhen).

  • This feature is not supported for Lightweight applications.

Enable CPU Burst

Note

This topic outlines only the key steps. For the complete procedure, see application deployment.

During creation

  1. In the SAE application list, select the target region and namespace from the top navigation bar, and then click Create Application.

  2. On the Create Application page, configure the following settings.

    1. On the Basic Information wizard page, in the Capacity Settings section, set the Single Instance Type.

      For example, select the CPU 1 Core Memory 2 GB specification, and set the number of instances to 2.

      Important

      To enable CPU Burst, the application's instance specification cannot exceed 4 cores.

    2. On the Advanced Settings wizard page, in the CPU Burst Configuration section, enable CPU Burst.

  3. Click Create Application.

During deployment

Important

To enable CPU Burst, this application's instance specification cannot exceed 4 cores.

  1. In the SAE application list, select the target region and namespace from the top navigation bar, and then click the target Application ID to go to the application details page.

  2. On the application's Basic Information page, click Deploy Application.

  3. In the Deploy Application panel, in the CPU Burst Configuration section, enable CPU Burst.

  4. Click Confirm.

Verify the result

  1. On the Basic Information page for the target application, click the Instances panel. Then, in the Actions column for the target instance, click Webshell.

  2. In the command line, run nproc to view the instance's CPU specification. The output is initially 2 cores. After 300 seconds, it reverts to the original 1 core.