Choose where to deploy
Run a model on mlflow, in your own cloud with a deployment kit, or download it as a file.
A trained model is only useful when something can call it. mlflow gives you three ways to put a model to work. You can run it on mlflow, run it in your own cloud or cluster with a deployment kit, or download it as a file and use it in your own code. All three start from the same place: a model candidate that finished training.
Three ways to ship a model
Deploy on mlflow. mlflow serves the model for you. You get a prediction endpoint, version history with rollback, a test panel, batch predictions and monitoring, with nothing to install. This is the fastest route and the one most teams start with. See Deploy and test a model.
Deploy anywhere with a deployment kit. mlflow generates a zip file for the platform you choose. It holds a small prediction service, a container definition and the files that platform needs. You build the image and run it in your own account, so the model and its input data never pass through mlflow. Choose this when data must stay inside your network, or when you already operate containers.
Download the model. You get the fitted model as a file (joblib, pickle or ONNX) or as a bundle with a script, pinned requirements and a README. Choose this when the model runs inside another application, a notebook or a batch job that you control. See Download the model.
Where to find them
All three live in one panel called Deploy & export. There are two ways to open it:
- On a run page, select Deploy best model. The panel opens for the best model of the run.
- On a model candidate page, open the Deploy & export tab.
If a run has several candidates, use the Model menu at the top of the panel to switch. The panel has three tabs:
| Tab | What it does |
|---|---|
| Download | Download the model as joblib, pickle, ONNX or a full bundle (zip). |
| Deploy anywhere | Deploy on mlflow, or download a deployment kit for Docker, AWS, Azure, Google Cloud or Kubernetes. |
| Monitor it | Register a model you run elsewhere so mlflow can show its predictions and drift. |
Which models can be exported
Only a candidate that trained successfully and has a stored model can be exported or deployed. Baseline models are reference points only, so the panel shows a message instead of the options. Anyone who can view the run can download from it. Registering a model for monitoring needs write access to the workspace.
Comparison
| Deploy on mlflow | Deployment kit | Download | |
|---|---|---|---|
| Who runs the model | mlflow | You | You |
| What you do | Choose a name and access mode | Build and run a container image | Load the file in your code |
| Predictions pass through mlflow | Yes | No | No |
| Versions, rollback and test panel | Yes | You manage them | You manage them |
| Monitoring in mlflow | Automatic | Register the deployment and send predictions | Not included |
| Authentication on the endpoint | API key, workspace session or public, your choice | None built in: put a gateway in front | Not applicable |
| Best for | Getting a model live quickly | Data that must stay in your cloud | Embedding a model in an application |
The deployment kit
A kit is generated for one model and one platform. Select Download kit on the card of the platform you want. The platforms are:
| Card | Runs on | Guide |
|---|---|---|
| Docker | Any machine that runs Docker | Deploy with Docker |
| AWS ECS | Amazon Elastic Container Service on Fargate | Deploy to AWS |
| AWS SageMaker | An Amazon SageMaker endpoint | Deploy to AWS |
| Azure Container Apps | Azure Container Apps | Deploy to Azure |
| Google Cloud Run | Google Cloud Run | Deploy to Google Cloud |
| Kubernetes | Any Kubernetes cluster | Deploy to Kubernetes |
Select How to deploy on a card for three short steps. The zip also contains a README.md with the exact commands for your model, so you can follow it without returning to this page.
Every kit contains the same core files: the fitted model, a FastAPI prediction service (app.py), a Dockerfile, pinned requirements.txt, the expected input columns and one sample request. Only the files under deploy/ change from one platform to the next. The kit also includes the portable bundle, so the model can run without the service.
The prediction service has no authentication
A kit's service does not check who is calling and does not use TLS. Never expose it directly to the internet. Put it behind a load balancer, API gateway or private network that authenticates callers. The manifests in the kit default to private exposure wherever the platform allows it. Only load models and kits that you trust: the model file is a Python pickle, and loading it runs code.
Monitoring models deployed elsewhere
A model you run in your own cloud can still report to mlflow. Open the Monitor it tab, choose a name and a Platform, and select Register deployment. mlflow shows an Ingestion key, a Monitor URL, ready-made Environment variables and a Python snippet. The key is shown once, so copy it before you leave the panel.
When the service in your kit has both the monitor URL and the key set, it sends each prediction to mlflow in the background. If mlflow cannot be reached, predictions still work and the records are dropped. After that, the model's prediction volume and drift appear in mlflow next to your other deployments. For the full procedure, read Monitor models deployed elsewhere.
Next steps
Learn the theory
Lessons on learning.mlflow.es that explain the ideas behind this page.
Updated 2026-11-22