- Documentation
Volcengine Kubernetes Engine
Volcengine Kubernetes Engine
User guide
Storage
EBS Volumes
EBS volume snapshots
Using EBS snapshots
EBS volume snapshots
Using EBS snapshots
Using EBS snapshots
This topic describes how to statically and dynamically create Elastic Block Storage (EBS) snapshots.
tip
[Beta · Apply for Trial]: The EBS snapshot feature is currently in the beta stage. We recommend that you test this feature in non-production environments first and exercise caution when using it in production. Limits
EBS snapshots support the instant availability feature. After enabling this feature, you do not need to wait for the snapshot creation progress to reach 100% before using the snapshot to create a new EBS volume. This feature provides a faster and more convenient snapshot service. For details, see Instant snapshot availability. The following limitations apply to the instant availability feature:
- Instant availability supports only ESSD_PL0 and ESSD_FlexPL EBS types.
- The available traffic bandwidth during lazy loading is limited to 15-40 MB/s per volume.
- Snapshot size cannot exceed 300 GB.
- During lazy loading when you use an instant snapshot to create a PersistentVolume (PV), the snapshot cannot be deleted.
- A single account in a single region can have up to 10 instant snapshots in the lazy loading state.
Prerequisites
- The csi-ebs add-on has been installed. For details, see csi-ebs.
- To use the instant snapshot availability feature, ensure that the csi-ebs add-on has been upgraded to version 1.2.13 or later.
Dynamically creating snapshots
Step 1: Create a VolumeSnapshotClass
- Create a YAML file for the VolumeSnapshotClass. The following vke-volumesnapshotclass.yaml file serves as an example:
- Run the following command to create the VolumeSnapshotClass.
Step 2: Create a workload and write data
Create a workload (application) and write data. This topic uses a stateless workload (Deployment) as an example.
- Create a YAML file for the Deployment. The following deployment-nginx.yaml file serves as an example. For details, see Using dynamic EBS PersistentVolumes. For information about how to configure other types of workload, see Workloads.
- Run the following command to create the workload.
tip
- Replace deployment-nginx-6fcb64f6cd-qcxkt with your own pod name.
- Check whether the data has been written.
- The expected output is as follows:
Step 3: Create a snapshot
- Create a VolumeSnapshot YAML file. The following vke-snapshot.yaml file serves as an example:
- Run the following command to create the VolumeSnapshot.
Step 4: Validate the result
- Run the following command to check whether the snapshot was created successfully.
- The expected output is as follows. You can view the status and source of the EBS snapshot.
- Run the following command to view the details of the EBS snapshot.
- The expected output is as follows:
Statically creating snapshots
- (Optional) To use the instant snapshot feature, add the following label to the snapshot configuration.
- Create a VolumeSnapshotContent YAML file. The following vke-snapshotcontent.yaml file serves as an example:
- Run the following command to create a VolumeSnapshotContent.
- Create a VolumeSnapshot YAML file. The following vke-snapshot.yaml file serves as an example:
- Run the following command to create the VolumeSnapshot.
Restoring data from snapshots
Last updated: 2026.08.19 17:44:49