This guide helps data and AI leaders plan a SageMaker to Databricks migration, from choosing a strategy and setting up AWS foundations to moving experiments, training pipelines, endpoints and feature stores.
Migrating from Amazon SageMaker to Databricks involves moving ML experiments, models, training pipelines, inference endpoints and features onto one governed platform built on MLflow, Unity Catalog and Model Serving, usually without moving data out of Amazon S3.
Key Takeaways
- SageMaker to Databricks migration moves machine learning work from SageMaker AI onto Databricks, where data, models and governance share one platform
- Both platforms run on AWS, so training data can stay in existing S3 buckets as Unity Catalog external locations
- MLflow carries experiments and models across, while SageMaker-specific training code and endpoints need deliberate rework
- Model Serving, the Online Feature Store and data profiling replace SageMaker endpoints, Feature Store and Model Monitor
- A hybrid approach, migrating first and refactoring critical models second, balances speed with long-term value
SageMaker to Databricks Migration Strategy and Phases
A SageMaker migration starts with a strategy choice for each model, then runs through four phases: assessment, AWS landing zone setup, migration in waves, and validation with decommissioning.
Lift and Shift vs Refactor: Choosing a SageMaker Migration Strategy
Teams usually debate two options, and most end up combining them:
| Strategy | What It Means | Best For | Trade-Off |
|---|---|---|---|
| Lift and shift | Run existing Python, pandas and scikit-learn code on Databricks with minimal changes | Stable models with small data and tight deadlines | Misses distributed processing and lakehouse governance |
| Refactor and modernize | Rebuild data preparation in Spark, features in Unity Catalog and pipelines in Lakeflow Jobs | High-value models with large or growing data | Needs more engineering time and testing |
| Hybrid | Lift and shift first, then refactor the models that matter most | Portfolios with models of mixed value | Requires a clear refactoring backlog |
The hybrid path suits portfolios of mixed model value. It gets models off SageMaker quickly, then directs refactoring effort at the models that slow teams down or cost the most to run.
Phase 1: Assess SageMaker Models, Endpoints and Pipelines
The SageMaker APIs and AWS Cost Explorer supply the inventory and cost data. The assessment should capture:
- Training jobs, their instance types, run frequency and S3 input locations
- SageMaker Pipelines and Processing jobs, with their dependencies
- Model Registry groups, approval statuses and the model artifacts in S3
- Endpoints by type, traffic volume, latency targets and monthly cost
- Feature groups in Feature Store, with online and offline usage
- Experiments tracked in SageMaker’s managed MLflow or SageMaker Experiments
Endpoint cost data deserves special attention, since real-time endpoints bill for every hour they run and the cost helps rank which models move first.
Phase 2: Set Up the Databricks Landing Zone on AWS
Both platforms run on AWS, which avoids a large cost of many migrations: moving data. Existing S3 buckets register in Unity Catalog as external locations, backed by storage credentials that use IAM roles, so models train on the same data SageMaker used.
The workspace deploys into a customer-managed VPC, with AWS PrivateLink for private connectivity. IAM roles that SageMaker execution roles used map to Unity Catalog permissions on catalogs, schemas and volumes, which gives one place to audit who can read training data and models.
During the transition, SageMaker notebooks can still read governed data through OpenSharing, the successor to Delta Sharing, or run code on Databricks compute through Databricks Connect. Separate workspaces for development, staging and production, all attached to one Unity Catalog metastore, mirror the account separation most SageMaker teams already use.
Phase 3: Migrate ML Workloads in Waves
Grouping models by risk keeps each wave manageable:
| Wave | Typical Scope | Why This Order |
|---|---|---|
| Wave 1 | Batch scoring models and scheduled retraining | No live traffic, so validation is simple |
| Wave 2 | Real-time and serverless endpoints | Needs latency testing and traffic shifting |
| Wave 3 | Feature Store pipelines and online features | Depends on models already running on Databricks |
| Wave 4 | GenAI and foundation model workloads | Benefits from Unity Gateway and governance built in earlier waves |
Each wave moves experiments, code, features and serving for its models together, so no model is left half on each platform.
Phase 4: Validate, Cut Over and Decommission SageMaker
- Compare predictions from SageMaker and Databricks on the same input data, within agreed tolerances
- Load test Model Serving endpoints against SageMaker latency and throughput figures
- Route a share of live traffic to Databricks, then increase it as metrics hold
- Keep the SageMaker endpoint available for rollback through an agreed period
- Delete endpoints, notebook instances and unused model artifacts once owners sign off
Technical parity is only half the sign-off. Model owners also compare business metrics, such as approval rates for a credit model or forecast error for a demand model, over the same period on both platforms before agreeing to cut over.
Decommissioning is where savings become real, since idle endpoints keep billing until they are deleted and notebook instances until they are stopped.
Amazon SageMaker vs Databricks: Component Mapping for Migration
Most SageMaker AI components have a Databricks equivalent, so much of the migration is mapping, while custom containers and multi-model endpoints need redesign.
| SageMaker AI Component | Databricks Equivalent |
|---|---|
| SageMaker Studio and notebook instances | Databricks notebooks with Genie Code |
| Training jobs | Lakeflow Jobs on CPU compute or AI Runtime serverless GPUs |
| HyperPod | AI Runtime for multi-GPU and multi-node training |
| Processing jobs | Spark or serverless jobs on Unity Catalog tables |
| SageMaker Pipelines | Lakeflow Jobs |
| SageMaker with MLflow, Experiments | Managed MLflow in Databricks |
| Model Registry | Models in Unity Catalog |
| Real-time and serverless endpoints | Model Serving |
| Batch Transform | Batch inference with ai_query or Spark |
| Feature Store | Feature tables in Unity Catalog and the Online Feature Store |
| Model Monitor | Inference tables with data profiling |
| Clarify | SHAP and MLflow evaluation in notebooks |
| JumpStart | Foundation models through Model Serving |
Some services have no direct match. Ground Truth labeling usually stays on AWS or moves to a labeling partner, and Bedrock applications can keep calling Bedrock models through Unity Gateway. For a full platform comparison, see our Databricks vs SageMaker guide.
The billing model changes too. SageMaker charges per instance-hour for each notebook, training job and endpoint, while Databricks charges Databricks Units plus EC2 for classic compute, with serverless compute priced as one rate. Comparing cost per model, not per service, gives finance a clearer picture.
Migrating SageMaker Experiments and Models to MLflow on Databricks
MLflow gives SageMaker teams a shared format with Databricks, so experiments move with export tools, while SageMaker Model Registry artifacts are re-logged as MLflow models in Unity Catalog.
Teams that already track experiments with SageMaker’s managed MLflow have the easiest path. The open-source mlflow-export-import tool works with SageMaker MLflow tracking servers and copies experiments, runs, metrics, parameters and artifacts into a Databricks workspace.
Imported runs receive new run IDs, so dashboards, notebooks or audit records that reference old run IDs need a mapping table kept alongside the migration. Registered model export has limits too: model versions whose source run was deleted are not exported, and version numbers are not guaranteed to be preserved.
Older projects tracked in SageMaker Experiments, before managed MLflow, have no direct export path. Their key metrics and parameters can be read through the SageMaker SDK and logged into MLflow, or archived in a Delta table when only audit history matters.
Models in SageMaker Model Registry follow a different route. Each model package points to its model artifact, typically a model.tar.gz file in S3, which engineers load, wrap as an MLflow model and register in Unity Catalog.
Unity Catalog requires a model signature, so the input and output schema gets defined during this step.
Approval statuses map to aliases set by the team. A model package approved for production can become the champion alias, and candidates under test challenger, so deployment pipelines reference aliases instead of version numbers. Logging training inputs with MLflow or feature store APIs then records lineage from Unity Catalog tables to each model version.
Converting SageMaker Training Jobs and Pipelines to Databricks
SageMaker training scripts depend on container paths, environment variables and SDK estimators, which are replaced by Unity Catalog tables, MLflow logging and Lakeflow Jobs on Databricks.
Most SageMaker training scripts are ordinary Python wrapped in SageMaker conventions. Those conventions are what change:
- Input data: scripts read from /opt/ml/input/data channels mapped to S3; on Databricks they read Unity Catalog tables or volumes directly
- Model output: artifacts written to /opt/ml/model through SM_MODEL_DIR become MLflow-logged models
- Hyperparameters: values passed through the SageMaker estimator become job parameters or MLflow-tracked settings
- Compute: instance types chosen per training job become cluster policies, serverless compute or AI Runtime GPUs
AI Runtime, generally available since October 2026, provides serverless GPUs with multi-node training, with some newer GPU configurations still in preview. GPU training jobs can move there, while large HyperPod clusters need their GPU type and node count checked against what AI Runtime offers. Hyperparameter tuning jobs move to Optuna, which logs trials to MLflow, or to Ray Tune.
Distributed deep learning code needs one more change. Training that used SageMaker’s distributed data parallel libraries moves to TorchDistributor or Ray on Databricks, which run PyTorch and other frameworks across multiple GPUs and nodes.
SageMaker Pipelines convert to Lakeflow Jobs, where each step becomes a task with dependencies, retries and alerts. Processing jobs that ran pandas or scikit-learn on single instances are usually the best refactoring candidates, since Spark handles the same preparation across far larger data.
Moving SageMaker Endpoints to Databricks Model Serving
Databricks Model Serving replaces SageMaker real-time, serverless and asynchronous endpoints, while Batch Transform workloads move to scheduled batch inference on Unity Catalog tables.
| SageMaker Endpoint Type | Databricks Approach |
|---|---|
| Real-time endpoint | Model Serving endpoint with autoscaling on CPU or GPU |
| Serverless inference | Model Serving with scale-to-zero |
| Asynchronous inference | Batch inference jobs for work that can wait; Model Serving for requests that need an immediate response |
| Batch Transform | Scheduled Lakeflow Jobs using ai_query or Spark |
| Multi-model endpoint | Several served models on one endpoint, or one routing model for very large model counts |
| A/B variants | Traffic splitting between served models |
| Shadow variants | Offline replay of logged requests against the candidate model |
Model Serving builds its containers from the MLflow model and its dependencies. Custom SageMaker inference containers therefore become MLflow pyfunc models, with preprocessing and postprocessing moved into the model’s predict method.
Access control moves with the endpoint. Serving endpoints take permissions from Databricks identities and service principals, replacing the IAM policies that controlled who could invoke SageMaker endpoints.
Route optimization lowers network latency for high-throughput endpoints, and scale-to-zero trades a cold start for lower cost on low-traffic models, though Databricks does not recommend it for production endpoints because capacity is not guaranteed.
Monitoring improves in the move. Inference tables log requests and responses to a Delta table in Unity Catalog, and data profiling on that table tracks drift and model quality, which fills the role of Model Monitor schedules. For LLM endpoints, Unity Gateway adds rate limits, usage tracking and guardrails in one place.
Replacing SageMaker Feature Store With Databricks Feature Engineering
SageMaker feature groups become Unity Catalog feature tables for training, while the online store is replaced by the Lakebase-backed Online Feature Store for low-latency serving.
SageMaker Feature Store keeps an offline store as Parquet in S3, using Glue or Apache Iceberg table format, and an online store for real-time lookups. Both have direct counterparts:
- Offline feature groups: become Delta feature tables in Unity Catalog with a primary key, and time series keys enable point-in-time correct training sets
- Online store: replaced by the Online Feature Store, which runs on Lakebase and publishes from feature tables
- Feature freshness: publishing runs in snapshot, triggered or continuous mode, matched to how often each feature changes
- Serving: models trained with feature lookups fetch online features automatically at Model Serving time
Ingestion pipelines that wrote to feature groups through the SageMaker SDK become Lakeflow pipelines writing to feature tables. Because feature tables live in Unity Catalog, lineage shows which models depend on each feature, which makes retiring old features safe.
Historical feature data loads once from the SageMaker offline store into Delta feature tables, keeping the original event timestamps so point-in-time joins return the same training sets as before. Only the features that applications actually read need publishing to the online store.
Common SageMaker to Databricks Migration Challenges
The hardest parts of a SageMaker migration are usually container-specific inference code, multi-model endpoints and feature freshness, not model training itself.
Custom inference containers need the most care. Teams often build their own Docker images with feature lookups, input cleaning and business rules baked into the serving code, and none of it lives in the training repository. That logic is extracted into the MLflow pyfunc model, then recorded requests are replayed through both the old container and the new endpoint until outputs match.
The other recurring issues are smaller but easy to miss:
| Challenge | What Happens | How to Handle It |
|---|---|---|
| Thousands of small models | Multi-model endpoints load models from S3 on demand, so the pattern needs redesign on Databricks | Package model families into one routing model, or move low-traffic models to batch scoring |
| Feature freshness gaps | An online feature refreshed every minute in SageMaker lags when published in the wrong mode | Set the publish mode per feature table and track staleness during the parallel run |
| Autoscaling differences | Endpoints scale on different signals, so peak traffic behaves differently | Load test with production traffic patterns before shifting live requests |
Code-level surprises come last. Helper functions sometimes read SageMaker environment variables or call the SageMaker SDK, and they fail only at run time, so they should be searched for before conversion. Recording the scikit-learn, XGBoost or PyTorch versions pinned in SageMaker framework containers inside each MLflow model’s environment helps predictions stay consistent after the move.
Choosing the Right SageMaker to Databricks Migration Partner
The right migration partner brings Databricks partner credentials, MLOps depth on MLflow and Model Serving, AWS experience and a validation approach that proves every model before cutover.
When comparing partners, CDOs and CIOs should look for:
- Databricks partner tier and the number of certified engineers on the team
- Hands-on MLflow, Unity Catalog and Model Serving experience, beyond data engineering
- AWS networking and IAM depth for landing zones that keep data in S3
- Automated migration tooling for inventory, code conversion and validation
- A wave plan with prediction-level validation and rollback for every endpoint
LatentView is a Databricks Elite C&SI partner with a Databricks Center of Excellence of 400 data engineers, 150+ of them certified, and an ML operations offering built around development, staging and production. For an IT and computer hardware manufacturer, our Touchless platform cut model runtime by 87.5% and reduced infrastructure costs fivefold.
Transform your SageMaker estate into governed, production-ready ML on Databricks with a team backed by 20+ years of experience and 50+ Fortune 500 clients. We use MigrateMate, our cloud migration solution, and validate predictions model by model in each wave, so every endpoint is checked before it moves. Talk to our Databricks partnership team about your first migration wave.
Frequently Asked Questions About SageMaker to Databricks Migration
1. Can SageMaker and Databricks Run Together on AWS?
Yes. Both run on AWS and can share data in S3 through Unity Catalog external locations, which supports a phased migration.
2. Can MLflow Models Move From SageMaker to Databricks?
Yes. The open-source mlflow-export-import tool copies MLflow experiments, runs and models from SageMaker’s managed MLflow into Databricks.
3. What Replaces SageMaker Endpoints on Databricks?
Databricks Model Serving replaces real-time and serverless endpoints, while Batch Transform moves to scheduled batch inference jobs.
4. Does Training Data Need to Leave Amazon S3?
Not necessarily. Existing S3 buckets can register in Unity Catalog as external locations, so Databricks reads the same data SageMaker used.
5. What Replaces SageMaker Feature Store?
Unity Catalog feature tables replace offline feature groups, and the Lakebase-backed Online Feature Store replaces the online store.