The Full MLOps Architecture, Priority Stack & Learning Path
Every previous page in this section is one piece of a single end-to-end system. This page assembles them, tells you which pieces to learn first, and gives you five projects to actually build it.
The Complete End-to-End Architecture
Every arrow is a page you've already read: Data Layer is Data Engineering & Versioning; Feature Layer is Feature Stores & Model Registry; Experimentation is Experiment Tracking + Pipeline Orchestration; CI/CD is CI/CD & ML CI/CD; Deployment is Containers + Kubernetes + Deployment Strategies; Serving is APIs & Model Serving and, for LLMs, LLM Inference Engines through LLM Hosting & Serving Patterns; Observability is Observability + Monitoring & Drift Detection + LLM Evaluation & RAGOps. Security & Reproducibility and Engineering Foundations apply across every layer, not one box. GPU/AI Infrastructure & Distributed Training underlies the Experimentation and Serving layers wherever GPUs are involved.
From MLOps to AI Platform Engineering
Everything in the architecture diagram above is usually built and described tool-by-tool — but at an organization with more than one ML team, the same pieces get built once, centrally, and offered as a self-service platform the rest of the org builds on top of, rather than each team standing up its own MLflow instance and Kubernetes cluster from scratch. This is the shift from "MLOps" (the practices) to AI Platform Engineering (the org function that operationalizes them for everyone at once):
- Training platform: the pipeline orchestration + experiment tracking + GPU/distributed training layers, offered as a shared service — a data scientist submits a training job without personally provisioning GPUs, configuring FSDP, or standing up an MLflow server.
- Inference platform: the LLM inference engines through hosting & serving patterns layers, similarly centralized — teams deploy a model to a shared, already-optimized serving platform instead of each reinventing vLLM deployment and autoscaling from scratch.
- Experiment platform and evaluation platform: shared, centrally-maintained instances of experiment tracking and AI Evaluation tooling — the value of centralizing these specifically is comparability: experiments and evaluations run the same way, on the same infrastructure, are actually comparable across teams, where independently-run ad hoc evaluations often aren't.
- GPU orchestration: centralized scheduling and cost allocation of a shared GPU fleet across teams (see Kubernetes — GPU scheduling) — the platform team's job is making expensive, scarce GPU capacity fairly and efficiently shared, rather than every team over-provisioning its own idle capacity out of uncertainty about what it'll get.
- Developer platform: the actual interface (CLI, web UI, or both) a data scientist or ML engineer uses to interact with all of the above without needing to understand Kubernetes YAML or Terraform directly — the platform engineering team's product is this interface, not the underlying infrastructure itself; a platform nobody can use without platform-team hand-holding hasn't actually removed the toil it was built to remove.
- Governance: organization-wide policy enforcement — which models are approved for production use, which data classifications can feed which pipelines, who can approve a production deployment — layered on top of the technical CI/CD gates as an organizational control, not just a technical one.
- Lineage: being able to answer, for any production prediction, the full chain that produced it — which model version, trained on which data version, with which code version, deployed via which pipeline run — stitching together data versioning, experiment tracking, and the model registry into one traceable chain, essential for debugging, auditing, and legal/compliance requirements alike.
- Cost management: attributing GPU/compute/storage spend back to the teams and models actually generating it, and surfacing that cost before it becomes a surprise finance conversation — the platform-level view of the same problem individual teams face optimizing any single model's serving cost.
- Secrets and observability: covered in depth in Security & Reproducibility and Observability respectively — at the platform level, the difference is these become centrally-managed services every team consumes, rather than something each team configures independently (and inevitably configures inconsistently).
Kubeflow is a useful reference architecture for what "MLOps as a platform on Kubernetes" looks like assembled end to end — it bundles pipeline orchestration, training job management, and model serving into one Kubernetes-native platform, covering much of the training/inference/experiment platform scope above in a single open-source project, and is worth studying even for teams that ultimately assemble their own platform from separate pieces rather than adopting it wholesale.
The practical signal for when this shift matters: a single ML team building its own model doesn't need a "platform" — it needs the tools this section already covers. The platform-engineering framing earns its complexity specifically once multiple teams are duplicating the same infrastructure work independently, which is exactly when centralizing it starts paying for itself.
The Priority Stack
Don't learn 30 tools at once. This is the order that maximizes what you can actually build at each stage:
| Priority | Category | Learn first |
|---|---|---|
| 1 (essential) | Engineering foundations | Git, testing, clean code, config management |
| 1 (essential) | Data | SQL, Pandas, one versioning tool (DVC) |
| 1 (essential) | Experiment tracking | MLflow |
| 1 (essential) | Containers | Docker |
| 2 (core) | Serving | FastAPI + one dedicated tool (BentoML or TorchServe) |
| 2 (core) | Orchestration | Airflow |
| 2 (core) | CI/CD | GitHub Actions |
| 2 (core) | Cloud | One cloud, deeply (AWS) |
| 3 (scaling) | Kubernetes | Core objects, then Helm |
| 3 (scaling) | IaC | Terraform |
| 3 (scaling) | Monitoring | Prometheus + Grafana, then Evidently for drift |
| 4 (specialized) | LLM inference | vLLM first, then llama.cpp for local/edge |
| 4 (specialized) | RAGOps | Ragas + a vector database (see Databases) |
| 5 (advanced) | Distributed training | FSDP/DeepSpeed, multi-GPU parallelism |
| 5 (advanced) | Feature stores | Feast |
| 5 (advanced) | LLM optimization internals | Quantization, PagedAttention, speculative decoding |
An 8-Phase Learning Order
- Foundations: Python engineering practices, Git, Docker, SQL.
- Data: build one real, versioned data pipeline end to end.
- Experimentation: train a model with MLflow tracking every run.
- Serving v1: wrap that model in a FastAPI endpoint, containerize it.
- Automation: orchestrate the pipeline with Airflow, gate deployment with CI/CD.
- Scale: deploy to Kubernetes, add Terraform-managed infrastructure, add real monitoring and drift detection.
- LLM serving: stand up vLLM, understand the inference stack, build a RAG pipeline with evaluation.
- Production hardening: security review, reproducibility audit, blue-green/canary rollout for a real change.
Five Capstone Projects
- A production churn model: full pipeline from raw customer data → versioned dataset → tracked training runs → registered model → FastAPI serving → canary deployment → drift monitoring dashboard. Covers the classical-ML half of this section end to end.
- A self-retraining pipeline: an Airflow DAG that checks for drift on a schedule, retrains automatically when drift crosses a threshold, runs the new model through automated regression tests, and only promotes it on a pass — the CI/CD-for-ML loop, actually running.
- A Kubernetes-native serving platform: containerized model, deployed via Helm to a Kubernetes cluster provisioned with Terraform, autoscaling under load, with Prometheus/Grafana dashboards and alerting.
- A self-hosted LLM serving stack: deploy an open-weight model with vLLM, expose it through an OpenAI-compatible API behind a gateway, benchmark TTFT/TPOT/throughput at different batch sizes and quantization levels, and compare against a llama.cpp/GGUF deployment on CPU.
- A full LLM serving + RAG platform: fine-tune a small model's adapter with a LoRA framework, serve it with multi-LoRA support on vLLM alongside the base model, build a RAG pipeline with an embedding model + reranker, and monitor the whole thing with Ragas-based faithfulness scoring and RAG-specific retrieval metrics — the complete arc from Engineering Foundations to LLM Evaluation & RAGOps in one project.
See ML System Design for how to reason about designing a system like the above before building it, and Interview Prep for how this section maps onto MLOps/infra interview questions.