Managed ML Platforms: What SageMaker, Vertex AI and Azure ML Give You, and Tie You To
Amazon SageMaker AI, Azure Machine Learning and Vertex AI are one idea in three clouds: a rented kitchen for the jobs around a model. Which of our jobs they take over, what stays yours, what ties you in, and when one is worth it.
What you will learn
- Say what a managed ML platform takes off your hands
- Map the jobs we built ourselves (notebook, training, DAG, saved model, API) to platform features
- Name what stays yours: the question, the metric, the data and the quality gate
- Spot what a platform ties you to, and keep that part thin
Before you start
- The Training Pipeline as a DAG
- Which Cloud for What
So far we've built every piece around the model ourselves: a pipeline, a scheduler, saved model versions, a FastAPI container, logs. Managed ML platforms offer to run all of that for you. This article covers what they give you, what they tie you to, and where each job we've built would go.
A managed platform doesn't stay in one stage of the ML workflow. It stretches across training, deploying and watching.
Renting a commercial kitchen
Say you're cooking for a lot of people. You could build your own kitchen: buy the ovens, the fridges and the extraction, and fix them when they break. Or you rent a commercial kitchen. Everything's there, it's maintained, and you just start cooking.
But your recipes are still yours. A great oven won't save a bad dish. And you work with its layout and its rules, so moving out later takes some effort. That's the trade.
What we've been looking after
- A pipeline: ingest, validate, featurise, train, evaluate and register (the idea is built step by step in the training pipeline as a DAG).
- A scheduler, Airflow, that someone has to keep running.
- Saved models with their versions.
- A FastAPI container that needs a home.
- Logs to collect.
None of it is hard, but each piece needs a machine, upgrades and permissions. It's the upkeep, not the difficulty. That's what a platform takes off your hands.
Three platforms, one idea
- On AWS: Amazon SageMaker AI.
- On Azure: Azure Machine Learning.
- On Google Cloud: Vertex AI. At the time of writing, the Vertex AI address landed on a page called Gemini Enterprise Agent Platform.
So check the current name before you quote one, because these products get renamed. The idea stays the same: one place, inside one cloud, for the jobs around a model. Which one you'd use mostly depends on the cloud you're on already (see which cloud for what).
Our jobs, their features
- Our notebook becomes a managed notebook.
- Our
train.pybecomes a training job: a machine appears, trains, and goes away. - Our DAG becomes a pipeline.
- Our saved model goes into a model registry, with its versions.
- Our FastAPI container becomes an endpoint, with monitoring beside it.
What stays yours
The platform takes the machines, the upgrades and the scaling. It doesn't take your judgement:
- It doesn't know your question (what's worth predicting) or which metric counts as good.
- It doesn't fix your data. Leakage is still leakage on a rented machine. A column like the time a ticket was resolved still leaks the answer (see data leakage).
- It doesn't write your quality gate. It can run the check, but the rule that the candidate must beat the champion is yours (see a quality gate in CI/CD).
The ovens are rented. The recipes are still ours.
What they tie you to
Three strands tie a project to a platform:
- Your pipeline definition, written the platform's way.
- The calls in your code. Once your training script calls the platform's library all over the place, it won't run anywhere else.
- Your permissions and storage, set up in that cloud's terms.
So keep features and training in plain Python, keep your API in a container, and let the platform be the wiring. Then what you'd rewrite to move stays small: the pipeline definition, a few SDK calls, and permissions and storage.
When to choose one
| Your situation | Leans towards |
|---|---|
| Several models and a small team | A platform makes sense |
| Already on that cloud, permissions and data are there | Easier still |
| One model in a container, like our ticket API | A managed container service is enough |
| Must move between clouds | Keep the platform-specific part thin |
Team and workload decide, not the feature list.
Recap
| Idea | Remember |
|---|---|
| Takes the machinery | Training jobs, pipelines, a registry and endpoints in one place |
| Stays yours | The question, the metric, the data and the gate |
| Ties you in | Pipeline definition, SDK calls, permissions and storage: keep it thin |
| When | Several models and a small team, not one small API |
Try it yourself: pick one job from this course, find the matching feature in one platform's docs, and write down what you'd be tied to.
Built this? Share your solution in the StudyEasy AI Community.
Join free on Skool →Kubernetes at a High Level: Pods, a Deployment and a Service for a Model API
Next →Deploying a Model API to AWS: ECR, Secrets Manager, CloudWatch and Fargate, Then Teardown
StudyEasy AI Community
Learn AI engineering, share what you build, and connect with other learners.
Free resources: lesson files, notebooks and code
Ask questions and join engineering discussions
Meet real people learning and building with AI
Machine Learning Engineer: From First Model to ML Engineer
Learn machine learning in Python, then ship it: data analysis, regression, classification, tuning, deployment and MLOps.View on Udemy ↗: Machine Learning Engineer: From First Model to ML Engineer (opens in a new tab)Related articles
Python Virtual Environments: One Project, One Toolbox
Why every Python project gets its own virtual environment: two projects that need different versions of requests, python -m venv .venv, activation, pip install and the PyCharm setting that activates it for you.
Git and GitHub Fundamentals: Commits, Branches, Push and Pull
The Git you use every day, on a tiny hello-ml project: commits as save points, the staging area, a branch merged with a fast-forward, then push, clone, pull and pull requests with a teammate.
Testing a FastAPI App with pytest: Three Small Tests
A tiny FastAPI app with a Hello World route and a name route that refuses numbers, three pytest tests that check it, and what happens when the validation is deleted by mistake.
Config and Logging Instead of Hard-Coded Values in ML Training
Take the hard-coded values out of a car price training script: one config.toml read with tomllib, logging with levels and a run id on every line, and secrets read from the environment. Same RMSE, 2195, before and after.