Cloud Parallel File Storage (CPFS) provides high throughput and high input/output operations per second (IOPS). It is ideal for high-performance computing (HPC) scenarios. You can share a file system among multiple compute nodes, such as Elastic Compute Service (ECS) instances, containers, Cloud Desktops, and Platform for AI (PAI) clusters, over the POSIX or NFS protocol. This topic describes how to create a CPFS file system.
Prerequisites
The Cloud Parallel File Storage (CPFS) service is activated.
If you log on to the CPFS console for the first time, activate the Cloud Parallel File Storage (CPFS) service as prompted.
You have created a virtual private cloud (VPC) and a vSwitch in the region where you want to create the CPFS file system. For more information, see Create a VPC and a vSwitch.
Usage notes
You can mount a General-purpose Edition CPFS file system using a CPFS-POSIX client or a CPFS-NFS client. You can also access the file system from both types of clients. Before you create a file system, understand the limits, supported operating system versions, and differences between the two clients. This helps prevent access issues that are caused by an incompatible operating system or instance type.
Create a CPFS General-purpose Edition file system
Log on to the NAS console.
At the bottom of the Overview page, click Create CPFS File System.
On the CPFS (Pay-As-you-Go) page, configure the file system.
Parameter
Description
Region
Select the region where you want to create the file system.
ImportantThe file system and the ECS instance on which you want to mount it must be in the same region. CPFS file systems and ECS instances in different regions cannot communicate with each other.
Zone
A zone is a physical area within a region that has independent power and network resources. File systems and ECS instances in different zones of the same region can communicate with each other.
Select the same zone as your ECS instance to avoid cross-zone latency.
Type
The available types are 100 MB/s/TiB Baseline and 200 MB/s/TiB Baseline. For the same capacity, the 200 MB/s/TiB baseline type provides higher bandwidth. For more information, see Product specifications.
CPFS Configuration Capacity
Select a capacity as needed.
Estimate the maximum usage of the file system to ensure it has enough capacity. If usage exceeds the configured capacity, the file system returns a "no space" error.
(Optional) Resource Group
Select a resource group for the file system. You can use resource groups to manage CPFS resources within your Alibaba Cloud account by category. This lets you manage permissions, deploy resources, and monitor resources based on groups without processing each resource separately. For more information, see Best practices for designing resource groups.
If you do not select a resource group, the file system is automatically assigned to the default resource group after it is created.
To create a new resource group, click Create Resource Group. In the Create Resource Group dialog box, configure Resource Group Identifier and Resource Group Name, and then click OK.
VPC
Select a created VPC. You must select the same VPC as the ECS instance.
vSwitch
Select a vSwitch that is created in the VPC. For a better experience, select the same vSwitch as the ECS instance to achieve optimal file system performance.
Service-linked Role
To create a CPFS file system, you must associate a service-linked role. This allows the CPFS service to configure the network and connect the CPFS service cluster to the VPC.
Click Buy Now and complete the purchase as prompted.
After the purchase is successful, go to the . You can view the CPFS instance that is being created. The creation process takes 15 to 20 minutes.
What to do next
After a file system is created, you must mount it on compute nodes, such as ECS instances, ACK clusters, or Cloud Desktops, to access it. Before you mount the file system, review the client descriptions and mounting scenarios in Mount and access to select a suitable mounting scenario for your business.