Module 3 · Ship it and run it · Lesson 9
Deployment and rollout
An inference container is slow to start and expensive to idle, so deployment is about cached weights, warm-up, a health check that means "ready", an autoscaling policy chosen from the traffic shape, and a rollout you can judge with your evals and reverse in one command.
By the end of this lesson you can
- Package the server as a container with cached weights and a pinned revision, and explain every flag
- Wire readiness and liveness on /health, warm the model before it takes traffic, and handle the 503-while-starting pattern
- Choose an autoscaling policy from the traffic shape and the cold-start cost, with the arithmetic to defend it
- Roll out a new adapter or build with shadow traffic and a canary judged by the eval suite, and roll back in one step
- Place Modal-style serverless, Docker Compose and the Kubernetes options on one map and pick the one the load needs
