Migrating workloads

Use Migrate for Anthos to convert VM-based workloads into containers in Google Kubernetes Engine (GKE) or Anthos. Workloads can be migrated from VMs running on either VMware on-premises, AWS, Azure, or Compute Engine, giving you the flexibility to containerize your existing workloads with ease.

About Google Kubernetes Engine (GKE) and Anthos

Google Kubernetes Engine (GKE) provides secured and managed Kubernetes service with auto scaling and multi-cluster support. GKE lets you deploy, manage, and scale containerized applications on Kubernetes, powered by Google Cloud.

Anthos is an application management platform that provides a consistent development and operations experience for cloud and on-premises environments. Anthos includes a set of core components, including:

  • Anthos GKE - Container orchestration and management service for running Kubernetes clusters in both cloud and on-premises environments. Anthos relies on Anthos GKE on Google Cloud, Anthos GKE on-prem, or Anthos GKE on AWS to manage Kubernetes installations in the environments where you intend to deploy your applications.
  • Anthos Config Management - Define, automate, and enforce policies across environments to meet your organization's security and compliance requirements.
  • Anthos Service Mesh - Manage and secure traffic between services while monitoring, troubleshooting, and improving application performance.
  • Anthos security - Secure your hybrid and multi-cloud deployments by providing consistent controls across your environments.

Migration overview

With Migrate for Anthos you can migrate and modernize your existing workloads to containers on a secure and managed Kubernetes service. At a high-level, the process of migration consists of:

  1. Identifying the migration source

    Use Migrate for Anthos when you have Linux or Windows VMs running on VMware, AWS, Azure, or Compute Engine and you want to run the applications in containers on GKE or Anthos:

    • For VMware, AWS and Azure, when the target is Google Cloud there is a dependency on installing Migrate for Compute Engine to facilitate the transfer of workloads into Google Cloud. See Migrate to containers versus lift-and-shift to Compute Engine below for more.

    • For VMware, when you want to migrate the application to run in a container on-prem, install Anthos GKE on-prem on the vCenter/vSphere environment of the source VMware VM to perform the migration.

    • For Windows VMs (Beta), only migration from Compute Engine VMs to GKE or Anthos on Google Cloud is currently supported. Therefore, Windows VMs from other sources must first be migrated or cloned to Compute Engine VMs by using Migrate for Compute Engine.

  2. Creating a migration processing cluster

    Use a cluster to run the Migrate for Anthos components that perform the transformations required to migrate a workload from a source VM to a target container. For:

    • Linux workloads: The cluster can be a GKE or Anthos GKE cluster on Google Cloud, or an Anthos GKE on-prem cluster for local VMware migration sources.
    • Windows workloads (Beta): The cluster can be a GKE or Anthos GKE cluster on Google Cloud.
  3. Deploying your migrated workloads

    After migrating your workloads, you can deploy the migrated workloads to a GKE or Anthos GKE cluster on Google Cloud, to an Anthos GKE on-prem cluster on VMware, or to a 1.4 version of Anthos GKE on AWS cluster.

Migration steps

The following sections each describe the steps for migrating VMs to GKE workloads. Follow these sections in order -- each builds on the previous.

  1. Reviewing planning best practices.

    Read advice for application migrations to GKE, based on migrations of real applications.

  2. Reviewing compatible VM operating systems.

    Review a list of the operating systems that have been tested with Migrate for Anthos.

  3. Setting up Migrate for Anthos.

    Create a processing cluster and install Migrate for Anthos. This will give you a processing cluster to use for migrations.

  4. Migrating a VM:

  5. Deploying a migrated workload:

  6. Uninstalling Migrate for Anthos.

    Remove Migrate for Anthos from your processing cluster.