tencent cloud

Feedback

Cloud Block Storage

Creating Cloud Disks

Last updated: 2023-12-21 21:12:14

Overview

CBS allows you to create a cloud disk and attach it to any CVM in the same availability zone. The cloud disk is identified and used by the CVM through block storage device mapping. Once created, the cloud disk can reach its maximum performance without prefetch. You can create different types of cloud disks as needed as detailed in Cloud Disk Types.

Prerequisite

Before creating a cloud disk, you need to sign up for Tencent Cloud and complete identity verification.

Directions

Creating a cloud disk through the console
Creating a cloud disk using a snapshot
Creating a cloud disk using the API
1. Log in to the CBS console.
2. Select a region and click Create.
3. In the Purchase Data Disk dialog box, configure the following parameters:
Parameter
Configuration
AZ
Required. The availability zone where the created cloud disk resides. It cannot be modified after the cloud disk is created.
Cloud Disk Type
Required.
Cloud disk types include:
Premium Cloud Storage
Balanced SSD
SSD
Enhanced SSD
ulTra SSD. This type can only be purchased together with the Storage Optimized CVM instance.
Quick Disk Creation
Optional. To create a cloud disk using a snapshot, you need to tick Create a cloud disk with a snapshot and select the snapshot you want to use.
The capacity of a cloud disk created using a snapshot is equal to that of the snapshot by default. You can adjust the disk capacity.
When you create a cloud disk using a snapshot, the disk type is the same as that of the snapshot's source disk. You can change the disk type.
Capacity
Required.
The cloud disk capacity and specifications are as follows:
Premium Cloud Storage: 10 to 32,000 GB
Balanced SSD: 20 to 32,000 GB
SSD: 20 to 32,000 GB
Enhanced SSD: 20 to 32,000 GB
When you create a cloud disk with a snapshot, the disk capacity cannot be smaller than that of the snapshot. If you don't specify the capacity of the cloud disk, the capacity is equal to that of the snapshot by default.
Scheduled Snapshot
Optional. You can associate scheduled snapshot policies when creating a cloud disk to regularly manage your cloud disk snapshots. Currently, Tencent Cloud provides a 50 GB free tier for each region in the Chinese mainland. For more information, see Billing Overview.
Disk Name
Optional.
A maximum of 128 characters are supported. It must start with a letter and can be a combination of letters, digits, and special symbols (.,_,:,-). This parameter can be modified after the cloud disk is created.
Creating a single cloud disk: The disk name entered is the name of the cloud disk you create.
Batch creating cloud disks: The disk name entered is the prefix of your cloud disk names, in the format of disk name_number.
Projects
Required. When creating a cloud disk, you can configure the project to which the cloud disk belongs. The default value is DEFAULT PROJECT.
Label
Optional. When creating a cloud disk, you can bind a tag to it. A tag is used for identification, helping you categorize and search cloud resources. For more information on tags, see Tag.
Billing mode
Required. CBS is pay-as-you-go.
Quantity
Optional. The default value is 1, meaning only one cloud disk is created. Currently, up to 50 cloud disks can be created at one time.
Validity Period
The pay-as-you-go billing mode does not involve this parameter.
4. Click OK. If Billing Mode is Pay-as-you-go, the creation is completed.
5. You can view the cloud disk(s) you created in the Cloud Block Storage list page. The new elastic cloud disk is in the To be attached status. To attach it to a CVM instance in the same availability zone, see Attaching Cloud Disks.
If you want to create a cloud disk that contains all data upon creation, you can create cloud disks using snapshots.
You can use the CreateDisks API to create a cloud disk. For more information, see CreateDisks.


Catalog

In The Article

Creating Cloud Disks

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support