ACK clusters allow pods to automatically attach and use Alibaba Cloud cloud disks, Apsara File Storage NAS (NAS), and Object Storage Service (OSS). You can choose a volume type that fits your needs. This topic describes Alibaba Cloud cloud disks, NAS, and OSS, and their common scenarios.
Alibaba Cloud cloud disks
Alibaba Cloud cloud disks are block storage products that Alibaba Cloud provides for Elastic Compute Service (ECS) instances. They feature low latency, high performance, durability, and high reliability.
Usage notes
Cloud disks are not shared storage. A cloud disk can be attached to only one pod at a time.
A cloud disk can be attached only to nodes that are in the same zone.
Before you can use a cloud disk volume, you must create a cloud disk. For more information, see Create a cloud disk.
Scenarios
Applications that require high disk I/O and do not need to share data, such as MySQL and Redis data storage.
High-speed log writing.
Persistent data storage that is retained after the pod lifecycle ends.
Alibaba Cloud NAS
Apsara File Storage NAS is a file storage service for compute nodes, such as ECS instances and container services. It is a distributed file system that provides shared access, scalability, high reliability, and high performance. Its read and write performance is higher than that of OSS.
Usage notes
NAS is shared storage and can be mounted to multiple pods simultaneously. This means one PersistentVolumeClaim (PVC) can be used by multiple pods at the same time.
Before you can use a NAS volume, you must create a file system and add a mount target in the NAS console.
Scenarios
Applications that require high disk I/O.
File sharing across hosts. For example, it can be used as a file server.
Alibaba Cloud OSS
Alibaba Cloud Object Storage Service (OSS) is a secure, cost-effective, and highly durable cloud storage service that is suitable for storing any type of file.
Usage notes
OSS is shared storage and can provide shared storage to multiple pods simultaneously.
Before you can use an OSS volume, you must create a bucket in the OSS console. For more information, see Create a bucket.
Scenarios
Minimal disk I/O requirements.
Sharing configuration files, images, and short videos.