Migrating workloads to containers

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

About Google Kubernetes Engine (GKE) and Anthos clusters

Google Kubernetes Engine (GKE) clusters provide secured and managed Kubernetes service with autoscaling 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 clusters - Container orchestration and management service for running Kubernetes clusters in both cloud and on-premises environments. Anthos relies on Anthos clusters on Google Cloud, Anthos clusters on VMware, or Anthos clusters 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 migrate and modernize your existing workloads to containers on a secure and managed Kubernetes cluster. The following sections each describe the steps for migrating VMs to containers. Follow these sections in order -- each builds on the previous.

  1. Qualifying source workloads:

    Determine the Linux and Windows VMs running on VMware, AWS, Azure, or Compute Engine that you want to run as containers on GKE or Anthos:

  2. Setting up Migrate for Anthos:

    Create a processing 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 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.

    • For VMware, to migrate the application to run in a container on-premises, install Anthos clusters on VMware on the vCenter/vSphere environment of the source VMware VM to perform the migration.

    • For AWS, to migrate the application to run in a container on AWS, install Anthos clusters on AWS in the region of the source AWS VM to perform the migration.

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

  3. Migrating Linux workloads:

    Migrate your Linux workloads to containers and deploy the containers to a GKE or Anthos cluster on Google Cloud, to an Anthos clusters on VMware, or to a 1.4 version or later of Anthos clusters on AWS.

  4. Migrating Windows workloads:

    Migrate your Windows workloads to containers and deploy the containers to an GKE or Anthos cluster on Google Cloud, to a Anthos clusters on VMware, or to a 1.4 version or later of Anthos clusters on AWS.

  5. Uninstalling Migrate for Anthos.

Perform a migration using the hands-on labs

For a complete step-by-step tutorial on the migration process, see the hands-on labs: