After you deploy an application on SAE, you can manage the lifecycle of the application. For example, you can update, start, stop, and delete the application. You can also scale in or scale out the instances for the application.
Procedure
Log on to the SAE console.
In the left-side navigation pane, click Applications. In the top navigation bar, select a region. Then, click the name of an application.
View the configurations of an application
In the upper-right corner of the Basic Information page, click View Application Configurations. In the View Current Configurations dialog box, view the configuration details of the application.
Update an application
Modify the configurations of an application
If the number of instances in the application is 0, click Modify Application Configurations in the upper-right corner of the Basic Information page. On the Modify Application Configurations page, configure the parameters.
Deploy an application
Roll back an application to an earlier version
In the upper-right corner of the Basic Information page, click Back to Earlier Version. On the Back to Earlier Version page, select a version and configure a release policy. For more information, see Roll back an application to a previous version.
Manually scale in or scale out the instances for an application
- If the total number of the original instances and the instances that you want to add exceeds the upper limit on the number of application instances, the scale-out operation fails. If you want to add additional application instances, join the DingTalk group 32874633 to apply to increase the quota.
- If you are not urgent to scale in or scale out your instances, we recommend that you use the auto scaling feature. For more information, see Configure an auto scaling policy.
Automatically scale in or scale out the instances for an application
On the Instance Deployment Information tab of the Basic Information page, click + Add Auto Scaling Policy in the Auto Scaling section. For more information, see Configure an auto scaling policy.
Start or stop an application
This section describes how to start and stop an application. For information about how to start and stop multiple applications at a time, see Use the one-click start and stop feature to manage applications.
- Stop Application: In the upper-right corner of the Basic Information page, click Stop Application. In the Note message, click OK to stop the application. You can stop a running application at any time based on your business requirements. After you stop an application, the system automatically sets the minimum number of available instances of the application to 0 and the number of instances to 0. In this case, the system pauses billing or calculating the number of computing resources that are used by the application.Warning If your application depends on other cloud services or resources during runtime, such as Server Load Balancer (SLB) instances and virtual private clouds (VPCs), you are still charged for using the services or resources after the application is stopped.
- Start Application: In the upper-right corner of the Basic Information page, click Start Application. In the Note message, click OK to start the application that is in the stopped state.
You can start a stopped application at any time based on your business requirements. After you start an application, the number of instances is restored to the value that is specified before the application is stopped. In this case, the system resumes billing or calculating the computing resources that are used by the application.
Restart an application
In the upper-right corner of the Basic Information page of an application that is in the running state, choose
. In the Restart Application dialog box, configure the parameters as prompted.- If an auto scaling policy is enabled, configure the Resume Auto Scaling After Application Restart parameter and click Confirm.
- If no auto scaling policy is enabled, configure the Minimum Available Instances parameter and click Confirm.
Delete an application
In the upper-right corner of the Basic Information page, choose
. In the Delete Application message, click OK to delete the application.Enable or disable the application monitoring feature for an application
In the upper-right corner of the Basic Information page, click More to enable or disable the application monitoring feature. For more information, see Enable or disable application monitoring for an application.
- Enable Application Monitoring: Choose . In the Note message, click OK to enable the application monitoring feature.
- Disable Application Monitoring: Choose . In the Note message, click OK to disable the application monitoring feature.