AIDevOps & Security

MLOps roadmap

Take machine learning models from a notebook to a reliable service: pipelines, deployment, monitoring and retraining.

  • About 5 to 7 months
  • 8 to 10 hours a week
  • 5 stages

Tick each stage as you finish it. Your progress stays on this device.

Start stage 1

Time needed

About 5 to 7 months

8 to 10 hours a week. Best for people who already know Python, Git and basic machine learning.

Before you start

  • You can write Python and use Git
  • You have trained a simple machine learning model
  • You know the basics of Docker and the command line

Not covered here

Inventing new model designs. This path is about running models, not researching them.

  1. Stage 14 weeks

    Reproducible experiments

    Make every result repeatable.

    Learn

    • Project structure for machine learning code
    • Tracking runs, settings and results
    • Versioning data and models
    • Environments and dependencies

    Tools

    • Git
    • MLflow or Weights & Biases
    • DVC or similar

    Build

    • A project where any past experiment can be rerun from a single command
    • A comparison table of ten tracked runs

    CheckpointA teammate can reproduce your best result on a fresh computer.

  2. Stage 25 weeks

    Pipelines and automation

    Automate training and checks.

    Learn

    • Pipeline steps: data, train, test, package
    • Data and model tests
    • Continuous integration for models
    • Scheduling and workflow tools

    Tools

    • GitHub Actions
    • Airflow, Prefect or Dagster
    • pytest

    Build

    • A pipeline that retrains and tests a model on a schedule
    • A check that blocks a model that gets worse

    CheckpointA worse model is stopped automatically before it can be released.

  3. Stage 35 weeks

    Serve models

    Make predictions available to other software.

    Learn

    • Packaging a model as an API
    • Batch and real-time prediction
    • Containers and registries
    • Rolling out safely: canary and rollback

    Tools

    • FastAPI
    • Docker
    • A model registry

    Build

    • A containerised prediction service with a health check
    • A rollout that can be undone in minutes

    CheckpointYou can roll back to the previous model within minutes.

  4. Stage 45 weeks

    Monitor and improve

    Notice when a model gets worse.

    Learn

    • Speed, errors and cost
    • Data drift and model drift
    • Alerts people will act on
    • Feedback and retraining

    Tools

    • Prometheus and Grafana
    • A drift detection library
    • Logging

    Build

    • A dashboard showing speed, errors and input drift for your service
    • A written plan for when to retrain

    CheckpointYou receive an alert when the incoming data changes enough to matter.

  5. Stage 5Ongoing

    Platform, cost and security

    Run models for a whole team.

    Learn

    • Running on Kubernetes and cloud services
    • GPU use and cost control
    • Access control and secrets
    • Documentation and handoff

    Tools

    • Kubernetes
    • A cloud provider
    • A secrets manager

    Build

    • A short guide for a team to deploy a model on your platform
    • A cost report with two savings

    CheckpointA new team deploys their first model with your guide and no hand-holding.

Afterwards

Roles this prepares you for

All career paths

Tools and model names change quickly. Treat the names here as examples, and check each tool's own documentation for what is current.