Migrate to Virtual Machines in Google Cloud: Moving Your Servers to the Cloud Without Starting From Scratch
A beginner-friendly guide to how Migrate to Virtual Machines copies running servers from VMware, other clouds and data centers into Compute Engine, with test runs, a short cutover, and a clear plan for what comes after.
Imagine you are moving your family from an old house to a new one in another city. You could pack every box by hand, rent trucks, drive for days and hope nothing breaks. Or you could hire a professional moving company that photographs every room, copies the layout exactly, sends your belongings ahead in careful stages, lets you walk through a mock-up of the new home before moving day, and then does the final switch in a single afternoon so you barely miss a night of normal life. Migrate to Virtual Machines is that professional moving company for your servers: it copies them into Google Cloud as virtual machines, lets you test them first, and helps you switch over with very little downtime.
1First, What Is a Virtual Machine and Why Move It?
A few simple ideas before we meet the service.
What is a virtual machine?
A virtual machine, often shortened to VM, is a pretend computer that runs as software inside a real, physical computer. It has its own operating system, its own programs and its own files, but several of them can share one physical server. Most companies run hundreds or thousands of VMs in their own data centers, often using a virtualization platform such as VMware vSphere.
Why do companies move to the cloud?
There are many reasons. Data centers are expensive to build, power, cool and staff. Old hardware reaches end of life and must be replaced. Capacity must be bought in advance and often sits unused. A cloud provider lets you rent capacity by the hour, add more when demand grows and give it back when demand shrinks. Moving also opens the door to modern services, better security tooling and global reach.
Why migration is hard
Each server in a data center has a history. Someone installed software years ago, configured settings by hand, linked it to other servers and then left the company. Rebuilding every server from scratch in the cloud means rediscovering all of that. It is slow, risky and expensive. A much easier path for many servers is to copy them as they are, a method called lift and shift.
A virtual machine is like a fully furnished apartment that you can pick up and move whole. Lift and shift means moving the apartment exactly as it is, furniture in place, instead of throwing everything away and buying new furniture in the new city.
| Term | Meaning | Everyday Comparison |
|---|---|---|
| Source | Where the server currently lives | The old house |
| Target | Where it will live in Google Cloud | The new house |
| Replication | Copying the server’s data to the cloud | Shipping boxes ahead of moving day |
| Cutover | Switching over to the cloud copy | Final move-in day |
| Lift and shift | Moving with minimal changes | Taking the furniture as it is |
2So, What Is Migrate to Virtual Machines?
A managed Google Cloud service that moves VMs into Compute Engine.
Migrate to Virtual Machines is a Google Cloud service for moving virtual machines from other environments into Compute Engine, Google Cloud’s virtual machine service. It supports sources such as VMware environments in your own data centers, and virtual machines running in other public clouds. It was previously known as Migrate for Compute Engine, and it grew from technology that Google acquired for fast, low-downtime migration.
The central idea is replication. The service continuously copies the disks of a source machine to Google Cloud while that machine keeps running normally for your users. Because the copying is incremental, only changed data is sent after the first full copy. When you are ready, you test a clone in the cloud, and when you are happy, you perform a cutover that finishes the last small sync, shuts down the source and starts the cloud VM. The downtime is typically short.
Migrate to Virtual Machines moves running servers with them staying up during the copy. Only the final cutover needs a short pause, which is why it suits business systems that cannot be turned off for long.
Think of copying a library’s catalog to a new building while the old library stays open. Volunteers keep carrying updated pages across all week. On the last evening, you close the old doors for a few minutes, carry the final updates and open the new doors. Visitors hardly notice.
3Core Building Blocks You Must Know
A short dictionary of migration words.
Source
A connection to the place your VMs currently run, such as a VMware environment or another cloud account.
Migration Connector
A small appliance deployed in a VMware environment that securely reads VM data and sends it to Google Cloud.
Migrating VM
The record that tracks one machine’s journey: its replication, tests and cutover.
Replication Cycle
One round of copying changed data from the source to Google Cloud. The first copies everything, later ones only the changes.
Target Details
The settings for the new cloud VM, such as machine size, disk type, network, location and identity.
Test Clone
A temporary cloud copy used to check that the server starts and works, without affecting the real source.
Cutover
The final switch: a last sync, source shutdown and the start of the production VM in the cloud.
Group and Wave
A set of related servers migrated together, so applications that depend on each other move at the same time.
4Migration Strategies: Choosing the Right Path
Not every workload should move the same way.
Before pressing any button, decide what you want to do with each application. Cloud professionals often describe a handful of common strategies. Migrate to Virtual Machines is the tool for one of them, lift and shift, but it is useful to see the whole menu.
Rehost: lift and shift
Move the server as it is to a VM in the cloud, with little or no change. Fast and low risk. This is the main purpose of Migrate to Virtual Machines.
Replatform: lift and optimize
Move with small improvements, such as switching from a self-managed database to a managed one, without rewriting the application.
Refactor: rebuild for the cloud
Redesign the application to use cloud-native features, such as containers or serverless. More effort, but bigger long-term benefits. Google offers separate tools to modernize some workloads into containers.
Repurchase
Replace the application with a software-as-a-service product, such as moving a custom email server to a hosted email service.
Retire
Switch off applications that nobody needs. Discovery often reveals servers that nobody uses, saving the effort and cost of moving them.
Retain
Leave some systems where they are, for now, because of legal, technical or business reasons.
When moving house, some items go straight into the truck, some get repaired first, some are replaced with a newer model, some are donated and some stay in storage. A smart move sorts everything before the truck arrives.
5The Migration Journey: Assess, Plan, Migrate, Optimize
Migrating is a project, not a single click.
Discover and assess
Build an inventory of servers, applications and dependencies. Check which are suitable for the cloud, how big they should be and what they might cost. Google offers a migration center with discovery and assessment tools for this stage.
Plan the landing zone and waves
Prepare the cloud foundation: organization, projects, networks, identity and security. Group servers into waves based on dependencies and risk.
Connect and set up the migration service
Establish secure connectivity, create sources, deploy any connector and prepare permissions.
Replicate
Start copying each VM’s disks to Google Cloud while the source keeps running. Watch progress through replication cycles.
Test
Create test clones, verify that the server starts and the application works, and fix problems before the real move.
Cut over
At the agreed time, perform the final sync, shut down the source, start the cloud VM and switch users and dependent systems over.
Validate, finalize and optimize
Confirm everything works, remove temporary migration resources, right-size machines, tighten security and plan modernization.
flowchart LR
A[Discover and assess] --> B[Plan landing zone and waves]
B --> C[Connect and configure migration service]
C --> D[Replicate VM disks]
D --> E[Test clone]
E --> F{Test passed?}
F -->|No| G[Fix settings or application]
G --> E
F -->|Yes| H[Cutover]
H --> I[Validate and optimize]
6How Replication Works
The engine inside the service.
Replication is the process of copying a virtual machine’s disks to Google Cloud. The first replication cycle copies all the data on the disks. After that, further cycles copy only the blocks that changed since the last cycle, which is much smaller. The source VM continues to run and serve users throughout, so you can replicate for days or weeks before cutover. The data lands in Google Cloud storage as a staging copy that is later turned into disks for the new VM.
How the data is read depends on the source. For VMware environments, the migration connector, an appliance running in your environment, reads the VM disks using the virtualization platform’s features and sends the data securely to Google Cloud, without installing software on each VM. For other cloud sources, the service connects through the provider’s programming interfaces with credentials you supply and reads the disks through snapshots. Supported sources, operating systems and versions evolve, so check the current compatibility list.
sequenceDiagram
participant SRC as Source VM
participant CON as Connector or source API
participant MS as Migrate to VMs Service
participant ST as Staging Storage in Google Cloud
SRC->>CON: Disk data, first cycle copies everything
CON->>MS: Encrypted transfer over private link or VPN
MS->>ST: Store replicated data
SRC->>CON: Later cycles, changed blocks only
CON->>MS: Send incremental changes
MS->>ST: Update staging copy
Note over SRC,ST: Source keeps running for users throughout
Replication is like keeping a second notebook in sync with the first. At the start you photocopy every page. After that you only copy the pages that have been edited. When you finally close the first notebook, the second one is almost identical already.
Underestimating network capacity. The first full copy of large disks can take a long time over a slow link, and a busy source that changes lots of data may produce large incremental cycles. Check the available bandwidth and schedule heavy copying outside peak business hours.
7Preparing the Network and Foundations
A smooth migration needs a well-prepared destination.
The landing zone
A landing zone is the prepared cloud environment where migrated servers will live. It includes your organization structure, projects, identity and access rules, network design, security controls, logging and billing arrangements. Building this before migrating avoids moving servers into an untidy place that must be reorganized later.
Connectivity
The source and Google Cloud must be able to talk. Common options are a VPN tunnel for modest volumes and a dedicated or partner interconnect link for large or steady transfers. Firewalls must allow the migration traffic, and address ranges must be planned so that cloud and on-premises networks do not overlap, since overlapping ranges cause routing problems.
Identity and permissions
The migration service needs permissions to create resources such as disks and VMs in your projects. Create dedicated service accounts with only the permissions needed, and limit who can start migrations. For other cloud sources, create read-only style credentials for the connection, and store them securely.
Capacity and quotas
Check that your Google Cloud projects have enough quota for the VMs, disks and addresses you will create. Large waves can hit default limits, and requesting increases takes time, so plan ahead.
flowchart LR
subgraph SRC[Source Environment]
VM1[VMs] --> CONN[Migration connector or cloud source API]
end
CONN -->|VPN or Interconnect| LZ
subgraph LZ[Google Cloud Landing Zone]
MS[Migrate to Virtual Machines]
NET[VPC network and firewall rules]
IAM[Identity and access controls]
CE[Compute Engine VMs]
MS --> CE
NET --- CE
IAM --- MS
end
Migrate a small, low-risk pilot first. It teaches your team the process, reveals network and permission problems early and builds confidence before you move critical systems.
8Target Details: Deciding What the Cloud VM Looks Like
Where the new server will live and how big it should be.
For each migrating machine, you specify target details that describe the Compute Engine VM that will be created. These choices shape performance, cost and security, so make them thoughtfully.
Machine Type
The number of processors and amount of memory. Choose from assessment recommendations rather than copying old hardware sizes blindly, since on-premises servers are often oversized.
Disk Type
Choose between standard, balanced, solid-state and other disk performance levels, matching the application’s input and output needs and budget.
Network and Subnet
The virtual network and subnet where the VM will sit, plus internal and external address choices. Prefer private addresses where possible.
Location
The region and zone, chosen for closeness to users and related systems, and for resilience and data rules.
Service Account and Access
The identity the VM runs as, kept to minimum permissions, plus labels and tags for ownership and firewall rules.
Licensing and Boot Options
Whether licenses are provided by Google Cloud or brought from your own agreements, and any special boot or security settings.
Matching the exact size of the old server out of habit. Physical servers were often bought with room to grow for five years. In the cloud you can resize easily, so start with a sensible size based on actual usage and adjust after observing real load.
9Testing With Clones Before the Real Move
The safety net of the whole process.
A test clone creates a temporary VM in Google Cloud from the replicated data, without touching the source or interrupting replication. You can start it, log in, run the application and check that it behaves correctly. Because the source continues running, there is no pressure and no risk to production while you test.
Check that the machine boots
Confirm the operating system starts correctly with the new virtual hardware and network settings.
Check connectivity and dependencies
Verify that the server can reach the databases, directories and other systems it depends on, and that firewall rules allow the needed traffic.
Check performance
Compare response times and resource use against what you observed on the source, and adjust machine type or disk type if needed.
Check applications and licensing
Make sure software starts, licenses are recognized and any hardware-bound settings still work.
Rehearse the cutover plan
Use test clones to time how long startup and checks take, so your cutover window is realistic.
A test clone is like a dress rehearsal before a play. The real show goes on as normal in the old theater, while the actors practice in the new one, finding missing props and wrong lights before opening night.
Clean up test clones when you finish, since they consume compute and storage. Keep notes of every issue you find, because the same fix will usually be needed during cutover.
10Cutover: The Moment of Truth
A planned, short, rehearsed switch.
Agree the window and communicate
Pick a time with the business, tell users and stakeholders, and assign roles to everyone involved.
Quiesce the application
Stop the application cleanly, or put it in a safe state, so that the final copy is consistent.
Final sync and shut down the source
The service copies the last changes, and the source VM is powered off so that two copies never run at once.
Start the VM in Compute Engine
The service creates the production VM from the final replicated data using your target details.
Verify and switch traffic
Run checks, update names or addresses so users and other systems reach the new VM, and watch closely.
Decide: keep or roll back
If something is badly wrong, power the source back on according to your rollback plan. If all is well, keep the source powered off for a safety period and then decommission it.
flowchart TD
A[Cutover starts in the agreed window] --> B[Stop application cleanly]
B --> C[Final replication cycle]
C --> D[Power off source VM]
D --> E[Create and start VM in Compute Engine]
E --> F{Checks pass?}
F -->|Yes| G[Switch users and dependencies, monitor]
F -->|No| H[Rollback: power on source, investigate]
G --> I[Keep source off for a safety period, then decommission]
Do not let the source and the cloud copy both serve users at the same time unless the application is designed for it. Two running copies of a database or file server can create conflicting data that is very hard to repair. Shut down the source before starting the production copy.
11Groups, Waves and Dependencies
Servers rarely live alone.
A typical business application has several servers: a web server, an application server and a database. If you move only one of them, the rest of the chain may break or become painfully slow because traffic must cross the link between your data center and the cloud. This is why migrations are planned in waves. Each wave contains servers that belong together and can move together, ideally with minimal dependencies on servers that remain behind.
Map the dependencies first
Use discovery tools and interviews with application owners to see which servers talk to each other, which ports they use and how often.
Move chatty servers together
Servers that exchange lots of data should land in the same environment, to avoid delays and charges for crossing the network link.
Start with simple waves
Begin with independent, low-risk applications, such as test environments, to build experience before touching critical systems.
Plan for temporary hybrid operation
During a migration some servers will be in the cloud while others remain on premises. Make sure the network, name resolution and security rules support that mixed state.
Moving a family means moving the kitchen, the dining table and the chairs together. If the dining table lands in the new house while the chairs stay in the old one, dinner becomes a long-distance project.
12After the Move: Stabilize, Secure and Optimize
Cutover is not the finish line.
A lift-and-shift migration gets servers into the cloud quickly, but the work of making them cloud-ready continues afterward. The first weeks are for stabilizing: watch performance, fix small issues and keep the safety net of the source for a while. Then improve.
Right-size
Use real usage data and recommendations to lower oversized machines and disks, which usually reduces cost significantly.
Install cloud agents
Add monitoring and logging agents, and guest tools, so the VM is observable and managed like native cloud machines. Remove old virtualization tools that no longer apply.
Tighten security
Remove public addresses, apply least-privilege service accounts, patch operating systems and use secure access methods instead of open remote-login ports.
Add backup and resilience
Schedule backups, use snapshots, and consider multiple zones or managed instance groups for important workloads.
Adopt managed services
Gradually replace self-managed pieces, such as databases or file servers, with managed cloud services to reduce operations work.
Clean up migration resources
Delete test clones, staging data and temporary connectors after you are confident, to stop unnecessary charges.
Think of lift and shift as the first step on a ladder, not the destination. Once workloads are stable in the cloud, you can modernize them one at a time, on your own schedule, with better information about real usage.
13Security During and After Migration
Data in motion needs protection too.
Protecting the data in transit
Replicated disk data travels from the source to Google Cloud over an encrypted channel. Prefer private connectivity, such as VPN or interconnect, over the public internet when moving sensitive systems, and restrict which addresses and ports may be used for migration traffic.
Protecting credentials
Credentials used to connect to source environments can read your servers’ disks, so treat them as highly sensitive. Create dedicated, narrowly scoped accounts for migration, store secrets in a secret manager, and remove or disable them when the project ends.
Controlling who can migrate
Migration permissions can create and start VMs. Limit them to a small group, require approvals for cutovers, and keep audit logs to answer who did what and when.
Protecting data at rest
Data in Google Cloud is encrypted at rest by default, and you can use customer-managed keys if rules require it. Remember that staging copies and test clones also contain real data, so protect them like production and delete them when finished.
Hardening the migrated VM
Servers that were safe behind a data center firewall may not be safe if exposed in the cloud. After migration, review open ports, remove unnecessary public addresses, update operating systems, apply cloud firewall rules and enable security scanning.
flowchart TD
A[Private connectivity and restricted migration traffic] --> B[Scoped, short-lived migration credentials in a secret manager]
B --> C[Limited migration permissions with approvals]
C --> D[Encryption at rest, protect staging copies and clones]
D --> E[Harden migrated VMs: patch, close ports, least privilege]
E --> F[Audit logs and clean-up of temporary resources]
14Monitoring and Troubleshooting a Migration
Most problems fall into a few familiar families.
| Symptom | Likely Cause | What to Check |
|---|---|---|
| Replication is very slow or stuck | Network bandwidth, firewall or connector problem | Link capacity, firewall rules, connector health, source load |
| Source cannot be added | Credentials, permissions or connectivity | Account permissions, network paths and supported versions |
| Test clone does not boot | Drivers, boot settings or unsupported operating system | Operating system compatibility, boot disk and logs |
| Application fails in the cloud | Missing dependency, changed addresses or licensing | Name resolution, firewall rules, license configuration |
| Slow performance after move | Undersized machine or wrong disk type, or chatty cross-site traffic | Machine and disk choices, location of dependent systems |
| Surprise costs | Left-over clones, oversized machines or data transfer | Resource inventory, sizing recommendations, network usage |
Use the migration service’s status views, replication history and logs to see what each machine is doing, and Cloud Logging and Monitoring to watch the new VMs after cutover. Set alerts for failed replication and for migrated VMs that show high errors or resource pressure.
Keep a shared migration runbook with checklists, contacts, test results and rollback steps. When something goes wrong at midnight, a clear runbook is worth more than any clever tool.
15Understanding Costs
The service helps migrate, but the resources it uses are not always free.
Google has offered Migrate to Virtual Machines itself at no additional service charge, but you pay for the Google Cloud resources involved. Check the current pricing page to confirm terms. Typical cost items include storage for replicated data and snapshots, compute for test clones and the migrated VMs, network transfer and connectivity such as VPN or interconnect, licenses for operating systems and software that run in the cloud, and the engineering time of your team and any partners.
Use assessment to size correctly
Right-sizing from the start avoids paying for capacity the application never used.
Limit how long you replicate
Replication consumes storage and network. Avoid starting replication months before you can actually cut over.
Delete test clones and staging data
Forgotten temporary resources quietly add to the bill.
Review licensing
Check whether existing licenses can move, whether cloud-provided licenses are cheaper, and whether committed use discounts suit the steady workloads you have moved.
Model the total cost of ownership
Compare the full cost, including data center savings, staff time and risk, rather than just per-hour prices.
16Advantages and Trade-offs
A balanced view.
Advantages
- Fast path to the cloud with minimal changes to applications.
- Source servers stay online during replication, so downtime is short at cutover.
- Test clones let you validate before committing.
- Handles Windows and Linux servers from several kinds of sources.
- Reduces the risk and effort of rebuilding each server by hand.
- Gives a stable base from which to modernize gradually.
Disadvantages / Trade-offs
- Lift and shift carries old inefficiencies into the cloud, so costs can be high until servers are optimized.
- Not every operating system version, special hardware or unusual configuration is supported.
- Network capacity and connectivity planning can be a bottleneck.
- Applications with tight cross-server dependencies must be migrated in careful waves.
- Post-migration clean-up, security hardening and modernization still need effort.
17Best Practices and Anti-Patterns
Lessons from teams who have done this many times.
Best practices at a glance
Discover and assess before you migrate
Inventory servers, dependencies and usage, and decide a strategy for each application.
Build the landing zone first
Prepare identity, networks, security and billing so migrated servers land in a tidy, governed place.
Start with a pilot, then move in waves
Learn on low-risk systems, then migrate related servers together according to dependency maps.
Always test with clones and rehearse cutover
Validate boot, connectivity, performance and application behavior before the real switch.
Plan rollback and keep the source for a safety period
Have clear criteria and steps for going back, and keep the source powered off but intact for a while.
Optimize after cutover
Right-size, harden, back up, monitor and begin modernizing, and delete temporary migration resources.
Anti-patterns to avoid
Problem
Migrating servers one by one with no dependency mapping.
Why It’s Harmful
Applications break or crawl because their parts end up on opposite sides of a slow link, and nobody knows why.
Correct Approach
Map dependencies, group related servers into waves and move them together.
Problem
Skipping test clones to save time and going straight to cutover.
Why It’s Harmful
Boot problems, missing dependencies and licensing issues are discovered during the downtime window, under pressure.
Correct Approach
Test thoroughly in advance and rehearse the exact cutover steps.
Problem
Copying old hardware sizes exactly and never revisiting them.
Why It’s Harmful
You pay for oversized machines indefinitely, which erodes the business case for moving.
Correct Approach
Size from real usage data, then review and right-size after the first weeks in production.
Problem
Leaving migrated servers exposed with public addresses, open remote-login ports and no patching.
Why It’s Harmful
Servers once protected by a data center perimeter become easy targets in the cloud.
Correct Approach
Use private addresses, tight firewall rules, least-privilege identities, regular patching and secure access paths.
18Frequently Asked Questions
It replicates the disks of source virtual machines to Google Cloud while they keep running, lets you test cloned copies, and then performs a cutover that starts the machine in Compute Engine with a short downtime.
Supported sources include VMware environments and virtual machines in other public clouds. The list of sources, operating systems and versions changes over time, so check the current compatibility documentation before planning.
Much less than offline copying. Downtime is usually limited to the final sync, shutdown and startup during cutover, which you can rehearse with test clones to estimate accurately. Application-specific steps may add to it.
For VMware sources, a migration connector appliance reads disk data without requiring an agent on each VM. Other source types use their own mechanisms. Check the documentation for details by source.
A test clone is a temporary VM created in Google Cloud from replicated data. It does not affect the source or interrupt replication, so you can safely test and then delete it.
Yes, provided you plan for it. Keep the source machine intact and powered off for a safety period, define rollback criteria and steps in advance, and remember that data written in the cloud after cutover must be considered if you go back.
Choose sensible target sizes using assessment data, and plan to right-size again after observing real usage. Cloud machines can be changed far more easily than physical servers.
It is a fast first step, but not the end. After migration, optimize cost, security and operations, and modernize selected workloads to use managed services or containers over time.
Start with a pilot of low-risk, relatively independent systems, such as development or test environments. Then move in waves of related servers based on dependency maps and business priorities.
Google has offered the migration service without an extra service charge, but you pay for the underlying resources such as storage, compute, networking and licenses. Check the current pricing page to confirm.
19Summary and Key Takeaways
Migrate to Virtual Machines gives organizations a practical, low-drama way to move servers into Google Cloud. By replicating disks while the source keeps running, offering safe test clones and supporting a short, rehearsed cutover, it turns a risky move into a controlled project. Success comes from the surrounding discipline: assess and plan first, build a proper landing zone, map dependencies, migrate a pilot, test every machine, rehearse the cutover with a rollback plan, and then right-size, secure and modernize afterward. Treat the migration as the beginning of your cloud journey rather than the end, and the servers you move today become the foundation for the improvements you make tomorrow.
Key Takeaways
- Lift and shift with low downtime — the service replicates running VMs to Compute Engine and needs only a short pause at cutover.
- Test before you commit — test clones let you verify boot, connectivity and performance without touching the source.
- Plan the whole journey — assess, plan the landing zone and waves, replicate, test, cut over and optimize.
- Mind the dependencies — move related servers together and plan for temporary hybrid operation.
- Network and permissions matter — prepare connectivity, quotas, private access and scoped credentials before starting.
- Rollback and clean-up — keep the source for a safety period, then delete test clones, staging data and temporary connectors.
- The move is only the start — right-size, secure, back up, monitor and gradually modernize after cutover.