Migrating VMs to Compute Engine using Velostrata

This tutorial walks you through the steps to set up the Velostrata system in your environment and transparently migrate your VMs to GCP.

If you need help along the way contact Velostrata support or refer to the official Velostrata documentation.

Objectives

  1. Configure deployment prerequisites.
  2. Deploy the Velostrata Manager on-premises and Velostrata Cloud Extension using VMware vCenter.
  3. Migrate your first VMware workload to the cloud.

Costs

The VM Migration Service is free to use. You will not be billed for this service either from Google or Velostrata.

For GCP resources that you import into Compute Engine and resources (instances, disks, cloud storage) that the Velostrata product creates to enable migration, you are billed according to the Compute Engine price sheet.

Before you begin

Requirements

To use the VM migration service, the source machines from which you are migrating must be running one of the following operating systems:

  • Windows Server 2008 R2 or higher
  • Windows Server 2008 with Service Pack 2

  • Windows Server 2003 SP2 (offline migrations only)

  • Red Hat Enterprise Linux (RHEL) 6.3 or above

  • CentOS 6.3 or above

  • SUSE 11 SP2-SP4 or SUSE 12 SP2-SP3

  • Ubuntu 14 or 16

Setting up a GCP project

  1. Sign in to your Google Account.

    If you don't already have one, sign up for a new account.

  2. Select or create a GCP project.

    Go to the Manage resources page

  3. Make sure that billing is enabled for your project.

    Learn how to enable billing

Configure deployment prerequisites

In order to use the Velostrata solution to migrate and run your workloads from on-premises to GCP, you will need to verify the following environment prerequisites.

  1. You have a GCP account and a GCP project configured.
  2. You have a target GCP Virtual Private Cloud (VPC) and related GCP network tags configured. You will migrate your VMs to this VPC.
  3. You have created GCP service accounts for Velostrata Management Activities, Cloud Extensions, and Workloads Exporter. For detailed information, refer to the documentation.
    1. Add the GCP service account using this PowerShell script: http://tiny.cc/Velos_GCP_IAM_PS.
    2. Add a VMware vCenter service role account for Velostrata using this PowerShell script: http://tiny.cc/Velos-vCenter-Role.
  4. You have set up a VPN or Cloud Interconnect from your GCP VPC to your on-premises datacenter.
  5. Verify that you have private network connectivity from on-premises to the designated GCP VPC. Velostrata operates within the private network address space.

The complete instructions along with setup examples and ready-to-use PowerShell scripts are available in the Velostrata Documentation Center. If you encounter any issues, please contact support@velostrata.com.

Deploy the on-premises Velostrata Manager and Velostrata Cloud Extension

Once the environment configuration has been completed and verified, download and deploy the Velostrata Manager virtual appliance on VMware on-premises.

  1. Download the Velostrata Manager virtual appliance (OVA file), which can be found here: http://tiny.cc/velos-v3-ova-latest.
  2. Deploy the Velostrata Manager virtual appliance OVA in your VMware vCenter environment using the vSphere Deploy OVF Template.
  3. In the deployment wizard you will be asked to enter the network configuration for the virtual appliance (IP, subnet, default gateway, static routes, HTTP proxy) as well as the Subscription ID.

    1. For GCP-only migrations, use your GCP "Billing account ID", which can be found under the GCP console Billing menu.

      1. For example: Billing account ID: 012ABC-012ABC-012ABC.
      2. It is important to enter the account ID exactly as shown, including dashes, digits and letters. Use the 18-character GCP Billing account ID in the Subscription ID field in the OVA deployment "Customize template" step.
      3. Important Notes:
        • The GCP Billing account ID is used only as a customer identifier in reporting features and for customer support purposes. It is not used for actual billing.
        • For multi-cloud deployments, please contact support@velostrata.com to acquire a Velostrata Subscription ID, instead of using the GCP Billing account ID.
  4. Register the Velostrata vSphere plug-in.

    1. Point your web browser to https://{Velostrata Manager virtual appliance IP}.
    2. Click on Configuration page > Register vCenter plugin.
    3. Provide the vCenter DNS or IP address and the Velostrata vCenter user details (which has the vCenter service role assigned).
  5. Deploy Velostrata Cloud Extension appliances.

    1. Login to the VMware vCenter Web Client and right click on vDatacenter from which you wish to migrate machines to GCP.
    2. Select the Velostrata Operations menu and click Add Cloud Extension. Screencap of Add Cloud Extension menu item

    3. Follow the "Adding a Cloud Extension" detailed instructions at http://docs.velostrata.com/m/59427/l/526508-adding-a-cloud-extension.

    4. Wait up to 20 minutes for the fully automated creation of a new Cloud Extension virtual appliance.

Migrate your first VMware workload to GCP

When a Velostrata Cloud Extension is ready and listed on the vCenter Web Client vDatacenter summary page as Active, you may proceed to run or migrate a workload to GCP.

  1. Login to the vCenter Web Client using a web browser.
    1. Click on the vDatacenter to which you have added a Velostrata Cloud Extension and select the Summary tab.
  2. Verify that the Cloud Extension name appears in the Velostrata portlet and that its state is marked Active.
  3. Select any Windows VM (Windows 2008 R2 or higher) or Linux VM (RHEL/Centos 6 & 7, SUSE 11 & 12, Ubuntu 14 & 16) by right-clicking that VM and then selecting the Velostrata Operations menu, and then selecting the Migrate option. Screen cap of Migrate menu item

Reference deployment

Figure 1 shows a typical Velostrata deployment. On the left hand side is the on-prem datacenter, on the right hand side, the GCP VPC. The two are connected using a VPN or the Cloud Interconnect option.

Reference deployment on GCP Figure 1. Reference deployment on GCP

For detailed instructions and additional capabilities and management options, please refer to the Velostrata documentation site located at http://docs.velostrata.com. And, if you require additional assistance, please contact support@velostrata.com.

Was this page helpful? Let us know how we did:

Send feedback about...

Compute Engine Documentation