search
HomeOperation and MaintenanceLinux Operation and MaintenanceHow to use a snapshot to create a new cloud disk on the ECS console

The content of this article is about how to use a snapshot to create a new cloud disk on the ECS console. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. helped.

Create a cloud disk using a snapshot

You can use the snapshot of a cloud disk (whether it is a system disk or a data disk) to create a cloud disk individually through the console or API interface. The created cloud disk can be mounted to any ECS instance in the same region and the same availability zone. This article describes how to use a snapshot to create a new cloud disk on the ECS console.

Application Scenario

You may need to obtain some data in the snapshot, but do not want to roll back the cloud disk to achieve it . At this point, you can use the snapshot to create a new cloud disk and read data from the cloud disk. For example, if the system disk fails and the system cannot be started, you can use the existing snapshot of the system disk to create a new cloud disk and then mount it to a healthy instance to read the data in the system disk snapshot.

Performance Description

The newly created high-efficiency cloud disk and SSD cloud disk can achieve the highest performance corresponding to their capacity once they are successfully created. No preheating process is required. However, because snapshots are stored in object storage (OSS), when using snapshots to create cloud disks, ECS needs to retrieve data from OSS and write it to the cloud disk. This process takes a while and will cause performance degradation during the first access. It is recommended that you read all data blocks on the cloud disk before officially using this type of cloud disk to avoid initial performance degradation. For detailed information about OSS, see What is Object Storage OSS.

Notes

Before creating a cloud disk, you need to know the following information:

The cloud created in this way Disks can only be billed in a pay-as-you-go manner, and can only be used as data disks.

Note

You can also use a snapshot of the system disk or data disk to create a cloud disk when creating an ECS instance. Cloud disks created in this way are billed in the same way as instances.

You can create a new empty cloud disk. For specific operations, see Creating a Cloud Disk.

The limit of pay-as-you-go cloud disks created as data disks for each account in all regions = the number of pay-as-you-go instances for this account in all regions * 5. See Usage Restrictions for details.

Currently, cloud server ECS does not support merging multiple cloud disks. After a cloud disk is created, each cloud disk is an independent entity, and multiple cloud disk spaces cannot be merged together through formatting. It is recommended that you plan the number and capacity of cloud disks in advance.

It is not recommended to create logical volumes such as LVM (Logical Volume Manager) for multiple cloud disks that have been created. Because snapshots can only be created for each independent cloud disk, after using LVM, data differences will occur when rolling back the cloud disk using snapshots.

After creation, you can convert the billing method of the cloud disk:

If the cloud disk is mounted on a prepaid instance, upgrade the configuration of the prepaid instance to convert the pay-as-you-go cloud disk to Prepaid cloud storage.

If the cloud disk is mounted on a pay-as-you-go instance, convert the pay-as-you-go cloud disk to a prepaid cloud disk through Pay-As-You-Go to Prepaid.

For cloud disks created in this way, as long as the billing method is not converted, you can uninstall the cloud disk and release the cloud disk at any time.

Prerequisites

Before using a snapshot to create a cloud disk, you must confirm the following information:

You have configured the operating system Create a snapshot for the cloud disk or data disk and confirm the snapshot ID. For specific operations, see Creating a Snapshot.

Your account balance shall not be less than 100 yuan or equivalent vouchers or coupons. Because cloud disks created separately adopt a pay-as-you-go method.

The region and availability zone where the instance to which the cloud disk needs to be mounted is located. When mounting a cloud disk, the instance and the cloud disk must be in the same region and availability zone.

Operation steps

Log in to the ECS management console.

In the left navigation bar, click Storage > Cloud Disk.

In the upper right corner of the Disk List page, click Create Cloud Disk to enter the Create page.

Select a region and availability zone.

Note

When mounting a cloud disk, the instance and the cloud disk must be in the same region and availability zone.

Set the cloud disk configuration:

Select the cloud disk type: The optional cloud disk type is not affected by the source cloud disk type corresponding to the snapshot.

Click Create disk with snapshot and select a snapshot.

Description

If the selected snapshot is an encrypted disk snapshot, the encryption item will be automatically selected. Otherwise, you cannot check Encryption. For disk encryption, see ECS Disk Encryption.

Set the cloud disk capacity: the optional range is 20 GiB~32768 GiB. If the selected snapshot is less than 20 GiB, the system uses the minimum capacity of 20 GiB by default, and you can manually adjust the capacity according to your needs. If the selected snapshot is larger than 20 GiB, the system will automatically set the cloud disk size based on the snapshot size, but you must manually set the capacity after replacing the snapshot.

