Converting to Google Cloud Platform

When you restore a virtual machine (VM) from a backup, you can choose to restore the VM as a Google Cloud Platform instance.

You can convert VMs to Google Cloud Platform from the following hypervisors:

  • Amazon streaming backups or IntelliSnap backup copies

  • Azure Resource Manager streaming backups or IntelliSnap backup copies

  • VMware streaming backups or IntelliSnap backup copies

Before You Begin

  • Make any necessary changes to the source VM. For more information, see Preparing VMs for Conversion to Google Cloud Platform.

  • Back up the VM that you plan to convert.

  • Create a Google Cloud Platform hypervisor.

  • When restoring an Azure virtual machine, do the following:

    • For Windows computers: enable the pagefile on the C: drive of the source VM. This will prevent you from receiving an error message when you reboot the destination VM.

    • For Linux computers : Ensure that the fstab entry of the source disk should be based on disk UUID and not disk name. If it is not based on disk UUID, then the restored VM will not boot up.

Procedure

  1. From the navigation pane, go to Protect > Virtualization.

    The Virtual machines page appears.

  2. Click the VM groups tab.

    The VM group page appears.

  3. On the VM groups tab, in the row for the VM group, click the action action_button button, and then click Restore.

    The Select restore type page appears.

  4. To convert the full virtual machine, select Full virtual machine.

    The Restore page appears.

  5. For Type, select Out of place.

  6. Enter the options for the Google Cloud Platform instance.

  7. Click Submit.

What to Do Next

  • If a Linux instance does not boot up after conversion, check the grub configuration file (/etc/default/grub) and the fstab file (/etc/fstab). In these files, if a partition is identified by the device name (/dev/sda1), replace it with the partition’s UUID.

  • If a Linux instance boots up but is not available through ssh username/password login, then do the following:

    • Edit the /etc/ssh/sshd_config file.

    • Change PasswordAuthentication and ChallengeResponseAuthentication to yes.

    • Restart ssh by running the following command: systemctl restart sshd

Options for Conversion to Google Cloud Platform

Loading...