Inferensys

Blog

Why Lift and Shift to the Cloud Fails for Machine Learning

The 'lift-and-shift' cloud migration strategy, effective for monolithic apps, is a catastrophic blueprint for machine learning. This post dissects the unique data gravity, compute profiles, and hidden costs of ML that make a simple cloud migration architecturally and economically unsound, arguing for a hybrid-first approach.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
THE ARCHITECTURE MISMATCH

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.

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.

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.

ARCHITECTURAL FAILURE

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.

01

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.

10-40%
Cost Overage
~500ms
Added Latency
02

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.

-70%
Egress Fees
1
Unified View
03

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.

100-300ms
Network Tax
Unpredictable
Monthly Cost
04

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.

<10ms
Inference Latency
Fixed
Operational Cost
05

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.

0
Portability
High
Strategic Risk
06

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.

Multi-Cloud
Leverage
Centralized
Governance
THE DATA

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.

ARCHITECTURE COMPARISON

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 / CapabilityLift-and-Shift to CloudHybrid ML ArchitectureStrategic Impact

Inference Latency for Real-Time Apps

100ms (Network Round-Trip)

< 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

THE FINANCIAL TRAP

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.

WHY LIFT AND SHIFT FAILS

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.

01

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.
30-50%
Ops Cost
$0.09/GB
Avg. Egress
02

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.
100-500ms+
Added Latency
~50ms
Target Threshold
03

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.
0
Architectural Control
High
Compliance Risk
THE COMPLIANCE REALITY

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.

FREQUENTLY ASKED QUESTIONS

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.

THE ARCHITECTURE

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.

Prasad Kumkar

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.