Set the purchase amount.

How to use a snapshot to create a new cloud disk on the ECS console

Confirm the current configuration and configuration fee.

Click Buy Now and follow the page guidance to complete creation.

After the creation is successful, return to the disk list page and refresh the list. You can see the newly created cloud disk and the disk status is displayed as To be mounted.

Follow-up operations

Mount cloud disk

Related API

Create cloud disk: CreateDisk

The above is the detailed content of How to use a snapshot to create a new cloud disk on the ECS console. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
The 5 Core Components of the Linux Operating SystemThe 5 Core Components of the Linux Operating SystemMay 08, 2025 am 12:08 AM

The five core components of the Linux operating system are: 1. Kernel, 2. System libraries, 3. System tools, 4. System services, 5. File system. These components work together to ensure the stable and efficient operation of the system, and together form a powerful and flexible operating system.

The 5 Essential Elements of Linux: ExplainedThe 5 Essential Elements of Linux: ExplainedMay 07, 2025 am 12:14 AM

The five core elements of Linux are: 1. Kernel, 2. Command line interface, 3. File system, 4. Package management, 5. Community and open source. Together, these elements define the nature and functionality of Linux.

Linux Operations: Security and User ManagementLinux Operations: Security and User ManagementMay 06, 2025 am 12:04 AM

Linux user management and security can be achieved through the following steps: 1. Create users and groups, using commands such as sudouseradd-m-gdevelopers-s/bin/bashjohn. 2. Bulkly create users and set password policies, using the for loop and chpasswd commands. 3. Check and fix common errors, home directory and shell settings. 4. Implement best practices such as strong cryptographic policies, regular audits and the principle of minimum authority. 5. Optimize performance, use sudo and adjust PAM module configuration. Through these methods, users can be effectively managed and system security can be improved.

Linux Operations: File System, Processes, and MoreLinux Operations: File System, Processes, and MoreMay 05, 2025 am 12:16 AM

The core operations of Linux file system and process management include file system management and process control. 1) File system operations include creating, deleting, copying and moving files or directories, using commands such as mkdir, rmdir, cp and mv. 2) Process management involves starting, monitoring and killing processes, using commands such as ./my_script.sh&, top and kill.

Linux Operations: Shell Scripting and AutomationLinux Operations: Shell Scripting and AutomationMay 04, 2025 am 12:15 AM

Shell scripts are powerful tools for automated execution of commands in Linux systems. 1) The shell script executes commands line by line through the interpreter to process variable substitution and conditional judgment. 2) The basic usage includes backup operations, such as using the tar command to back up the directory. 3) Advanced usage involves the use of functions and case statements to manage services. 4) Debugging skills include using set-x to enable debugging mode and set-e to exit when the command fails. 5) Performance optimization is recommended to avoid subshells, use arrays and optimization loops.

Linux Operations: Understanding the Core FunctionalityLinux Operations: Understanding the Core FunctionalityMay 03, 2025 am 12:09 AM

Linux is a Unix-based multi-user, multi-tasking operating system that emphasizes simplicity, modularity and openness. Its core functions include: file system: organized in a tree structure, supports multiple file systems such as ext4, XFS, Btrfs, and use df-T to view file system types. Process management: View the process through the ps command, manage the process using PID, involving priority settings and signal processing. Network configuration: Flexible setting of IP addresses and managing network services, and use sudoipaddradd to configure IP. These features are applied in real-life operations through basic commands and advanced script automation, improving efficiency and reducing errors.

Linux: Entering and Exiting Maintenance ModeLinux: Entering and Exiting Maintenance ModeMay 02, 2025 am 12:01 AM

The methods to enter Linux maintenance mode include: 1. Edit the GRUB configuration file, add "single" or "1" parameters and update the GRUB configuration; 2. Edit the startup parameters in the GRUB menu, add "single" or "1". Exit maintenance mode only requires restarting the system. With these steps, you can quickly enter maintenance mode when needed and exit safely, ensuring system stability and security.

Understanding Linux: The Core Components DefinedUnderstanding Linux: The Core Components DefinedMay 01, 2025 am 12:19 AM

The core components of Linux include kernel, shell, file system, process management and memory management. 1) Kernel management system resources, 2) shell provides user interaction interface, 3) file system supports multiple formats, 4) Process management is implemented through system calls such as fork, and 5) memory management uses virtual memory technology.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.