Migrate for Compute Engine Version 4.9 has reached the end of its life and is no longer supported. View the latest documentation or select another available version.

VM OS license support

Migrate for Compute Engine supports the Windows and Linux OS licensing schemes described in this topic.

When you migrate your VMs using a wave, you can specify the licensing scheme for your VM's OS in your wave's runbook.

Operating system Default behavior Optional license
Linux No license.

If you don't specify a license string, no license will be used for your migrated VM.

Premium license (PAYG).

Compute Engine supports premium licenses for a subset of Linux OSes. Premium licenses are billed on a pay-as-you-go (PAYG) basis. For more, see Using premium Linux OS licenses.

Windows PAYG.

You must specify a license string. There is no default.


To use your own Windows license, specify the correct license string listed in this topic. For more about specifying BYOL for a migrating VM, see Migrating to sole-tenant nodes.

Linux license strings

For the Linux operating systems listed in the following table, you can specify a license string to use a premium license. Add the string to the runbook's license:os field. If you don't specify a license string, the default is no license.

The license:os value you use in your runbook should correspond to the OsType field's value. The value for OsType is queried from the source platform and when creating the runbook.

For more, see Using premium Linux OS licenses.

For more information from the OS providers, see Red Hat Cloud Access or SLES On Demand.

Linux OS version License type License string
RHEL 6 PAYG https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-6-server
RHEL 7 PAYG https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-7-server
SLES 11 PAYG https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-11
SLES 12 PAYG https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-12
SLES 15 PAYG https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15

Windows license strings

For the Windows Server operating systems listed in the following table, you can a license string to use a BYOL license. Add the string to the runbook's license:os field. If you don't specify a string, the default is used.

For more, see Migrating VMs to sole-tenant nodes.

Windows Server version License type License string
2003 PAYG (Default) https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2003
2008 R1 PAYG (Default) https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-dc
2008 R2 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-r2-byol
PAYG (Default) https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-r2-dc
2012 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-byol
2012 R2 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-r2-byol
PAYG (Default) https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-r2-dc
2016 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2016-byol
PAYG (Default) https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2016-dc
2019 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2019-byol
PAYG (Default) https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2019-dc