After you deploy an application on Serverless App Engine (SAE), you can change the instance specifications that are required during runtime, such as vCPUs and memory size.
Prerequisites
To ensure business continuity, you must configure the Minimum Available Instances parameter before you change the instance specifications. For more information, see the document in the upgrade and rollback application directory.
The application is running.
Background
After an application runs for a specific period of time, the application may fail if a specified instance specification is lower than an instance specification that is required. For example, if the memory usage is too large, an out-of-memory (OOM) error may occur. In this case, you must change the specifications of the application instances to ensure that the application can run as expected.
After you change the instance specifications of an application, SAE automatically redeploys the application.
If you change the instance specifications of an application that contains only one instance, the application is unavailable for several seconds. We recommend that you perform this operation during off-peak hours to control business risks.
If you change the instance specifications of an application that contains multiple instances, the application can run as expected.
Procedure
Log on to the SAE console. In the left-side navigation pane, choose . On the page that appears, select a region in the top navigation bar and a namespace from the Namespace drop-down list, and then click the desired application name.
On the Basic Information page, click Application Information tab. On the page that appears, click Change Specifications.

In the Change Instance Specifications dialog box, you can Select Instance Specifications and set the Minimum Number of Available Instances, and click OK.

Verify the result.
Method 1: On the Application Information tab of the Basic Information page, view the value of the Instance Specifications parameter. If the value is updated, the instance specifications are changed.
Method 2: On the Change Records page of the application, check whether the corresponding change process is in the Executed state. If the change process is in the Executed state, the instance specifications are changed.
