Migrate to Virtual Machines (M2VM) is GCP's VM migration tool that moves workloads from VMware, Hyper-V, AWS EC2, Azure VM, or physical servers to Compute Engine with minimal downtime. Built on Velostrata (which Google acquired in 2018), it's known for agentless Stream Migration.
| Environment | Support |
|---|---|
| VMware vSphere 6.0+ | Excellent |
| Microsoft Hyper-V | Excellent |
| AWS EC2 | Excellent (AWS Connector) |
| Azure VM | Excellent (Azure Connector) |
| Physical servers | Supported (Linux only) |
# 1. M2VM API enable gcloud services enable vmmigration.googleapis.com # 2. AWS Source register gcloud migration vms sources create my-aws-source \ --location=asia-northeast1 \ --aws-source-region=ap-northeast-1 \ --aws-access-key-id=AKIA... \ --aws-secret-access-key=... # 3. List source VMs gcloud migration vms machines list \ --source=my-aws-source --location=asia-northeast1 # 4. Create Migration Group gcloud migration vms groups create my-group --location=asia-northeast1 # 5. Create Migration Plan gcloud migration vms migration-plans create my-plan \ --source=my-aws-source --location=asia-northeast1 \ --vm-id=i-abcd1234 # 6. Start Initial Sync gcloud migration vms migration-plans start my-plan --location=asia-northeast1 # 7. Test Clone gcloud migration vms migration-plans clone my-plan --location=asia-northeast1 # 8. Cutover (production switch-over) gcloud migration vms migration-plans cutover my-plan --location=asia-northeast1
| Item | VMware on-prem | GCE |
|---|---|---|
| Hardware | $200K (3-year depreciation + maintenance) | — |
| Licenses (VMware + Windows) | $50K/yr | Windows only (BYOL available) |
| Operations headcount | $150K/yr | $50K/yr (reduced) |
| Power / cooling / facilities | $30K/yr | — |
| GCE monthly (100 VMs) | — | $20K/mo (after CUDs) |
| 3-year total | $890K | $870K + operational efficiency |
What is Migrate to Virtual Machines (M2VM)?
A migration tool that moves VMs from VMware, Hyper-V, physical servers, AWS EC2, or Azure VM to GCE (formerly Migrate for Compute Engine, based on Velostrata). It is agentless and enables minimal-downtime migration.
What migration methods are available?
Stream Migration (production keeps running with continuous delta sync) or Disk Image Migration (batch). Stream Migration is the recommended default.
Which OSes are supported?
Windows Server 2008 R2 and later, RHEL 6+, CentOS 6+, Ubuntu 14.04+, Debian 8+, SUSE 11 SP4+, Oracle Linux 6+, and many more.
How much does it cost?
Migrate to VMs itself is free (you only pay for the target GCE resources). Data transfer is charged at standard egress rates.
How long does the migration take?
With Stream Migration the production downtime is just a few minutes (only at cutover). Disk image migration depends on VM size (hours to days for TB-class workloads).
What about migrating from AWS?
Install the AWS Connector on the AWS side → specify the target on the GCP side → run Stream Migration. VPC Peering or VPN connectivity is required.
What happens on failure or rollback?
The original VMware/physical server keeps running throughout (with Stream Migration). You can safely cancel at any time before cutover.
What is Test Clone?
Before the production cutover you create a Test Clone on GCE for validation. Production keeps running while you test thoroughly on GCE.
Related Articles: Migration & Hybrid
Migrate to Containers Complete Guide (2026)
Migrate to Containers — convert VMs to GKE workloads, common modernization patterns.
Database Migration Service Complete Guide (2026)
DMS features — supported source/target, minimal downtime, common migration patterns.
On-Prem to GCP Migration Strategy (2026)
On-prem to GCP migration — lift-and-shift, replatform, refactor. The 7-R framework applied to GCP.
GCP vs Azure Complete Comparison (2026)
Service-by-service comparison of GCP and Azure. Compute, storage, data, AI, and security.
Note: Google Cloud is a trademark of Google LLC. For the latest information, see the official M2VM documentation.
Practice with certification-focused question sets
See the GCP exam prep pageNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
Google Cloud Certification Roadmap (2026)
Choose your GCP certification path — Foundational, Associate...
CDL Cloud Digital Leader: Complete Exam Guide (2026)
Pass the Cloud Digital Leader exam — cloud business value, G...
GAIL Generative AI Leader: Complete Exam Guide (2026)
Pass the Generative AI Leader exam — Gemini, Vertex AI, Work...
Vertex AI Fundamentals for GCP Certs (2026)
Vertex AI basics every cert candidate needs — Workbench, Pip...
Associate Cloud Engineer (ACE): Complete Guide (2026)
Pass the Associate Cloud Engineer exam — Console, gcloud, pr...