Deployments overview
Turn your work into apps, APIs, scheduled jobs and reports.
When your analysis or model is ready, Zerve can turn it into something other people and systems can use.
Deploying from a notebook
In the notebook view, open Deploy and choose a deployment type:
Web Applications
Streamlit, Gradio or Dash
API Services
FastAPI or Flask
Custom Deployment
Custom: bring your own code and run command
Your deployment's code can use variables from your notebook:
from zerve import variable
employees = variable("employee_data", "employees")The first argument is the block's name, and the second is the variable's name. So when you retrain a model in the notebook, a redeployed app or API uses the new version.
Deployment settings
DNS name
The name in the deployment's web address. Zerve shows the full address as you type.
Instance type
The size of the machine it runs on (see below)
Environment
The environment it runs in. Each framework has a default environment, or choose one of your project's environments to add packages.
Run command
For custom deployments, the command that starts your app, such as uvicorn main:app --host 0.0.0.0 --port 80
Instance types
Active deployments use credits while they run.
Small
1
8 GB
1.12
Medium
2
16 GB
2.1
Large
4
30 GB
3.83
X-Large
8
60 GB
7.68
XX-Large
16
120 GB
15.48
On the Free plan, choosing an instance type requires upgrading. If your organization runs Zerve in its own cloud, deployments run on your infrastructure, which usually uses fewer credits.
Previewing before you deploy
Start a preview deployment to test your app or API before deploying it. The preview has three tabs:
Web Preview
Trying your app
HTTP Playground
Sending test requests to your API
Logs
Debugging
Deployment progress
Initializing
The deployment has been requested
Building
Zerve is building its image
Deploying
Zerve is starting it
Active
It's running
Error
It failed. Check the logs.
Stopping deployment
It's being shut down
Building and deploying usually take a few minutes.
Deployments and the agent
Zerve's agents can deploy apps and APIs for you. They ask before starting, updating or stopping a deployment, unless you've turned that off. See Agent approvals and governance.
Finding your deployments
Select Deployments in the Workspace sidebar to see all your deployments.
Last updated
Was this helpful?
