Idle mode (invitational preview)

更新时间:
复制 MD 格式

Idle mode reduces your costs by billing idle application instances at a lower rate than 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. 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

  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 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 cores is required.

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

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

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

  • Instance: idle status of the instance, percentage of idle time in the instance's 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.