Block storage billing

更新时间:
复制 MD 格式

This topic covers block storage billing, including purchasing, pricing, billing rules for various disk types, the impact of configuration changes, and billing examples.

Purchase and pricing

Block storage is available in three categories: cloud disks (including the ESSD series and previous-generation cloud disks), local disks, and elastic ephemeral disks.

  • The instance fee includes the cost of local disks.

  • Cloud disks

    To purchase a cloud disk, go to the cloud disk purchase page. Pricing: The price of the same cloud disk category may vary by region. For more information, see the Block Storage Pricing page page.

  • Elastic ephemeral disks

    To purchase an elastic ephemeral disk, go to the elastic ephemeral disk purchase page. Pricing: The price of the same elastic ephemeral disk category may vary by region. For more information, see the Block Storage Pricing page page.

Note

For more information about block storage, see Block storage overview.

Cloud disk billing

Billing rules

Billable item

Applicable disk category

Billing rule

Billing method

Disk capacity

All cloud disks

Billing for a cloud disk starts at its creation and continues regardless of its attachment status or usage.

  • Subscription: Disk capacity (GiB) × Unit price × Subscription duration

    Note

    If the actual usage period is shorter than the subscription duration, you can request a refund for the cloud disk. For more information, see Refund policy.

  • Pay-as-you-go: Disk capacity (GiB) × Unit price × Billing duration

  • SCU: You can use an SCU to offset pay-as-you-go bills for disk capacity based on a deduction factor. Any usage that exceeds the SCU's capacity is billed on a pay-as-you-go basis. For a deduction example, see Storage Capacity Unit (SCU).

Provisioned performance

ESSD AutoPL disks and ESSD PL-X disks only

For an ESSD AutoPL disk or an ESSD PL-X disk, if you enable provisioned performance by configuring IOPS, you are charged an additional fee for the provisioned performance.

Fees are calculated per second and billed hourly. A billable record is generated after each calculation, but its delivery may be delayed.

Note

If the calculated fee for provisioned IOPS is less than CNY 0.001, the fee is displayed as CNY 0/hour in the console. The actual fee is subject to your final bill.

Pay-as-you-go: Unit price of provisioned performance × Provisioned IOPS × Billing duration

Burst performance

ESSD AutoPL disks only

For an ESSD AutoPL disk with burst performance enabled (default), you are charged for any bursts that occur. Fees are billed hourly based on resource usage. A billable record is generated after each hourly calculation, but the record may be delayed.

The total burst I/O is calculated on an hourly basis based on the following rules:

Note
  • Burst performance = Total performance - (baseline performance + provisioned performance). The burst IOPS or throughput described below refers to the performance that exceeds the sum of the baseline and provisioned performance.

  • If only IOPS bursts and throughput does not: Burst I/O = Σ(Burst IOPS × Burst duration in seconds).

    Example: Only IOPS bursts for 5 seconds. The burst IOPS is 10,000 IO/s for the first 2 seconds and 8,000 IO/s for the next 3 seconds. The total burst I/O is 10,000 IO/s × 2s + 8,000 IO/s × 3s = 44,000 I/O. For billing, this amount is rounded up to the nearest ten thousand, which is 50,000 I/O.

  • If only throughput bursts and IOPS does not: Burst I/O = Σ(Burst throughput/16 KB × Burst duration in seconds).

    Example: Only throughput bursts for 2 seconds at a rate of 1 GB/s. The burst I/O is calculated as (1 × 1,024 × 1,024 KB/s) / 16 KB × 2s = 131,072 I/O. For billing, this amount is rounded up to the nearest ten thousand, which is 140,000 I/O.

  • If both IOPS and throughput burst, you are charged based on the metric that results in a higher I/O count.

    Example: Both IOPS and throughput burst for 2 seconds. The burst IOPS is 8,000 IO/s (8,000 IO/s × 2s = 16,000 I/O), and the burst throughput is 1 GB/s ((1 × 1,024 × 1,024 KB/s) / 16 KB × 2s = 131,072 I/O). You are charged for the larger amount. For billing, the burst I/O is rounded up to the nearest ten thousand, which is 140,000 I/O.

Pay-as-you-go:

  • If the total burst I/O per hour is 100,000 or less, you are not charged a fee for burst performance due to a free quota of 100,000 I/O.

  • If the total burst I/O per hour exceeds 100,000, cost-capping rules apply to prevent excessive costs while you benefit from high performance. For details, see Cost capping rules for burst performance.

