All Products
Search
Document Center

Elastic Compute Service:Block storage devices

Last Updated:Oct 20, 2023

This topic describes the billing of block storage devices, including the purchasing, pricing, billing rules, and billing examples of cloud disks and local disks. It also describes changes in billing when disk specifications are changed.

Purchasing and pricing

Block storage devices are classified into cloud disks, such as enhanced SSDs (ESSDs), standard SSDs, and local disks. Local disks are available only for specific instance types and cannot be separately purchased. The prices of local disks are included in the prices of the instance types. For information about local disks, see Local disks.

  • Purchase: Go to the Disk page.

  • Pricing: Prices of cloud disks vary based on various factors, including their deployment regions, performance levels, and intended usage (as data disks or system disks). You can view price schedules of cloud disks on the Pricing tab of the Elastic Compute Service (ECS) product page.

Billing of cloud disks

Billing rules

Billable item

Category

Billing rule

Billing method

Disk capacity

All cloud disks

Billing starts the moment cloud disks are created, regardless of whether the disks are attached to ECS instances.

  • Subscription: Cloud disk capacity (GiB) × Unit price × Subscription duration.

  • Pay-as-you-go: Cloud disk capacity (GiB) × Unit price × Usage duration.

  • Storage capacity units (SCUs): a subscription-based storage resource plan that can be used to offset pay-as-you-go bills.

Provisioned performance

ESSD AutoPL disks

The performance provision fee is charged for ESSD AutoPL disks that have the performance provision feature enabled and provisioned IOPS configured.

The fee is calculated hourly.

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

Burst performance

ESSD AutoPL disks

By default, the performance burst feature is enabled on ESSD AutoPL disks. Burst performance is defined as the portion of performance (IOPS or throughput, whichever is higher) that exceeds the sum of the baseline performance and provisioned performance of the disk. Burst performance is billed in 1-second increments, and bills for burst performance are generated on an hourly basis.

Burst performance is calculated in terms of burst I/O operations in 1-second increments based on the following rules:

Note
  • The unit price of burst performance is per 10,000 I/O operations. For billing purposes, burst I/O operations are rounded up to the next 10,000 operations.

  • Burst performance = Total performance - (Baseline performance + Provisioned performance).

  • If only burst IOPS is generated, the number of burst I/O operations is calculated based on the following formula: Burst I/O operations = ∑(Burst IOPS × Duration in seconds).

    For example, if an ESSD AutoPL disk bursts to 10,000 IOPS for 2 seconds and then bursts to 8,000 IOPS for 3 seconds, the number of burst I/O operations is calculated based on the following formula: Burst I/O operations = 10,000 IOPS × 2 + 8,000 IOPS × 3 = 44,000. Then, the value is rounded up to 50,000.

  • If only burst throughput is generated, the number of burst I/O operations is calculated based on the following formula: Burst I/O operations = ∑(Burst throughput/16 KB × Duration in seconds).

    For example, if an ESSD AutoPL disk bursts to a throughput of 1 GB/s (1 × 1,024 × 1,024 = 1,048,576 KB/s) for 2 seconds, the number of burst I/O operations is calculated based on the following formula: Burst I/O operations = 1,048,576/16 × 2 = 131,072. Then, the value is rounded up to 140,000.

  • If burst IOPS and burst throughput are both generated, the number of burst I/O operations is calculated based on the following formula: Burst I/O operations = max{I/O operations of burst IOPS, I/O operations of burst throughput}.

    For example, if an ESSD AutoPL disk bursts to 8,000 IOPS and a throughput of 1 GB/s for 2 seconds, the number of burst I/O operations that is calculated by using the burst IOPS (8,000 × 2 = 16,000) is rounded up to 20,000, and the number of bust I/O operations that is calculated by using the burst throughput (1,048,576/16 × 2 = 131,072) is rounded up to 140,000. You are charged for 140,000 burst I/O operations.

Pay-as-you-go: Unit price of burst performance × Burst I/O operations/10,000

Billing methods

The billing methods of cloud disks vary based on how the disks are created.

  • Created together with ECS instances: use the same billing method as the instances.

  • Created separately and then attached to ECS instances:

    • If the disks are attached to subscription instances, the disks support the subscription or pay-as-you-go billing method.

    • If the disks are attached to pay-as-you-go instances, the disks support only the pay-as-you-go billing method.

  • Created separately and are not attached to ECS instances: support only the pay-as-you-go billing method.

Changing billing methods

You can change the billing method for specific types of cloud disks. For more information, see Switch the billing method of a disk.

Billing for changed disk specifications

The billing of your cloud disk may change when you perform the operations described in the following table.

Operation

Billing

References

Resizing a cloud disk

When you resize a cloud disk by extending the disk capacity, you are charged for the additional capacity.

Note

When you resize a cloud disk, you cannot change the billing method of the disk.

Overview

Changing the category of a cloud disk

After you change the category of a cloud disk, you are charged for the disk based on the new category.

Change the category of a disk

Changing the performance level of an ESSD

After you upgrade the performance level of an ESSD, you are charged for the ESSD based on the new performance level.

Change the performance level of an ESSD

Modifying the performance configurations of an ESSD AutoPL disk

If you enable the performance provision and performance burst features for an ESSD AutoPL disk or if you modify the provisioned IOPS of an ESSD AutoPL disk, you are charged for the ESSD AutoPL disk based on the new performance configurations.

Modify the performance configurations of an ESSD AutoPL disk

Billing of local disks

Local disks are available only to specific instance types and cannot be separately purchased. The prices of local disks are included in the prices of instance types. For more information, see Local disks.

For information about instance families that are equipped with local disks, see Overview of instance families.

Billing examples

For example, assume that you purchase a system disk and a data disk when you create an instance in the China (Hangzhou) region.

  • System disk: a PL0 ESSD with a capacity of 50 GiB

  • Data disk: a PL1 ESSD with a capacity of 100 GiB

The following table describes how the disks are billed.

Note

The prices in the following table are provided only for reference. The prices displayed on the Pricing tab of the ECS product page prevail.

Billing method

Billing condition

Fee (USD)

Subscription

  • System disk: The unit price of the PL0 ESSD is USD 7.65 per 100 GiB-month.

  • Data disk: The unit price of the PL1 ESSD is USD 15.30 per 100 GiB-month.

  • Subscription duration: one month.

  • Fee for the system disk: Unit price of the system disk × Disk capacity × Subscription duration = 7.65 × (50/100) × 1 = 3.825.

  • Fee for the data disk: Unit price of the data disk × Disk capacity × Subscription duration = 15.30 × (100/100) ×1 = 15.30.

  • Total: 3.825 + 15.30 = 19.125.

Pay-as-you-go

  • System disk: The unit price of the PL0 ESSD is USD 0.0160 per 100 GiB-hour.

  • Data disk: The unit price of the PL1 ESSD is USD 0.0320 per 100 GiB-hour.

  • Usage duration: 24 hours.

  • Fee for the system disk: Unit price of the system disk × Disk capacity × Usage duration = 0.0160 × (50/100) × 24 = 0.192.

  • Fee for the data disk: Unit price of the data disk × Disk capacity × Usage duration = 0.0320 × (100/100) × 24 = 0.768.

  • Total: 0.192 + 0.768 = 0.96.