Disk volumes provide persistent, high-IOPS block storage by mounting ESSDs or ESSD AutoPL disks to pods.
Disk categories
Disks are suitable for the following scenarios:
-
Applications requiring high disk I/O throughput without data sharing, such as MySQL and Redis.
-
High-speed log writing.
-
Data persistence independent of the pod lifecycle.
ACK supports elastic ephemeral disks, ESSD-series disks, and previous-generation disks such as standard SSDs, ultra disks, and basic disks. Features, performance, and price vary by category. Select a disk category based on your requirements.
Standard SSDs, ultra disks, and basic disks are previous-generation cloud disks unavailable in some regions and zones. Use PL0 ESSDs or ESSD Entry disks instead of ultra disks and basic disks, and ESSD AutoPL disks instead of standard SSDs.
Features and scenarios
The following table compares disk features and scenarios. See Overview of Block Storage.
|
Disk category |
Feature |
Scenario |
|
|
|
|
|
|
|
Latency-sensitive or I/O-intensive scenarios, such as:
|
|
|
ESSD Entry disks Note
ESSD Entry disks can be attached only to instances of universal instance families and e economy instance families. |
|
|
|
Temporary data storage, including:
|
Disk performance
Disk performance varies by category. Key metrics include IOPS, throughput, and latency.
-
See Performance metrics.
-
Compare category-specific data in Disk performance and Elastic ephemeral disk performance.
-
Cloud disk performance is constrained by disk specifications and ECS instance type limits. See Storage I/O performance.
Cloud disk billing
Cloud disks used as volumes must use pay-as-you-go billing. Subscription disks cannot be mounted as volumes. Purchase storage capacity units (SCUs) to reduce costs.
When you change the billing method of an ECS instance from pay-as-you-go to subscription, do not select Switch to Subscription. Otherwise, workloads on the instance cannot be restarted. As a result, workloads on the instance may be affected. See Billing FAQ.
Limitations
-
Cloud disks are non-shared storage. A cloud disk with multi-attach disabled can be mounted to only one pod at a time. For more information about multi-attach, see Using NVMe cloud disk multi-attach and Reservation.
-
A cloud disk can be mounted only to pods in the same zone. Cross-zone mounting is not supported.
-
Supported ECS instance types depend on the disk category.
When mounting a disk volume, verify that the ECS instance type supports the target disk category. See Instance family overview for matching rules.
Disk operations
|
Operation |
Description |
References |
|
Mount disk volumes |
|
|
|
Expand disk volumes |
Expand disk volumes when storage space becomes insufficient as data grows. |
|
|
Change the category of a cloud disk. |
Change the category of a mounted disk to meet performance or storage requirements. For example, upgrade a standard SSD to an ESSD for higher IOPS. |
|
|
Use snapshots to back up data on disks |
|
|
|
Encrypt data on disks |
Disk encryption automatically encrypts data written to a disk and decrypts it on read, suitable for security and compliance requirements. No separate key management infrastructure is required. |
|
|
Use instant access (IA) snapshots to restore data |
Restore data from an IA snapshot if an ESSD is accidentally deleted. |
References
-
Use the CSI plugin to create, mount, and unmount volumes. See Manage CSI components.
-
To share storage across pods or zones, use NAS volumes.
-
For disk volume errors, see Disk volume FAQ.