What is an MLOps Engineer?
MLOps (machine learning operations) is the practice of taking machine learning models from notebooks into reliable production systems. An MLOps engineer builds the pipelines, infrastructure and monitoring that keep models running and improving.
Companies like Uber, Netflix, Spotify and banks rely on MLOps to deploy hundreds of models safely. It combines machine learning, software engineering and DevOps, which makes it one of the best-paid AI roles.
How to use this MLOps roadmap
You should know Python and basic machine learning before starting. DevOps experience helps but is not required.
Take one model, such as a price predictor, through every step: tracking, packaging, deployment and monitoring.
1Step 1: Python and ML foundations
Make sure you can build and evaluate models.
What is it?
Training and saving a model.
What to learn
Turn notebook code into clean Python functions early. Production starts with tidy code.
Learn each topic here
Python for data
For MLOps you need solid Python: functions, classes, virtual environments, packages, file handling and writing scripts that run outside notebooks.
Why it matters: Almost every ML tool and pipeline is written in Python.
pandas and NumPy
NumPy handles fast numeric arrays, and pandas provides DataFrames for loading, cleaning and transforming tabular data.
Why it matters: They are used in every step of preparing data for models.
scikit-learn
scikit-learn is the standard Python library for classic machine learning. Every model uses the same fit and predict pattern.
Model evaluation metrics
Metrics measure model quality: accuracy, precision, recall and F1 for classification; MAE and RMSE for regression. Choose the metric that matches the business goal.
Why it matters: Metrics decide which model gets deployed and when to retrain.
Jupyter notebooks
Notebooks let you run code step by step and see tables and charts instantly, which is ideal for experiments. Google Colab offers free notebooks with GPUs.
Example
python
from sklearn.linear_model import LinearRegression
import joblib
model = LinearRegression().fit(X_train, y_train)
print(model.score(X_test, y_test))
joblib.dump(model, "model.joblib")The script prints the model score and saves model.joblib for deployment.
Helpful resource: scikit-learn getting started
2Step 2: Versioning and experiment tracking
Track code, data and experiments so results can be reproduced.
What is it?
Logging a run with MLflow.
What to learn
Log every experiment’s parameters, metrics and data version, even the failed ones.
Learn each topic here
Git for ML projects
Use Git to version training code, configs and pipelines, with branches and pull requests for changes. Large data and model files are kept out of Git.
Why it matters: Version control makes every model traceable back to the code that built it.
Data versioning with DVC
DVC (Data Version Control) tracks large datasets and model files alongside Git, storing the data in cloud storage and small pointer files in your repository.
Why it matters: You can reproduce any past model with the exact data it was trained on.
MLflow
MLflow tracks experiments (parameters, metrics, artifacts) and manages model versions.
python
import mlflow with mlflow.start_run(): mlflow.log_param("lr", 0.01) mlflow.log_metric("auc", 0.91)Experiment tracking
Tools like MLflow or Weights & Biases record parameters, metrics and models from each experiment so you can compare and reproduce results.
Model registry
A model registry stores model versions with their metrics and stage (staging, production), so teams know exactly which model is live.
Example
python
import mlflow
with mlflow.start_run():
mlflow.log_param("alpha", 0.5)
mlflow.log_metric("rmse", 3.2)
mlflow.sklearn.log_model(model, "model")The MLflow UI shows the run with its parameter, metric and saved model.
Helpful resource: MLflow documentation
3Step 3: Packaging and serving models
Turn your model into an API that other apps can call.
What is it?
A prediction endpoint with FastAPI.
What to learn
Pin your library versions in requirements.txt so the model behaves the same everywhere.
Learn each topic here
FastAPI
FastAPI turns your model into a web API that apps can call.
python
from fastapi import FastAPI app = FastAPI() @app.post("/predict") def predict(data: dict): return {"price": float(model.predict([data["features"]])[0])}Docker
Docker packages your app and its dependencies into a container that runs the same everywhere. See our Docker roadmap.
dockerfile
FROM node:20-alpine WORKDIR /app COPY . . RUN npm ci CMD ["node", "server.js"]Model serialisation
Serialisation saves a trained model to a file, using formats such as joblib or pickle for scikit-learn, or ONNX for portable models, so it can be loaded elsewhere.
Why it matters: Saved models are what you deploy, version and roll back.
Batch vs real-time inference
Batch inference scores large amounts of data on a schedule, such as nightly; real-time inference answers single requests instantly through an API.
Why it matters: Choosing the right mode controls cost, speed and infrastructure.
Model serving tools
Tools like BentoML, TorchServe, NVIDIA Triton and cloud endpoints package and serve models with batching, scaling and version management built in.
Why it matters: They save you from building serving infrastructure from scratch.
Example
python
from fastapi import FastAPI
import joblib
app = FastAPI()
model = joblib.load("model.joblib")
@app.post("/predict")
def predict(size: float, rooms: int):
return {"price": float(model.predict([[size, rooms]])[0])}Sending size and rooms to /predict returns a predicted price as JSON.
Helpful resource: FastAPI documentation
4Step 4: Pipelines and CI/CD for ML
Automate training, testing and deployment.
What is it?
A simple CI workflow.
What to learn
Add a check that blocks deployment if the new model scores worse than the current one.
Learn each topic here
ML pipelines
An ML pipeline is an automated sequence of steps: load data, validate it, train, evaluate and register the model. Each step can be rerun on its own.
Why it matters: Pipelines make model training repeatable and hands-free.
CI pipelines
CI pipelines (GitHub Actions, GitLab CI) build, test and push images automatically on every change.
GitHub Actions
GitHub Actions runs workflows from YAML files in your repository, for example running tests, training a model or building a Docker image on every push.
Why it matters: It is a free, popular way to add CI/CD to ML projects.
Testing ML code
Test data-processing functions with unit tests, check data quality with schema checks, and add model tests that confirm accuracy stays above a threshold.
Why it matters: Tests stop bad data or broken code from reaching production models.
Workflow orchestration with Airflow
Apache Airflow schedules and monitors pipelines written as Python DAGs (directed acyclic graphs), with retries, logs and alerts.
Why it matters: Orchestration keeps scheduled training and data jobs running reliably.
Example
yaml
name: train
on: [push]
jobs:
train:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install -r requirements.txt
- run: python train.py && pytestEvery push installs dependencies, retrains the model and runs the tests.
Helpful resource: GitHub Actions documentation
5Step 5: Cloud and Kubernetes
Run models at scale in the cloud.
What is it?
A Kubernetes deployment for the model API.
What to learn
Start with a managed service before running your own Kubernetes cluster.
Learn each topic here
Cloud ML platforms
AWS SageMaker, Google Vertex AI and Azure Machine Learning provide managed training, model registries, endpoints and monitoring.
Why it matters: They let small teams run production ML without managing servers.
Kubernetes basics
Kubernetes runs containers across many servers with scaling and self-healing. See our Kubernetes roadmap.
Autoscaling
Autoscaling adds or removes copies of your model service based on traffic or CPU and GPU usage.
Why it matters: It keeps response times low during peaks and costs low when traffic is quiet.
Infrastructure as code
Tools like Terraform describe cloud resources, such as storage, clusters and endpoints, in code files that can be reviewed and applied automatically.
Why it matters: Your ML infrastructure becomes repeatable and easy to recreate.
GPU resources
Deep learning training and many large models need GPUs. You learn to request GPU nodes, choose instance types and share GPUs efficiently.
Why it matters: GPUs are often the biggest cost in ML, so using them well matters.
Example
yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: price-model
spec:
replicas: 2
selector: { matchLabels: { app: price-model } }
template:
metadata: { labels: { app: price-model } }
spec:
containers:
- name: api
image: myrepo/price-model:1.0Kubernetes runs two copies of your model API and restarts them if they fail.
Helpful resource: Kubernetes basics tutorial
6Step 6: Monitoring and LLMOps
Keep models accurate after they go live.
What is it?
Checking for data drift with a simple statistic.
What to learn
Monitor input data as well as accuracy. Drift in the data usually appears before accuracy drops.
Learn each topic here
Model monitoring
Watch prediction quality, latency and errors in production, with alerts when metrics drop.
Data drift
Data drift happens when real-world data changes from the training data, for example new customer behaviour. Detect it by comparing distributions over time.
Logging and alerts
Log every prediction request, latency and error, and set alerts in tools like Prometheus, Grafana or cloud monitoring when something goes wrong.
Why it matters: Alerts let you fix problems before users or the business notice.
Retraining strategies
Models can be retrained on a schedule, when new data arrives or when monitoring shows drift. New models are compared with the current one before replacing it.
Why it matters: Retraining keeps models accurate as the world changes.
LLMOps
LLMOps applies MLOps ideas to large language model apps: prompt versioning, evaluation sets, tracing, cost and latency tracking, and guardrails.
Why it matters: LLM products need the same discipline as classic ML to stay reliable.
Example
python
from scipy.stats import ks_2samp
stat, p_value = ks_2samp(train["size"], live["size"])
if p_value < 0.05:
print("Drift detected: consider retraining")The script warns you when live data no longer looks like the training data.
Helpful resource: Evidently AI
MLOps roadmap project ideas
Projects turn what you learn into real skills. Build at least one project from each level below, and put every finished project on GitHub with a clear README.
Model API
Serve a scikit-learn model with FastAPI.
Experiment tracker
Log and compare 10 experiments in MLflow.
Dockerised ML service
Containerised model with tests and a health check.
Automated retraining
GitHub Actions pipeline that retrains on new data.
Production ML platform
Kubernetes deployment with autoscaling, registry and monitoring.
LLM app with LLMOps
A RAG app with prompt versioning, evaluation and cost tracking.
Tips to finish this mlops roadmap
- Learn by building. Spend at least two thirds of your study time writing code and making projects, not watching videos.
- Be consistent. One focused hour every day beats a long session once a week. Small daily progress adds up quickly.
- Share your work. Post your projects on GitHub and LinkedIn. It builds your confidence and helps recruiters find you.
- Ask for feedback. Join a community, ask questions and review other people’s code. Explaining things to others is one of the fastest ways to learn.
- Do not chase every new tool. The fundamentals in this mlops roadmap change slowly. Master them first, then explore new libraries.
Career paths and next steps
Deepen your infrastructure skills with the DevOps engineer roadmap.
Learn data engineering to build the data pipelines that feed your models.
Related roadmaps
MLOps Roadmap FAQs
What is the difference between MLOps and DevOps?
DevOps automates software delivery. MLOps adds what machine learning needs on top: data and model versioning, experiment tracking, retraining and model monitoring.
Do I need to be a data scientist to do MLOps?
No, but you should understand how models are trained and evaluated. Many MLOps engineers come from software or DevOps backgrounds.
Which tools should I learn first for MLOps?
Start with Git, Docker, MLflow and FastAPI, then add a CI tool, a cloud platform and Kubernetes.
How long does it take to become an MLOps engineer?
With Python and ML basics, most learners need 6 to 9 months of hands-on practice.