Version 4.10

You're viewing documentation for a prior version of Migrate for Compute Engine.

Migration Workflows

This section addresses the workflow for migrating an application. For a view centered on the VM, see the VM migration lifecycle.

Migration planning occurs in multiple stages:

  1. Modeling and planning migration waves: Before beginning a migration, first create a prioritized inventory of the machines you want to migrate. You also need to understand your application's dependencies and use Migrate for Compute Engine's Wave interface to create migration waves and plan the resulting migrations. Then, you need to batch these dependencies within the same wave. For example:

    1. If an application depends on multiple VMs, migrate all of those VMs in the same wave.
    2. Alternatively, if an application requires a database and a web server, the database can be migrated and started before the web server.
  2. Pre-migration testing (optional). To test your migration before running it, you can clone an on-premises workload and run it in Google Cloud without modifying the original host. This enables you to test without disrupting production. Clones can be fully operational within minutes. For more information, see Creating a test clone.

  3. Cutover to cloud. Run the VM in Compute Engine in streaming mode. This can be done per VM or using Waves for mass migration sprints. You can accomplish the following phases as part of the migration to cloud, using the Migration Wizard or using Waves.

    1. Move the VM to Compute Engine.

      See Running and migrating VMs. After this is completed, perform validation or sanity tests and fix the resulting issues.

    2. Migrate the application storage to Google Cloud.

  4. Detach. After determining that you can rely on the VMs in the cloud, schedule downtime to cut over your application to Google Cloud. This happens in two stages:

    1. Detach the VM. Follow these instructions to detach a VM.
    2. Test the application to verify that it functions accurately post-migration.