Scenarios
You can create a cloud disk and connect it to any CVM in the same availability zone. Through block storage device mapping, the cloud disk is recognized and used by the CVM. The cloud disk can achieve its maximum performance without preheating after being created.
You can choose to create different types of cloud disks based on your business needs. For more details about cloud disk types, see Cloud Disk Type.
Operation Steps
Creating Cloud Disks Using the Console
- Log in to the CBS console.
- Select a region and click Create.
- In the Purchase Data Disk dialog box, set the following parameters:
| Parameter | Parameter Description |
|---|---|
| AZ | This parameter is required. The availability zone where a cloud disk is located cannot be changed after a cloud disk is created. |
| Cloud Disk Type | This parameter is required. Cloud disk types include: - Premium Cloud Storage - SSD Cloud Disk |
| Capacity | This parameter is required. When you create a cloud disk using a snapshot, the capacity cannot be smaller than the snapshot size. If you do not specify the capacity of a cloud disk, the capacity defaults to the same as the snapshot size. |
| Snapshot | This parameter is optional. When a cloud disk is created with a snapshot, check Create Cloud Disk with Snapshot and select the snapshot to be used. - The capacity of a cloud disk created with a snapshot is equal to the snapshot size by default, and you can increase the capacity to a value larger than the default value. - When a cloud disk is created with a snapshot, the disk type is consistent with the type of the source cloud disk by default. You can adjust the cloud disk type. |
| Disk Name | This parameter is optional. The name of a cloud disk supports up to 64 characters. After the cloud disk is created, it can be modified. - Create a single cloud disk: The disk name is the name of the cloud disk. - Batch create cloud disk: When multiple cloud disks is created at a time, the disk name will be the prefix of the cloud disk name, and the final cloud disk name is Disk Name_Digit: from Hard Disk Name_0 to Hard Disk Name_49. |
| Scheduled Snapshots | This parameter is optional. When you create a cloud disk, you can associate it with the regular snapshot policy to regularly manage the snapshot of the cloud disk. |
| Project | This parameter is optional. When you create a cloud disk, you can set the project to which it belongs. |
| Tag | This parameter is optional. You can bind tags to cloud disks when you create them. Tags are used to identify cloud resources, and you can use tags to classify and search for cloud resources. |
| Encrypt | This parameter is optional. If the KMS service is enabled and authorized for use, this item supports enabling cloud disks encryption. The encryption algorithm is AES256, and the sources of supported tokens are as follows: - Use the token created by KMS for Cloud Services by default - Use the existing custom token |
| Purchase Quantity | This parameter is optional. Quantity is 1 by default, meaning that only one cloud disk will be created. Currently, a maximum of 50 cloud disks can be created in batches. |
- Click OK.
You can view the created cloud disk on the Cloud Disk page. The newly created elastic cloud disk is at To be mounted status. To mount the cloud disk to the CVM in the same availability zone, see Attaching Cloud Disks.
Creating Cloud Disks Using Snapshots
If you want to create a new cloud disk containing relevant data directly, you can select Create Cloud Disk from Snapshot.
Creating Cloud Disks Using the API
You can use the CreateDisks API to create a cloud disk