
Compute Engine stores multiple copies of each snapshot across multiple locations with automatic checksums to ensure the integrity of your data”. After you create a snapshot to capture the current state of the disk, you can use it to restore that data to a new disk. What is Snapshot?Īccording to Google Cloud “ Snapshots incrementally back up data from your persistent disks. Stay tuned here, we will keep publishing a lot more articles on Google Cloud. Let’s get into this article and learn about snapshots in Google Compute Engine. It will be a step by step process for creating a snapshot from the disks and for creating the instance using that snapshot. Wait until the status in the printout shows completed, which means the import task is completed and the snapshot is ready to use.Īws ec2 import-snapshot -description "the-description-of-the-snapshot" -disk-container file://cm.In this article we are going to learn about how to create a snapshot and also we will learn how to create an instance from this snapshot in Google Compute Engine. $ aws ec2 describe-import-snapshot-tasks -import-task-ids import-snap-abcd1234

Use the describe-import-snapshot-tasks command to confirm that your snapshot is imported successfully.Run command to import the disk file as a snapshot.Īws ec2 import-snapshot -description "the-description-of-the-snapshot" -disk-container file://cm.json "Description": "the-description-of-the-snapshot", The "Url" is the Object URL of the disk file. json file in your local directory containing the following information.