Billing methods

The available billing methods for a cloud disk depend on its creation method:

  • Create a cloud disk when you create an ECS instance: The disk's billing method is the same as the instance's. Both subscription and pay-as-you-go are supported.

  • Create a cloud disk for an existing ECS instance:

    • For a subscription ECS instance, you can attach subscription and pay-as-you-go cloud disks.

    • For a pay-as-you-go ECS instance, you can attach only pay-as-you-go cloud disks.

  • Create a standalone cloud disk without attaching it to an ECS instance: Only the pay-as-you-go billing method is supported.

Change cloud disk billing method

If the current billing method for your cloud disk no longer meets your needs, you can change it. For more information, see Change the billing method of a cloud disk.

Billing for modified cloud disk configurations

Modifying a cloud disk may incur additional fees. The table below provides details.

Operation

Description

Documentation

Resize a cloud disk

After you resize a cloud disk, you are charged for the added capacity.

Note

You cannot change the billing method of a cloud disk when you resize it.

Resize a cloud disk

Change the disk category of a cloud disk

After you change the disk category, the disk is billed based on the new category.

Change the category of a cloud disk

Modify the performance level of an ESSD

After you upgrade the performance level of an ESSD, the disk is billed based on the new performance level.

Modify the performance level of an ESSD

Modify the performance settings of an ESSD AutoPL disk

If you enable provisioned performance and burst performance or modify the provisioned IOPS, the disk is billed based on the new performance settings.

Modify the performance settings of an ESSD AutoPL disk

Local disk billing

Local disks are bound to specific instance types and cannot be purchased separately. Their cost is included in the fee for the instance. For more information about local disks, see Local disks.

Elastic ephemeral disk billing

Billing rules

Billing for an elastic ephemeral disk is based on capacity and starts at creation.

  • Subscription: Elastic ephemeral disk capacity (GiB) × Unit price × Subscription duration

  • Pay-as-you-go: Elastic ephemeral disk capacity (GiB) × Unit price × Billing duration

Billing methods

The supported billing methods for elastic ephemeral disks vary based on how they are created:

  • Create an elastic ephemeral disk when you create an ECS instance: The disk's billing method is the same as the instance's. Both subscription and pay-as-you-go are supported.

  • Create an elastic ephemeral disk for an existing ECS instance:

    • For a subscription ECS instance, you can attach subscription and pay-as-you-go elastic ephemeral disks.

    • For a pay-as-you-go ECS instance, you can attach only pay-as-you-go elastic ephemeral disks.

  • Create a standalone elastic ephemeral disk without attaching it to an ECS instance: Only the pay-as-you-go billing method is supported.

Billing examples

Example 1: ESSD cloud disks

Assume that you purchase two cloud disks (one system disk and one data disk) when you create an instance in the China (Hangzhou) region. The specifications are as follows:

  • System disk: a 50 GiB ESSD PL0 cloud disk.

  • Data disk: a 100 GiB ESSD PL1 cloud disk.

The following table describes how the cloud disks are billed.

Note

The examples are for reference only. Actual pricing and fees are subject to your bill.

Billing method

Billing conditions

Fee (CNY)

Subscription

  • System disk: The unit price of an ESSD PL0 cloud disk is CNY 0.50 per GiB/month.

  • Data disk: The unit price of an ESSD PL1 cloud disk is CNY 1.00 per GiB/month.

  • Subscription duration: 1 month

  • System disk fee = Unit price × Disk capacity × Subscription duration = 0.50 × 50 × 1 = 25.00

  • Data disk fee = Unit price × Disk capacity × Subscription duration = 1.00 × 100 × 1 = 100.00

  • Total fee: 25.00 + 100.00 = 125.00

Pay-as-you-go

  • System disk: The unit price of an ESSD PL0 cloud disk is CNY 0.00105 per GiB/hour.

  • Data disk: The unit price of an ESSD PL1 cloud disk is CNY 0.00210 per GiB/hour.

  • Billing duration: 24 hours

  • System disk fee = Unit price × Disk capacity × Billing duration = 0.00105 × 50 × 24 = 1.26

  • Data disk fee = Unit price × Disk capacity × Billing duration = 0.00210 × 100 × 24 = 5.04

  • Total fee: 1.26 + 5.04 = 6.30

Example 2: ESSD AutoPL disk

For billing examples of an ESSD AutoPL disk, see ESSD AutoPL disk billing examples.