Lift-and-shift cloud migration fails for machine learning because ML workloads have fundamentally different architectural and economic requirements than traditional enterprise software. A simple cloud migration ignores the data gravity and bursty compute profiles inherent to model training and inference.
Blog
Why Lift and Shift to the Cloud Fails for Machine Learning

The Lift-and-Shift Fallacy for Machine Learning
Lift-and-shift cloud migration fails for ML because it ignores the unique data gravity, compute profiles, and economic models of AI workloads.
ML workloads demand architectural sovereignty. A monolithic cloud architecture sacrifices the control needed for data residency, low-latency inference, and cost management. Unlike stateless web apps, ML systems are defined by persistent data pipelines and variable inference costs that a single cloud region cannot optimize.
The core failure is treating data as stateless. ML models are anchored to massive, sensitive datasets. A lift-and-shift approach creates a financial trap of egress fees when moving terabytes of training data or model weights, making future retraining or migration prohibitively expensive. This is a primary reason why a hybrid cloud strategy is essential.
Compute profiles are asymmetric. Training is a bursty, high-compute task suited for cloud GPUs, while inference is a high-volume, latency-sensitive task often best served on-premises or at the edge. A single-environment approach forces a costly compromise on performance or economics.
Evidence: Companies that shift monolithic ML pipelines to the cloud often see inference latency spikes of 200-300ms due to network round-trips, rendering real-time applications unusable. Furthermore, reliance on proprietary services like AWS Bedrock or Google Vertex AI creates severe vendor lock-in, limiting future strategic optionality.
Key Takeaways: Why Lift-and-Shift Dooms ML Projects
Migrating monolithic applications to the cloud is one thing; doing the same for machine learning workloads guarantees cost overruns, performance bottlenecks, and strategic dead-ends.
The Problem: Data Gravity vs. Compute Elasticity
ML models are anchored to their training data. A lift-and-shift moves the compute but not the data gravity, creating a permanent and expensive tether. Every training run or inference call incurs massive data transfer and egress fees, often 10-40% of total cloud spend, to pull data from on-premises storage. This architectural mismatch destroys the economic premise of cloud elasticity.
The Solution: Hybrid Data Plane Architecture
Decouple data location from compute location with a unified hybrid data plane. Keep sensitive 'crown jewel' training datasets on-premises or in a sovereign cloud. Use the public cloud for burstable, high-compute training jobs by sending algorithms to the data via containerized workloads, not the other way around. This is the core principle behind a resilient Hybrid Cloud AI Architecture and Resilience strategy.
The Problem: Inference Economics and Latency Spikes
A cloud-only model turns inference—a high-volume, low-latency workload—into a recurring network tax. Each API call suffers ~100-300ms of network round-trip time, making real-time applications in finance or customer service unusable. Variable cloud costs scale linearly with usage, creating unpredictable Inference Economics that can cripple ROI.
The Solution: Bimodal AI: Train in Cloud, Infer at Edge
Architect for bimodal AI. Use the cloud for sporadic, intensive model training and retraining. Deploy finalized models for inference at the edge or on-premises, where they can serve predictions with sub-10ms latency at a predictable, fixed cost. This separation is a competitive necessity, not an optimization, as detailed in our analysis of On-Premises AI Inference.
The Problem: Vendor Lock-In and the Governance Paradox
Lifting and shifting to a single cloud provider means adopting proprietary AI services (e.g., Bedrock, Vertex AI). Your models, pipelines, and MLOps lifecycle become hostage to one vendor's roadmap, pricing, and availability zones. This forfeits strategic optionality and makes implementing consistent AI TRiSM governance—explainability, security, compliance—across environments nearly impossible.
The Solution: Composable, Cloud-Agnostic Control Plane
Build a composable AI infrastructure orchestrated by a central, on-premises control plane. Treat cloud GPUs, on-premises clusters, and edge devices as interchangeable, managed resources. Use open-source frameworks and containerization to ensure model portability. This approach is foundational for Sovereign AI and provides the governance layer required for Agentic AI systems.
Data Gravity vs. Cloud Economics: The Fundamental Mismatch
Lift-and-shift cloud migrations fail for machine learning because they ignore the unique physics of data gravity and the crippling economics of moving AI-scale data.
Lift-and-shift fails for ML because it treats petabytes of training data and model weights like generic application data, ignoring the crippling data gravity and egress fees that make cloud economics unsound. The core architectural mismatch is between the static, massive nature of AI datasets and the variable, transaction-based pricing of public cloud.
Data gravity creates a financial black hole. Moving a 100TB training dataset to a cloud region for a single training run can cost thousands in egress fees alone, a cost that repeats every time you retrain or repatriate data. This data transfer tax makes iterative model development and multi-cloud strategies financially prohibitive, locking you into a single provider's ecosystem like AWS SageMaker or Google Vertex AI.
Cloud economics are inverted for AI. Traditional web apps benefit from cloud elasticity, but ML workloads have a predictably high baseline of data storage and inference traffic. Paying cloud premiums for this persistent baseline is economically irrational compared to anchoring it on cost-controlled, on-premises infrastructure like a GPU cluster or a high-performance data lake.
Evidence: A 2023 study by the MIT Center for Information Systems Research found that companies using a hybrid cloud strategy for data-intensive workloads reduced total cost of ownership by up to 35% compared to a public-cloud-only approach, primarily by avoiding punitive data movement and storage costs. For more on optimizing these economics, see our guide on Inference Economics.
The solution is architectural separation. Successful AI infrastructure treats the data plane and the compute plane independently. Keep high-gravity raw data and sensitive model weights on-premises or in a sovereign cloud, while leveraging cloud burst for scalable, non-sensitive training jobs. This is the foundation for effective, secure systems like federated RAG.
The Hidden Cost Breakdown: Lift-and-Shift vs. Hybrid ML
A direct comparison of the economic and operational outcomes when migrating traditional workloads versus designing for ML's unique data gravity and compute profiles.
| Core Metric / Capability | Lift-and-Shift to Cloud | Hybrid ML Architecture | Strategic Impact |
|---|---|---|---|
Inference Latency for Real-Time Apps |
| < 10ms (On-Prem/Edge) | ❌ Fails for finance, manufacturing, CX |
Data Egress & Pipeline Transfer Costs | $450/TB (Accumulates per epoch) | $0/TB (On-Prem Data Lake) | ❌ Crippling, unpredictable TCO |
Compliance with Data Residency Laws | High Risk (Data in Global Cloud) | Guaranteed (Sensitive Data On-Prem) | ✅ Enables Sovereign AI & EU AI Act |
Disaster Recovery & Resilience | Single Cloud Region = SPOF | Active-Active Across Cloud & On-Prem | ✅ Eliminates AI service downtime risk |
Vendor Lock-In Leverage | High (Proprietary AI Services) | Low (Cloud-Agnostic Model Serving) | ❌ Limits roadmap & pricing negotiation |
Inference Cost Predictability | Variable, Scales Linearly with Usage | Fixed-Cost Baseline + Cloud Burst | ✅ Enables stable Inference Economics |
Time-to-Value for New Models | Weeks (Cloud Provisioning & Data Transfer) | Days (Reuse On-Prem Data Foundation) | ✅ Accelerates experimentation & R&D |
Architectural Debt & Refactor Cost | High (Monolithic, Cloud-Native Only) | Low (Composable, Infrastructure-Agnostic) | ❌ Future migrations are prohibitively expensive |
Inference Economics: The Cloud's Recurring Revenue Model
A simple cloud migration fails for ML because it ignores the persistent, scaling cost of model inference, which creates a recurring revenue stream for cloud providers.
Lift-and-shift fails for machine learning because it treats inference—the act of a model generating a prediction—as a one-time compute cost rather than a persistent, scaling operational expense. Cloud providers structure pricing around this recurring revenue model, where every API call to a service like AWS SageMaker or Azure Machine Learning incurs a fee.
Inference is the product. The cloud's economic model is optimized for the variable inference cost of serving models at scale, not just the fixed cost of training them. This creates a financial architecture where your most valuable AI asset—the deployed model—becomes a continuous source of cloud spend, decoupled from the initial development investment.
Compare training versus inference. Model training is a bursty, high-compute event, a natural fit for cloud elasticity. Inference is a high-volume, low-latency workload that runs 24/7. A cloud-only architecture pays a premium for this always-on capability, while a hybrid strategy anchors predictable baseline inference on-premises.
Evidence: For a real-time recommendation engine processing 10,000 requests per second, cloud inference costs can exceed $50,000 monthly, while the equivalent on-premises GPU cluster has a predictable, amortized cost. This is the core of Inference Economics—the ongoing operational budget dictates total cost of ownership, not the one-time training bill.
Three Architectural Failures of the Monolithic Cloud ML Stack
A simple cloud migration ignores the unique data gravity, cost profile, and latency demands of machine learning, creating three critical points of failure.
The Problem: The Egress Fee Trap
Moving terabytes of training data or model weights out of a cloud provider's network incurs crippling, unpredictable costs. This creates a financial moat that makes retraining or migrating models prohibitively expensive.
- Data Gravity locks you in: Every experiment and pipeline iteration penalizes data movement.
- Hidden TCO: Egress fees can constitute 30-50% of operational spend for active ML projects.
- Zero Negotiation Leverage: Your AI roadmap becomes hostage to a single vendor's pricing.
The Problem: Unacceptable Inference Latency
Network round-trip times for cloud-based model calls introduce 100-500ms+ of delay, destroying user experience for real-time applications in finance, customer service, or manufacturing.
- Physics is the limit: Speed-of-light constraints make sub-50ms responses impossible from a distant cloud region.
- Brittle User Journeys: Chatbots, fraud detection, and robotic control demand local, predictable latency.
- Scalability Paradox: Adding more cloud instances reduces compute latency but does nothing for network latency.
The Problem: The Compliance Blind Spot
Global data residency laws (GDPR, EU AI Act) and industry regulations (HIPAA, FINRA) mandate where data can be processed. A monolithic cloud architecture surrenders this control, creating massive compliance and legal liability.
- Sovereign Data: 'Crown jewel' data often cannot legally leave a geographic perimeter or private infrastructure.
- Audit Trail Fragmentation: Governance and model monitoring become impossible without a unified view across environments.
- Strategic Risk: Your AI initiative depends on a third party's compliance certifications, not your own.
Sovereign AI and Compliance: The Regulatory Wall
Lift-and-shift cloud migration fails for AI because it ignores the non-negotiable data residency and sovereignty requirements of modern regulations.
Lift-and-shift is architecturally incompatible with sovereign AI. This approach treats data as a portable asset, but regulations like the EU AI Act and GDPR define data as a territorial entity that cannot cross borders without explicit legal frameworks. A simple cloud migration violates this first principle by defaulting to a provider's global regions.
Data gravity creates a compliance trap. When training data is moved to a public cloud for compute convenience, it becomes subject to that provider's jurisdictional control. Retrieving it for on-premises inference or to comply with an audit triggers massive egress fees and legal complexity, making the data effectively 'stuck.' This undermines the core tenet of data sovereignty.
Sovereign AI requires hybrid infrastructure by design. Compliance is not a feature you add later; it is the foundation. A hybrid cloud architecture keeps 'crown jewel' data in-region—on-premises or with a regional cloud provider like OVHcloud or Scaleway—while orchestrating compliant workloads across boundaries. This is the only way to satisfy data residency laws.
Evidence: Companies facing EU AI Act compliance find that 70% of their ML pipeline's data processing must occur within a defined geographic perimeter. A lift-and-shift to a US-based hyperscaler makes this legally impossible, incurring potential fines of up to 7% of global turnover.
FAQ: Untangling ML Cloud Migration Myths
Common questions about why a simple lift-and-shift approach fails for machine learning workloads.
Lift-and-shift fails because it ignores the unique data gravity and compute profiles of ML workloads. A simple VM migration doesn't address the need for scalable object storage like Amazon S3, specialized GPU instances, or orchestration tools like Kubernetes for model serving, leading to poor performance and runaway costs.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
The Hybrid-First Blueprint: Composable, Not Committed
A lift-and-shift cloud migration fails for ML because it ignores the unique data gravity and compute profiles of AI workloads, creating architectural and economic inefficiency.
Lift-and-shift is architecturally unsound for ML because it treats AI workloads like standard web applications, ignoring their unique data gravity and compute profiles. Machine learning pipelines demand a composable architecture that treats cloud, on-premises, and edge as interchangeable components orchestrated by a unified control plane.
Data gravity dictates infrastructure placement. Sensitive training data or proprietary models are crown jewel assets that must remain on-premises for security and compliance, while non-sensitive batch processing can leverage cloud scale. A monolithic cloud strategy creates a single point of failure and incurs crippling egress fees when moving terabytes of data.
Compute profiles are asymmetric. The bursty, high-compute demand of model training is suited for the cloud, but the low-latency, high-volume requirement of real-time inference is optimized for on-premises or edge deployment. A hybrid approach is the key to scalable and efficient Inference Economics.
Vendor lock-in sacrifices strategic optionality. Committing to a single cloud's proprietary AI services, like AWS Bedrock or Google Vertex AI, makes your model pipeline a hostage to one provider's roadmap and pricing. A hybrid-first design preserves the ability to leverage best-in-class tools like Pinecone or Weaviate for vector search across environments.
Evidence: Companies that adopt a hybrid strategy for AI report 30-50% lower total cost of ownership over three years by anchoring predictable inference costs on-premises and avoiding punitive egress fees. This architectural flexibility is foundational for implementing resilient Retrieval-Augmented Generation (RAG) systems.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us