Updated on 2024-06-21 GMT+08:00

Adding a Disk to an ECS

Scenarios

The disks attached to an ECS include one system disk and one or more data disks. The system disk is automatically created and attached when the ECS is created. You do not need to add it again. The data disks can be added in either of the following ways:

  • If you add data disks when creating an ECS, the data disks will be automatically attached to the ECS.
  • If you create data disks after an ECS is created, the data disks need to be manually attached to the ECS.

This section describes how to add a data disk after creating an ECS.

Procedure

  1. Log in to the management console.
  2. Under Storage, click Elastic Volume Service.
  3. On the Disks page, click Create Disk.
  4. Set parameters for the new EVS disk as prompted.

    For instructions about how to set EVS disk parameters, see Purchasing an EVS Disk.

    • By default, the billing mode of the new disk is the same as that of the ECS.
    • By default, the new disk is in the same region as the ECS.
    • By default, the new disk is in the same AZ as the ECS, and the AZ of the disk cannot be changed.
    • After the new disk is created, it is attached to the ECS by default.

Follow-up Procedure

The system automatically attaches the new disk to the ECS, but the disk can be used only after it is initialized. To do so, log in to the ECS and initialize the disk.

For details about how to initialize a data disk, see Scenarios and Disk Partitions.