Idle mode lowers your costs by billing idle application instances at a reduced rate compared to 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, as shown in the following table.
|
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 instance vCPU specification must be
vCPU specification for a single instance <= 8 cores. No memory specification requirement applies.-
For
a single instance with a vCPU specification of <= 2 cores, the actual vCPU usage must bean actual vCPU usage of < 0.03 cores. -
For instances where
2 cores < Instance vCPU specification <= 8 cores, the actual vCPU usage must beActual instance vCPU usage < Instance vCPU specification * 1%. For example, ifInstance vCPU specification = 4 cores, the instance is considered idle whenActual instance vCPU usage < 0.04 cores.
-
-
Inbound network traffic must be
Inbound network traffic for a single instance < 20,000 bytes/second. No outbound traffic requirement applies. -
Idle duration must not exceed
Idle duration of a single instance <= Total runtime * 50%. Any duration beyond this limit is billed at the active rate.
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.