You can attach, detach, or release a pay-as-you-go data disk as you need. A pay-as-you-go data disk can be attached to any instances in the same zone. This topic describes how to create a new data disk without any data stored on it. You cannot create a system disk separately in the ECS console.
- Log on to the ECS console. In the left-side navigation pane, choose to create a pay-as-you-go disk.
- When you create an ECS instance, set its billing method to pay-as-you-go and create disks for the instance. All the disks created together with this instance use the pay-as-you-go billing method. For more information, see Create an instance by using the provided wizard.
- The total number of pay-as-you-go data disks that you create under your account cannot be more than five times the total number of pay-as-you-go instances under your account. For more information, see Limits.
- You cannot merge multiple disks by formatting them because they are independent of each other. Therefore, we recommend that you determine the number and capacity of disks that you need before you create them.
- We recommend that you do not use Logical Volume Manager (LVM) to create logical volumes on multiple disks. This is because a snapshot can only back up data of a single disk. If you create a logical volume on several disks by using LVM, data discrepancies will occur when you roll back these disks.
For more information about the pay-as-you-go billing method, see Pay-as-you-go.
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the upper-right corner of the Disks page, click Create Disk.
- Select the same region and zone as the instance to which you want to attach the disk.
- On the Disk page, configure the Disk, Capacity, Quantity, and Disk Name parameters.
Note Pay-as-you-go data disks have capacity quotas. The specific quotas depend on the usage of ECS instances, regions, and disk categories. After you configure the disk category, the purchased capacity and the remaining capacity are displayed on the Disk page.
Parameter Description References Performance Level You can set performance levels for enhanced SSDs (ESSDs) based on their configured capacity. The performance levels include PL1, PL2, and PL3.Note You can set performance levels only for enhanced SSDs. Enhanced SSDs Create from Snapshot Use a snapshot to create a disk. The snapshot can be created from a system disk or a data disk. Create a disk from a snapshot Disk Encryption Disk encryption is suitable for scenarios that require data security and regulatory compliance. If you select this option, data stored on the disk is automatically encrypted. Encryption overview Disk Backup If you select this option, the automatic snapshot policy is executed and data on the disk is backed up on a regular basis. Overview
- Read and select the terms of services in the Terms of Service section.
- Confirm your settings and the Total value.
- Click Preview. In the dialog box that appears, click Create.
After the disk is created, go back to the Disks page and refresh the disk list.
Unattached is displayed in the Status column corresponding to the new disk.