Getting Started with Migrate for Anthos


This topic describes the steps for migrating Virtual Machines (VMs) to Google Kubernetes Engine (GKE) using Migrate for Anthos.

Benefits of Migrate for Anthos

For more information about the benefits of migrating to GKE with Migrate for Anthos, see Benefits of Migrate for Anthos.

For more information on how Migrate for Anthos performs migrations, see Architecture.


First, check that your workloads run an operating system supported by Migrate for Anthos.

Also, read over the list of Best practices for planning a migration.

Set up an installation of Migrate for Compute Engine.

Before starting a migration, create or select a GKE cluster and install the Migrate for Anthos components.

Migrating from VMware

To migrate VMs from VMware to GKE:

  1. Select a VM in a vSphere cluster that has Migrate for Compute Engine 4.2 (or later) installed and retrieve its configuration.
  2. Configure a YAML file with your application's information. Next, apply that YAML to your GKE cluster.
  3. Your on-premises VM is gracefully stopped, and Migrate for Anthos starts migrating data. If configured, Migrate for Anthos streams data from VMware in the background. Your container starts within minutes.
  4. If there is any issue, you can restart your VM on VMware.

Migrating from Compute Engine

To migrate VMs from Compute Engine to GKE:

  1. Stop your Compute Engine VM.
  2. Run a script to create a YAML configuration file information on the VM.
  3. Apply the YAML configuration to your GKE cluster. Migrate for Anthos will take a snapshot of your VM's disks and create a GKE container from it. The container launches when the snapshot completes.
  4. If there is any issue, you can restart your Compute Engine VM.


Migrate for Anthos Documentation