-
What Is Cloud-to-Cloud (C2C) VM Migration?
-
What Is Cloud Vendor Lock-In and Why Is It a Problem?
-
How Does C2C VM Migration Reduce Vendor Lock-In?
-
How to Perform Cloud-to-Cloud VM Migration: A Step-by-Step Guide
-
Illustrative Scenario: Migrating Virtual Machines from AWS to Azure
-
Common Challenges in C2C VM Migration and How to Overcome Them
-
Best Practices for Reducing Vendor Lock-In Through C2C VM Migration
-
C2C VM Migration vs. Other Cloud Migration Approaches
-
When Should Businesses Consider C2C VM Migration?
-
C2C VM Migration FAQs
-
Conclusion: Build a More Portable and Flexible Cloud Infrastructure
Few organizations run everything in a single cloud anymore. Cost pressure, regional and regulatory requirements, acquisitions, and the search for better-fit services all push teams toward more than one provider. Yet moving a workload between clouds is rarely simple — and that difficulty is what makes a provider hard to leave.
This is the problem the AWS whitepaper Unpicking Vendor Lock-in describes in terms of switching costs: the time, effort and risk involved in moving away from a vendor. Higher switching costs mean less flexibility on price, performance and architecture, and less leverage when contracts or service terms change.
Cloud-to-cloud (C2C) VM migration addresses one layer of that problem: by making it routine to move virtual machines between cloud providers, it turns theoretical infrastructure choice into a real one. This guide explains what it is, how it works, where its limits are, and how to run a seven-step migration.
What Is Cloud-to-Cloud (C2C) VM Migration?
In short: Cloud-to-cloud (C2C) VM migration is the process of transferring virtual machines, including their operating systems, applications, and the data stored on the VM’s disks, from one cloud service provider to another. It enables organizations to relocate workloads across cloud environments, improve infrastructure portability, optimize costs, and reduce dependency on a single cloud vendor.
Definition of Cloud-to-Cloud VM Migration
C2C VM migration moves a running or recoverable virtual machine from the compute service of one public cloud to another. The workload keeps its operating system, installed applications and data, but is re-hosted on different infrastructure — a lift-and-shift or rehost migration, since the VM moves largely as it is.
Common directions include AWS to Azure, Azure to AWS, and AWS or Azure to Google Cloud. Google Cloud’s Migrate to Virtual Machines service, for example, lists AWS and Azure among its supported migration sources, which shows how mainstream cross-cloud VM moves have become.
How Does C2C VM Migration Work?
Most C2C migrations follow the same four-part pattern. Google Cloud’s documentation on migrating individual VMs shows it clearly, with distinct phases for onboarding the source VM, replicating its data, creating test clones and performing the final cutover.
Copy the VM’s disks or image. The source VM’s disk data is snapshotted, exported or replicated to the target cloud.
Configure the target environment. Compute size, storage, networking, security rules and access permissions are set up in the destination cloud.
Synchronize data and rebuild networking. Changes made after the first copy are replicated until the source and target are close enough to switch. Networking is not synced like disk data: target subnets, IP addressing, DNS and security rules are mapped and re-created in the destination cloud.
Test, cut over and validate. The migrated VM is tested, traffic is redirected, and the result is verified before the source is retired.
What Components Are Migrated?
Operating systems: Windows and Linux guests, usually with drivers and boot settings adapted for the target cloud.
Applications and workloads: the software installed on the VM and the services it runs.
VM images and virtual disks: the system and data volumes that make up the machine.
Configurations and dependencies: hostnames, IP addressing plans, firewall rules and links to other systems.
Associated data: application data held on attached volumes, depending on the migration method used.
What Is Cloud Vendor Lock-In and Why Is It a Problem?
Vendor lock-in rarely means a provider forbids you from leaving; in practice it means leaving is expensive, slow or risky enough that you do not. The AWS whitepaper Unpicking Vendor Lock-in makes the same point: lock-in is about switching costs, not an outright block. Standards bodies have long treated this as a core cloud concern too. The NIST Cloud Computing Standards Roadmap (SP 500-291, version 2) reviews standards and gaps across interoperability and portability, among other areas.
What Causes Cloud Vendor Lock-In?
Proprietary cloud services that have no direct equivalent elsewhere.
Provider-specific APIs, SDKs and management tooling.
Data portability limits, including egress charges and non-standard data formats.
High switching and migration costs in time, skills and money.
Dependence on cloud-native databases and managed services.
The Risks of Vendor Lock-In for Businesses
Limited flexibility when choosing or changing cloud providers.
Rising infrastructure and operating costs with little room to respond.
Reduced negotiating power at renewal time.
Difficulty adapting to new business, regional or compliance requirements.
Greater exposure to a single provider’s outages and policy changes.
How Does C2C VM Migration Reduce Vendor Lock-In?
C2C VM migration does not remove lock-in by itself. It lowers it by attacking specific causes of switching cost at the infrastructure layer. The table below maps each lock-in problem to the way C2C VM migration helps.
Vendor lock-in problem | How C2C VM migration helps |
Dependency on provider-specific compute infrastructure | Enables workloads to be relocated to another provider |
High migration barriers | Establishes repeatable, documented migration processes |
Limited infrastructure flexibility | Provides more destination options to choose from |
High switching costs | Reduces part of the infrastructure migration effort |
Single-provider dependency | Supports multi-cloud and hybrid strategies |
1. Improve Infrastructure Portability
When a VM can be moved between clouds with a tested process, the compute layer becomes far less tied to one provider, though instance types, image formats, drivers and licensing may still need adapting on each platform. The workload is described by its OS, disks and configuration rather than by a provider’s proprietary instance features.
2. Increase Cloud Provider Flexibility
Teams can place each workload where cost, performance, compliance or geography suits it best, and change that decision later — provider choice becomes ongoing rather than a one-time commitment.
3. Reduce Switching Costs and Migration Barriers
Standardized images, automated replication and a rehearsed cutover procedure turn a one-off project into a repeatable operation. Each migration that is completed and documented makes the next one cheaper and less risky.
4. Support Multi-Cloud and Hybrid Cloud Strategies
The same capability that moves a VM permanently can also support workload distribution across providers, standby environments in a second cloud and disaster recovery plans that do not depend on one vendor. Note the boundary: a one-time migration is not continuous replication or disaster recovery orchestration — distribution across providers and standby environments require ongoing replication or failover tooling, and should be budgeted as separate capabilities.
5. Strengthen Business Continuity and Negotiating Power
A credible ability to leave improves bargaining position on price and terms, and gives teams another option during prolonged outages, service retirements or policy changes.
What C2C VM Migration Cannot Solve
VM portability is only part of the picture. A VM that moves easily may still depend on services that do not. Managed databases, serverless functions, identity and access management, networking constructs and proprietary APIs can all create lock-in that VM migration leaves untouched.
The AWS whitepaper Unpicking Vendor Lock-in lists six lock-in considerations — minimum commitments or long-term contracts, licensing, data portability, application portability, service availability and vendor innovation, and cost — and notes that applications should be built or migrated to be as flexible and loosely coupled as possible. In other words, C2C VM migration works best alongside application modernization, open standards and a data export strategy, not instead of them.
How to Perform Cloud-to-Cloud VM Migration: A Step-by-Step Guide
The overview below summarizes the process. Each step is explained afterwards.
Stage | Focus |
1. Assess source environment | VM inventory, dependencies, compatibility |
2. Select target cloud | Cost, performance, portability |
3. Prepare target environment | Network, security, compute, storage |
4. Replicate VM workloads | Disk replication, data synchronization |
5. Test and validate | Functionality, data integrity, performance |
6. Cut over and redirect traffic | Final sync, DNS and traffic switch, monitoring |
7. Optimize and decommission | Right-sizing, cost review, source retirement |
Step 1. Assess Your Existing Cloud Infrastructure
Inventory every VM, including size, OS version, attached storage and owner.
Identify application and network dependencies. Google Cloud’s VM migration guidance suggests grouping VMs by the application they support or the network they share, so tightly coupled machines move together.
Evaluate compatibility and resource requirements for the target platform.
Define migration objectives and how much downtime each workload can tolerate.
Step 2. Choose the Target Cloud Provider
Compare compute, storage and networking capabilities.
Evaluate pricing, including egress charges and software licensing.
Check OS and VM image compatibility.
Assess long-term portability, so the next move is not harder than this one.
Step 3. Prepare the Target Cloud Environment
Configure virtual networks, subnets and security rules.
Set up identity and access permissions with least privilege.
Provision compute and storage resources.
Prepare backup and disaster recovery plans for the new environment.
Step 4. Replicate and Transfer VM Workloads
Choose a migration approach that matches your downtime tolerance. Continuous replication keeps the target close to the source until cutover, while backup-and-restore moves a point-in-time copy that is backed up at the source and restored directly onto the target cloud.
Replicate VM disks and data to the target.
Configure target VM specifications such as size, disks and network interfaces.
Monitor replication progress and resolve errors early.
If you use the backup-and-restore path in this step, Vinchin Backup & Recovery provides agentless, volume-level backup for AWS EC2 and Huawei Cloud (ECS) instances, plus full restore, granular (file-level) restore and V2V migration between AWS EC2, Huawei Cloud and on-prem virtualization platforms. Confirm supported versions and prerequisites in the Vinchin Help Center before building the migration around it.
Step 5. Test and Validate Migrated VMs
Run a test migration or boot a clone without affecting production.
Verify that applications start and behave correctly.
Check network connectivity and data integrity.
Evaluate performance and security settings against the source.
Step 6. Execute Cutover and Redirect Traffic
Microsoft’s guidance on executing a migration distinguishes near-zero-downtime and planned-downtime approaches, which is a useful way to decide how to schedule this step.
Schedule a maintenance window and notify stakeholders.
Complete a final synchronization and, if needed, freeze writes on the source.
Update DNS, load balancers and application settings to point to the new environment.
Monitor the production workload closely after the switch.
Step 7. Optimize and Decommission the Source Environment
Right-size resources based on real usage.
Validate cost and performance against your original objectives.
Keep a rollback option until the migration is confirmed stable.
Decommission source resources only when it is safe to do so.
Illustrative Scenario: Migrating Virtual Machines from AWS to Azure
Note: this is a hypothetical scenario for illustration only — not a real customer, and the outcomes are not measured results.
Starting point: An enterprise runs several production VMs on AWS.
Challenge: Infrastructure costs are rising, and the team wants more flexibility in where workloads run.
Plan: Assess and group workloads, prepare the Azure environment, replicate VM disks, test the migrated instances and execute a scheduled cutover.
Expected outcome: Workloads run on Azure, and the team has a documented, repeatable process that reduces its dependence on AWS compute infrastructure.
Common Challenges in C2C VM Migration and How to Overcome Them
VM Compatibility Issues
Problem: Differences in hypervisors, drivers and boot settings can stop a migrated VM from starting.
Impact: Failed boots delay cutover and can force rework.
Solution: Check OS and driver support during assessment, and use migration tooling that adapts drivers and boot configuration automatically. Always boot a test copy first.
Data Transfer and Network Latency
Problem: Large disks take time to copy over the internet or a private link.
Impact: Long transfers extend the replication window and the final sync.
Solution: Use incremental replication, schedule transfers off-peak and consider dedicated connectivity for very large migrations.
Application Downtime and Business Disruption
Problem: Cutover usually requires at least a brief interruption.
Impact: Customer-facing services and transactions can be affected.
Solution: Choose an approach that matches each workload’s tolerance, rehearse the cutover and keep the source available for rollback.
Security and Compliance Risks
Problem: Data in transit and new access paths widen the attack surface.
Impact: Misconfigured permissions or unencrypted transfers can expose data or breach regulations.
Solution: Encrypt data in transit and at rest, apply least-privilege access and confirm that the target region meets compliance requirements.
Unexpected Migration Costs
Problem: Egress fees, duplicate running costs and licensing changes are easy to miss.
Impact: Budgets overrun and the business case weakens.
Solution: Estimate egress and parallel-run costs in advance, and review licensing terms for the target cloud.
Cloud-Specific Dependencies
Problem: VMs may rely on provider-specific metadata services, agents, IAM roles or managed services.
Impact: The VM moves but its functions break.
Solution: Document dependencies during assessment, replace or reconfigure them for the target, and plan to refactor where needed.
Best Practices for Reducing Vendor Lock-In Through C2C VM Migration
Adopt Standardized VM Images and Open Formats
Keep golden images and disk formats as standard as possible so they convert cleanly between platforms.
Minimize Dependencies on Proprietary Cloud Services
Use a provider-native service when it is clearly the best fit, but make that a conscious decision and note the cost of leaving it.
Automate Infrastructure Deployment with Infrastructure as Code
Describe networks, security and compute in code so that environments can be rebuilt in another cloud with less manual work.
Maintain Independent Data Backups and Export Strategies
Keep copies of critical data outside a single provider’s control, and test that they can be restored elsewhere.
Build a Cloud Exit Strategy
Document how each critical workload would move, how long it would take and what it would cost, before you need to do it.
Regularly Test Workload Portability
Run periodic test migrations to a second environment; a migration path that has never been tested is not a real option.
C2C VM Migration vs. Other Cloud Migration Approaches
Migration approach | Main purpose |
Cloud-to-Cloud VM Migration | Move VMs between cloud providers |
Cloud-to-On-Premises Migration | Move workloads back to local infrastructure |
On-Premises-to-Cloud Migration | Move workloads to a public cloud |
Application Migration | Move applications between environments |
Container Migration | Move containerized workloads between platforms |
When Should Businesses Consider C2C VM Migration?
When Cloud Infrastructure Costs Become Too High
If comparable capacity is materially cheaper elsewhere, a VM-level move can capture savings without rebuilding applications.
When Switching Cloud Providers
A strategic change of provider, for example after an acquisition or a contract review, requires a structured way to relocate existing workloads.
When Adopting a Multi-Cloud Strategy
Spreading workloads across providers depends on being able to move them in the first place.
When Improving Disaster Recovery and Business Continuity
Replicating VMs to a second cloud creates a recovery option that does not share the primary provider’s failure domain. That recovery option depends on continuous replication to the second cloud rather than a one-time migration, so budget it as a separate capability.
When Existing Cloud Infrastructure No Longer Meets Business Needs
Regional availability, performance, compliance or service gaps can all make the current provider a poor fit over time.
C2C VM Migration FAQs
Q1: What is the difference between cloud-to-cloud migration and VM migration?
VM migration covers moves between any two environments — on-premises to cloud or between hypervisors. Cloud-to-cloud migration covers any workload moves between cloud providers, whether VMs, data, applications or containers. C2C VM migration is where the two overlap.
Q2: Can you migrate a VM from AWS to Azure?
Yes. Microsoft documents a full Azure Migrate path for discovering, assessing and migrating AWS VMs to Azure, and third-party tools can also perform cross-cloud moves. The exact steps depend on the OS, disk configuration and downtime requirements.
Q3: Does C2C VM migration cause downtime?
Not for the whole process: replication and testing generally happen while the source keeps running, but cutover normally involves a short interruption unless the approach is designed for near-zero downtime.
Q4: Can VM migration completely eliminate cloud vendor lock-in?
No. It reduces infrastructure-level lock-in, but dependencies on managed databases, serverless services, IAM and proprietary APIs can remain. Application design and data portability matter as much as VM mobility.
Q5: What are the biggest challenges of migrating VMs between cloud providers?
The most common are compatibility differences, data transfer time, downtime planning, security and compliance, hidden costs, and provider-specific dependencies.
Q6: How can businesses ensure data security during C2C VM migration?
Encrypt data in transit and at rest, restrict access with least-privilege permissions, validate integrity after transfer, keep audit logs, and retain the source until the migration is verified.
Conclusion: Build a More Portable and Flexible Cloud Infrastructure
Cloud-to-cloud VM migration moves virtual machines, with their operating systems, applications and data, from one cloud provider to another. Its value against vendor lock-in is practical: it makes the compute layer portable, widens the choice of providers and turns switching into a repeatable process rather than a major project.
It is not a complete answer. Real portability also depends on how applications are built, how data is stored and exported, and whether the organization has tested an exit path. Treat C2C VM migration as one part of a broader cloud portability strategy, and the flexibility it provides will be much easier to use when you need it.
Share on: