A disk is a non-shared, low-latency, and highly reliable block storage device. Disks are ideal for applications that require high I/O performance and low latency but not shared data access, such as databases. ACK lets you mount various types of disks, such as ESSD AutoPL disks and ESSDs, to pods as volumes for persistent storage.
Disk selection
Disks are ideal for the following use cases:
Applications that require high disk I/O but not shared data access, such as MySQL or Redis.
High-speed log writing.
Persistent storage for data that must persist beyond the pod lifecycle.
Select a disk type based on your requirements for features, performance, and cost.
Standard SSDs, ultra disks, and basic disks are legacy disk types that are being phased out in some regions and availability zones. Use ESSD PL0 or ESSD Entry disks to replace ultra disks and basic disks, and use ESSD AutoPL disks to replace standard SSDs.
Disk features and use cases
The following table describes the features and use cases of different disk types. For more information, see Block storage overview.
Type | Features | Use cases |
|
| |
|
| |
| Latency-sensitive applications or I/O-intensive workloads, such as:
| |
ESSD Entry disk Note ESSD Entry disks can only be attached to general-purpose (U-series) and economy (e-series) instance families. |
|
|
| Temporary data storage, such as:
|
Disk performance
The performance of a disk varies by type. Key performance metrics include IOPS, throughput, and access latency.
For more information about performance metrics, see Performance metrics.
For the performance data of different disk types, see Disk performance and Elastic ephemeral disk performance.
The final performance of a disk is limited by its own specifications and the instance type of the attached ECS instance. For more information, see Storage I/O performance.
Billing
Disks used as volumes must be pay-as-you-go. Subscription disks cannot be mounted to pods. You can purchase a Storage Capacity Unit (SCU) to reduce your disk usage costs.
For information about how disks are billed, see Block storage billing.
For information about disk pricing, see Block Storage Pricing.
When you convert an ECS instance from pay-as-you-go to subscription, do not select Convert disk to subscription. Subscription disks are incompatible with container application restarts, which can disrupt your services. For more information, see Billing FAQ.
Limitations
Disks provide non-shared storage. A disk without multi-attach enabled can be mounted to only one pod at a time. For more information about multi-attach, see Use multi-attach and reservation for NVMe disks.
Disks can only be mounted to pods within the same availability zone. Cross-availability zone mounting is not supported.
Not all disk types are compatible with all ECS instance types.
When using a disk volume, ensure the node's instance type supports the selected disk type. For more information about the compatibility between disk types and ECS instance types, see Instance families.
Procedures
Actions | Description | Related topics |
Mount and use a disk volume |
| |
Expand a disk volume | If your application data grows and storage becomes insufficient, you can expand the disk volume to meet your needs. | |
Change the disk type | If the performance or capacity of your current disk volume no longer meets your business requirements, you can change the disk type. For example, if you initially attached a standard SSD but later require higher IOPS, you can upgrade the disk to an ESSD. | |
Backing up disk data with snapshots |
| |
Encrypting data stored on a disk | When you use the disk encryption feature, data is automatically encrypted before it is written to the disk and decrypted when it is read. Disk encryption is suitable for applications with high security or compliance requirements. This feature protects data privacy without requiring you to build and maintain a key management infrastructure. | |
Restoring disk data with an instant access snapshot | If a disk is accidentally deleted, you can use the instant access snapshot feature for ESSDs to quickly restore data. |
Related topics
ACK uses the CSI component to create, mount, and unmount disk volumes. For more information, see Manage CSI components.
For shared storage across multiple pods or availability zones, use NAS volumes.
For troubleshooting issues with disk volumes, see the Disk volume FAQ.