- Documentation
Elastic Compute Service
Elastic Compute Service
User Guide
Snapshots
Basic snapshot operations
Creating snapshots
Basic snapshot operations
Creating snapshots
Creating snapshots
You can manually create snapshots of your volumes to back up your data at specific points in time. This topic describes the notes and steps for doing so.
Prerequisites
- Only ESSD volumes offer the snapshot feature.
- You can create snapshots only when the volume is "Available" or "Attached".
- If the volume is "Attached", the instance it is attached to must be either "Running" or "Stopped".
- The number of snapshots on each volume must not exceed the per-volume limit. Each volume can have up to 256 manual snapshots. If you reach the manual snapshot limit, attempting to take another one will result in an error.
- It is not possible to convert an encrypted snapshot to an unencrypted one. The encryption state is irreversible.
Notes
- Creating a snapshot takes time. We recommend performing this task during off-peak hours. Do not extend, roll back, or perform any other similar operations on the volume while a snapshot is being created.
- By default, a snapshot of a volume is located in the same region and availability zone as the volume itself.
- You cannot create two snapshots for a single volume at the same time.
- A snapshot backs up the following data:
- Data that has already been written to the volume at that point in time.
- Data residing in memory that has not yet been written to the volume is not included.
- Any data written to the volume during the creation of a snapshot is not saved in that snapshot.
- To ensure data integrity, we strongly recommend stopping the instance before creating a snapshot. Alternatively, make sure that all data has been written to the volume and pause read and write operations on the volume. Then, perform the following operations based on your workload.
Billing notes
Snapshots are billed on a pay-as-you-go basis depending on your storage usage and how long you keep them. For more information, see Snapshot billing. Creating a snapshot from the Volumes page
- In the left navigation pane, select "Storage > Snapshots".
- Click "Apply for activation" and follow the instructions to enable the snapshot feature.
- In the left navigation pane, select "Storage > Volumes".
- In the top menu bar, select the project and region where the volume resides.
- Click "Create snapshot" in the "Actions" column of the volume.
- In the "Create snapshot" panel, set the following parameters.
- Click "Create snapshot".
- Creating a snapshot takes some time. Thank you for your patience. You can track your progress in the "Status" column on the "Snapshots" page. Once the snapshot has been created, you can view it on the "Snapshots" page or on the "Snapshot Chain" tab of the volume details page.
Creating an encrypted snapshot from the Volumes page
- In the ECS console, navigate to the Volumes page. Locate the encrypted volume for which you want to create an encrypted snapshot.
- Click "Create snapshot" in the "Actions" column of the volume.
- On the "Create snapshot" page, confirm the name of the snapshot, the retention period, the project, and the other parameters. Then, click "Create Snapshot".
Creating a snapshot from the Snapshots page
- In the left navigation pane, select "Storage > Snapshots".
- Click "Apply for activation" and follow the instructions to enable the snapshot feature.
- In the top menu bar, select the project and region where you want to create a snapshot.
- On the "Snapshots" tab, click "Create snapshot".
- In the "Create snapshot" panel, set the following parameters.
- Click "Create snapshot".
- Creating a snapshot takes some time. Thank you for your patience. You can track your progress in the "Status" column on the "Snapshots" page. Once the snapshot has been created, you can view it on the "Snapshots" page or on the "Snapshot Chain" tab of the volume details page.
Creating an encrypted snapshot from the Snapshots page
Method 1: Directly create an encrypted snapshot for an encrypted volume
By default, snapshots of encrypted volumes inherit the encryption properties. To directly create an encrypted snapshot for an encrypted volume:
- In the ECS console, go to the Snapshots page and click "Snapshots > Create snapshot".
- On the "Create snapshot" page, select the encrypted volume for which you want to create a snapshot.
- Specify the name of the snapshot, the retention period, the project, and the other parameters. Then, click "Create Snapshot".
Method 2: Encrypt a snapshot by copying
If you only have one unencrypted snapshot, you can convert it to an encrypted one by selecting the "Encrypted copy" option.
- In the ECS console, go to the Snapshots. Find the snapshot you want to encrypt in the list, and click "Copy snapshot" in the "Actions" column.
- On the "Copy snapshot" page, select a "Target Region" and enable "Encrypted copy" under "Encryption".
- From the drop-down list, select the desired KMS key and enter a name for the new snapshot.
- Click "Copy snapshot" to generate the corresponding encrypted snapshot.
Last updated: 2026.05.28 11:13:46