Skip to navigation

Compute Engine: Restore a VM

Who can use this feature

Anyone with these permissions: Restore resources

This article explains how to restore a Google Compute Engine virtual machine (VM) from your Eon snapshots. For faster recovery where the instance becomes available while disk data loads in the background, see Compute Engine: Restore a VM (Instant Restore).

Restore the instance

Before you start

Before you restore a Compute Engine VM, make sure:

1

Find the snapshot you want to restore

  1. In your inventory, select the Compute Engine resource you want to restore. The Resource details panel opens.

  2. Click the Eon snapshots tab. You’ll see a calendar view with colored dots on the days when snapshots were taken. There can be more than one snapshot per day.

    When you click a day, a list of Eon snapshots taken that day is displayed below the calendar.

  3. Expand the snapshot you want to restore. Click Instance, and then click Restore. The Restore GCE instance wizard opens.

2

Choose the restore account

In the Restore GCE instance wizard, you’re taken through a three-step process. The first step is to choose a restore account.

Choose the cloud account you want to restore to, and then click Next.

3

Set the instance details

In the Instance configuration step, you’ll set the instance details.

  1. Leave Use instant restore off to use the standard restore method.

  2. Set the Machine name.

  3. Choose a Region and Zone to deploy the restored instance to.

  4. Choose the Machine type. For information on available options, see Machine families resource and comparison guide from Google Cloud.

  5. Choose a VPC Network and Subnetwork.

  6. If you want to retain the labels that were present when the snapshot was taken, turn Keep original labels on. Otherwise, turn Keep original labels off.

    In both cases, the new machine is labeled with eon-restore=true. Labels with the eon- prefix aren’t included in the original labels because Eon uses this prefix for internal operations.

  7. Turn Start instance after restore on to start the VM automatically after its disks are restored, or off to leave it stopped.

  8. To specify an internal IP address, turn Assign internal IP automatically off and enter an Internal IP address within the selected subnet. Otherwise, leave the switch on to assign an available address automatically.

  9. Click Next.

4

Set details for the attached disks

In this step of the wizard, you’ll set encryption, disk settings, and labels for the disks attached to the instance. Expand individual disks to show disk-specific settings.

Encryption

You can encrypt all disks with the same customer-managed encryption key (CMEK), or you can set each disk’s key separate from the other disks. If you choose to encrypt each disk separately, turn off Encrypt all disks with the same key. Encryption settings are then displayed for each disk.

Disk settings

For each disk, you can keep the original disk settings, or you can customize the drive’s name, type, and size, and, for disk types that support them, IOPS and throughput.

Labels

Each disk has its own labels, independent of the instance-level labels in the previous step. If you want to retain the labels that were present when the snapshot was taken, turn Keep original labels on. Otherwise, turn Keep original labels off.

In both cases, the restored disk is labeled with eon-restore=true. Labels with the eon- prefix aren’t included in the original labels because Eon uses this prefix for internal operations.

5

Start the restore job

Click Restore to start the asynchronous restore job.

You can see your list of restore jobs on the Restore jobs tab in the Jobs page.