
Collaboration with ZenML Overview
Deploying with the CLI
The easiest and fastest way to get running on the cloud is by using thedeploy CLI command. It currently only supports deploying to Kubernetes on managed cloud services.
Before we begin, it will help to understand the architecture around the ZenML server and the database that it uses. Here is an illustration:

ZenML with remote server and DB
- Creating it manually using the documentation for your cloud provider. For convenience, here are links for AWS, Azure and GCP.
- Using stack recipes that set up a cluster along with other tools that you might need in your cloud stack like artifact stores, and secret managers. Take a look at all available stack recipes to see if there’s something that works for you.
Once you have created your cluster, make sure that you configure your
kubectl client to talk to
it. If you have used stack recipes, this step is already done for you!
To be able to run the deploy command, you should have your cloud provider’s
CLI configured locally with permissions to create resources like MySQL
databases and networks.
zenml deploy command, then read option 2 here.
If you have trouble with the
zenml deploy command and are stuck at this
point, please join our Slack community and
send a message to the #general channel. The community is more than willing to
help out.- A
URL(e.g.https://acaaf63af2074as394ab675ee71d85a-1399000d0.us-east-1.elb.amazonaws.com). Visiting this URL on the browser will show you the same ZenML dashboard that you have seen locally, this time over the web. The ZenML Server and the Dashboard are deployed in the same web application and served at this URL. You can use login with your credentials (usernameandpassword) to view the dashboard.
If certificates have not been provisioned properly with the deployment, your
browser might ask you to press a button to allow you to see the dashboard. It
is important that you give permission in such a scenario, otherwise it will
render ZenML unusable from the browser.
- A
username: This can be configured but isdefaultby default. - A
password: This can be configured but is empty by default. - (Optionally) A
TLS certificatethat you can use to connect securely to the deployment (see below).

Login Page
Connecting to a deployed ZenML Server
Once ZenML is deployed, one or multiple users can connect to with thezenml connect command. If no arguments are supplied, ZenML will attempt to connect to the last ZenML server deployed from the local host using the zenml deploy command: