Idle mode (invitational preview)

更新时间:
复制 MD 格式

Idle mode lowers your costs by billing idle application instances at a reduced rate compared to active instances.

Important
  • 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

  1. 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.

  2. On the Basic Information page, click the Auto Scaling tab. In the Idle Mode section, turn on the switch.

    Important

    Enabling 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 be an actual vCPU usage of < 0.03 cores.

    • For instances where 2 cores < Instance vCPU specification <= 8 cores, the actual vCPU usage must be Actual instance vCPU usage < Instance vCPU specification * 1%. For example, if Instance vCPU specification = 4 cores, the instance is considered idle when Actual 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

After you enable idle mode, view resource usage metrics by the applications, or Instance dimension to check whether the idle conditions are met. You can select a predefined or custom time range.

  • applications, : displays the number of application instances and the idle time percentage in total CPU resource usage (core-hours).

  • Instance: displays the idle status, idle time percentage in CPU resource usage (core-hours), CPU usage in cores, and inbound traffic in bytes per second (B/s).

Disable idle mode

  1. 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.

  2. On the Basic Information page, click the Auto Scaling tab. In the Idle Mode section, turn off the switch.

    Important

    After you disable idle mode, all application instances are billed at the active rate.