Create a cloud disk

更新时间:
复制 MD 格式

You can create cloud disks using the Elastic Block Storage resources in your CloudBox and attach them to ECS instances to add storage space. This topic describes how to create a cloud disk using CloudBox resources and provides guidance on other disk operations.

Background information

When you create a cloud disk using CloudBox resources, the disk type and capacity depend on the Elastic Block Storage resources that you purchased for your CloudBox. You are not charged for the cloud disk. However, you are charged for related services. For example, you are charged for snapshots if you use them to back up disk data.

Create a cloud disk

  1. Go to the CloudBox List tab.

    1. Log on to the ECS console.

    2. In the left-side navigation pane, choose Instances & Images > CloudBox.

    3. In the top navigation bar, select a region.

    4. Click the Cloud Boxes tab.

  2. Find the target CloudBox and click its ID.

  3. In the upper-right corner of the page, click Create Cloud Disk.

  4. Configure the disk, select the Terms of Service, and then click Confirm Order.

    The following table describes the configuration parameters.

    Parameter

    Description

    Attach to Instance

    Select whether to attach the new cloud disk to an ECS instance. The cloud disk and the ECS instance must be in the same zone.

    Region and Zone

    Select the region and zone where the CloudBox is located. Each CloudBox corresponds to one zone.

    Storage

    Select the storage class and capacity. The available storage classes and capacities are determined by the purchased Elastic Block Storage resources.

    Quantity

    Specify the number of cloud disks to purchase.

    Other Options (Optional)

    Set the disk name, description, tags, and resource group to help identify and manage the disk.

  5. In the dialog box that appears, click Management Console to go to the disk list page and view the result.

Related operations

Operation

Description

References

Attach a data disk

A cloud disk must be attached to an ECS instance to be used as a data disk. If you chose not to attach the disk during creation, you can attach it manually.

Important

Cloud disks in a CloudBox can only be attached to ECS instances in the same CloudBox.

Attach a data disk

Partition and format a data disk

After a new data disk is attached to an ECS instance, you must partition it and create a file system. Use a partitioning method based on the disk capacity:

  • GPT partition: Supports capacities greater than 2 TiB.

  • MBR partition: Does not support capacities greater than 2 TiB.

Create a cloud disk snapshot

Snapshots provide an agentless data backup method. They are often used for daily data backups, recovering accidentally released instances, and creating custom images. You can create snapshots for both system disks and data disks.

Create a snapshot

Roll back a cloud disk using a snapshot

If a system fault or an operational error occurs, you can use a snapshot to roll back a cloud disk to a previous state. This lets you roll back application versions. To perform a rollback, the disk must have at least one historical snapshot. You can roll back both system disks and data disks.

Roll back a cloud disk using a snapshot

Expand a cloud disk

You can expand the capacity of a cloud disk based on your business needs. You can expand both system disks and data disks. The expansion capacity is limited by the type of the individual disk and the total Elastic Block Storage resource capacity of the CloudBox.

Cloud disk expansion guide