AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
When a snapshot is created, any AWS Marketplace product codes that are associated with the source volume are propagated to the snapshot.
You can take a snapshot of an attached volume that is in use. However, snapshots only
capture data that has been written to your EBS volume at the time the snapshot command
is issued; this may exclude any data that has been cached by any applications or the
operating system. If you can pause any file systems on the volume long enough to take
a snapshot, your snapshot should be complete. However, if you cannot pause all file
writes to the volume, you should unmount the volume from within the instance, issue
the snapshot command, and then remount the volume to ensure a consistent and complete
snapshot. You may remount and use your volume while the snapshot status is pending
.
To create a snapshot for EBS volumes that serve as root devices, you should stop the instance before taking the snapshot.
Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected.
For more information, see Amazon Elastic Block Store and Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateSnapshotRequest : AmazonEC2Request IRequestEvents
The CreateSnapshotRequest type exposes the following members
Name | Description | |
---|---|---|
CreateSnapshotRequest() | Empty constructor used to set properties independently even when a simple constructor is available | |
CreateSnapshotRequest(string, string) | Instantiates CreateSnapshotRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
Description | System.String |
Gets and sets the property Description.
A description for the snapshot. |
|
VolumeId | System.String |
Gets and sets the property VolumeId.
The ID of the EBS volume. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8