Moving an instance to Google Cloud
Limitation
You cannot restore an instance to a different cloud platform from a snapshot.
Procedure
-
In the Instances panel, click the instance that you want to restore to open the Detail view.
Note The Detail view appears only if you click an instance. Selecting the check box before the name of the instance will not open the Detail view.
-
In the Detail view that appears at the bottom of the screen, select the preferred restore point.
-
Click
Restore Instance.
-
Select Move Options, and then click Next.
-
Select Move Instance, and then click Next.
-
From the Restore From drop-down menu, select which tier you want to use for the restore. Your restore point can contain one or more tiers among which you can select:
-
Automatic: This option ensures the fastest and most cost-effective restore.
-
Backup (Snapshot)
-
Backup (Target)
-
Copy
-
Archive—(daily, weekly, monthly, yearly)
-
-
From the Destination Source drop-down menu, select the source to which you want to restore the instance. You can choose from sources that belong to the currently selected protection set and that your user account can access.
-
Click Next.
-
In the New Instance Name field, enter the name for the instance.
- Optional. In the Post-restore Script field, enter the path to the script or a command that R‑Cloud should run on the restored instance after the restore.
- From the Destination Region and Destination Zone drop-down menus, select the region and the zone to which you want to restore the instance.
-
In the vCPU Cores field, enter the number of virtual CPUs for the restored instance multiplied by the number of cores per virtual CPU.
-
In the Memory field, set the amount of memory (in GiB) for the restored instance. The default value is the amount of memory in GiB of the original instance.
-
From the Instance Type drop-down menu, select the instance type for the restored instance.
Note The list shows instance types that match the specified number of virtual CPUs and amount of memory, and the boot type of the instance you are moving to cloud (BIOS or UEFI). If no such match exists, you can select the custom machine type.
-
Under Disk Name, do the following:
-
Select the instance disks that you want to restore.
Note All disks of the instance are preselected for the restore. With such selection, the entire instance is restored. The boot disk is restored even if you do not select it.
-
Edit the disks as required. For each selected disk, do the following:
-
Click
Edit Disk.
-
Only if you do not want R‑Cloud to automatically generate a name for the restored disk device or disk. Do the following:
-
In the New Device Name field, enter a name for the restored disk device.
-
In the New Disk Name field, enter a name for the restored disk.
-
-
If you want to change the disk type, from the Disk Type drop-down menu, select one of the available disk types for the restored disk (Standard persistent disk, Balanced persistent disks, or SSD persistent disk). By default, the original disk type is selected.
-
If you want to replicate data between two zones in the region of the instance, make sure the Replicate this disk within region check box is selected, and then, from the Target Zone drop-down menu, select to which zone you want to replicate data. If the selected disk was regional at backup time, the two zones across which the disk is replicated are shown, otherwise, a list of all zones in the region of the instance is shown.
-
Only if you want to add labels to the restored disk.
-
Click Advanced.
-
Click
Manage.
-
Enter a key and a value, and then click Add for each label that you want to add.
Note If the selected disk already has one or more labels added, they are listed under Labels. If you want to delete any of the added labels, click
Delete next to it.
-
- Click Save.
-
-
-
Under Network Interfaces, review the list of networks that are available in the selected Google Cloud zone.
For each configured network interface, you can separately adjust its public and private IP address types. By default, the public IP address configuration of the original instance is kept.
Modifying network settings
If you want to modify network settings, you can add an additional network interface, edit an existing network interface, or delete a network interface:
-
Click Add Network Interface to add a network interface or click
Edit next to the network interface that you want to edit, and then follow these steps:
- From the Destination Network drop-down menu, select the destination network.
-
In the Public Address Type field, select the public IP address for the network interface. You can select among the following options:
Option Description None The network interface does not use a public IP address.
This option is preselected if the network interface of the original instance did not use a public IP address.
Ephemeral The network interface uses an automatically allocated public IP address.
This option is preselected if the network interface of the original instance used a public IP address.
Static (Reserved) The network interface uses a static public IP address that was reserved in Google Compute Engine in advance. Static (New) The network interface uses a static public IP address that is allocated at the time of the restore. If the allocation fails, the instance is assigned a temporary public IP address. Such fallback also sets the restore task status to Done with errors. -
In the Private Address Type field, select the private IP address for the network interface. You can select between the following options:
Option Description Ephemeral (Automatic) The network interface uses an automatically allocated private IP address.
This option is selected by default for the preselected network interfaces.
Ephemeral (Custom) The network interface uses a private IP address that is defined by you.
Important Use of this option might result in IP address conflicts.
Static (Reserved) Not available for legacy networks. The network interface uses a static private IP address that was reserved in Google Compute Engine or in advance. Static (New) Not available for legacy networks. The network interface uses a new static private IP address that is defined by you.
Note Allocation of the IP address in Google Compute Engine is performed at the very beginning of the restore. If the allocation fails, the restore task is terminated without being logged.
-
Click Add or Save.
-
Click
Delete next to the network interface that you want to delete. Keep in mind that you cannot restore the instance without a network interface.
-
-
Only if you want to add labels and/or tags to the restored instance.
-
Click Advanced.
- For each label, network tag, or custom metadata tag that you want to add, click
Manage.
-
Enter a key and a value, and then click Add.
Note If the selected instance already has one or more labels, network tags, and/or custom metadata tags added, they are listed under Labels, Network Tags, or Custom Metadata. If you want to delete any of the added labels, network tags, and/or custom metadata tags, click
Delete next to it.
-
-
Click Restore.
Note You can enter any command that the command-line interface of your instance supports.