Troubleshooting licenses

Linux Windows

This document shows you how to resolve issues related to importing and migrating virtual machine (VM) instances to Compute Engine that have a misapplied license.

For example, learn how to resolve issues with a VM that has an on-demand license instead of a bring your own license (BYOL). For information about the different types of licenses, see About licenses.

Mitigate incorrect license imports or migrations

If you tried to import or migrate a VM into Compute Engine with a BYOL or BYOS license, but the VM's license string is not appended with byol or byos, then your license was not successfully imported or migrated with the VM.

To resolve this issue, do one of the following depending on how you imported or migrated the VM:

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月15日 UTC.