Idle mode reduces your costs by billing idle application instances at a lower rate than active instances.
This feature is in invitational preview. To use this feature, contact our technical support in the DingTalk group (group ID: 32874633) for access.
Idle mode is available only for the standard and professional editions of SAE applications.
Billing
After you enable idle mode, the vCPUs of an application instance in an idle status use a lower CU conversion coefficient than active vCPUs. See the following table for details.
Application edition | Billable item | CU coefficient (default) | CU coefficient (Hygon) | Unit |
standard edition | active vCPU usage | 1 | 1.274 | CU per vCPU-second |
idle vCPU usage | 0.2 | 0.2548 | CU per vCPU-second | |
professional edition | active vCPU usage | 1.1 | 1.4014 | CU per vCPU-second |
idle vCPU usage | 0.22 | 0.28028 | CU per vCPU-second |
Enable idle mode
In the SAE application list, select the target region and namespace at the top of the page, and then click the target application ID to open the application details page.
On the Basic Information page, click the Auto Scaling tab. In the Idle Mode section, turn on the switch.
ImportantEnabling idle mode triggers adjustments to application instances, which can cause temporary service interruptions. Before you proceed, configure graceful start and shutdown to prevent service disruptions.
Idle status conditions
The requirement is
vCPU specification for a single instance <= 8 cores. There are no requirements for the memory specification.For
a single instance with a vCPU specification of <= 2 cores,an actual vCPU usage of < 0.03 coresis required.For cases where
2 cores < Instance vCPU specification <= 8 cores, the requirement isActual instance vCPU usage < Instance vCPU specification * 1%. For example, ifInstance vCPU specification = 4 cores, the instance may be considered idle ifActual instance vCPU usage < 0.04 cores.
The requirement is
Inbound network traffic for a single instance < 20,000 bytes/second, and there is no requirement for outbound network traffic.The requirement is
Idle duration of a single instance <= Total runtime * 50%. Any duration exceeding this limit is billed as active status.
Idle status verification
Disable idle mode
In the SAE application list, select the target region and namespace at the top of the page, and then click the target application ID to open the application details page.
On the Basic Information page, click the Auto Scaling tab. In the Idle Mode section, turn off the switch.
ImportantAfter you disable idle mode, all application instances are billed at the active rate.