Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more detailed docs for ZenML Pro #3065

Merged
merged 120 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from 114 commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
b84d4ff
add roles page
wjayesh Oct 8, 2024
432104c
and org and tenants page draft
wjayesh Oct 8, 2024
e6bdec8
add hierarchy diagram
wjayesh Oct 8, 2024
fad12d2
add images to role page
wjayesh Oct 8, 2024
f361a42
update tenants page
wjayesh Oct 8, 2024
5d9cde6
add images to orgs
wjayesh Oct 8, 2024
71b129a
update images
wjayesh Oct 8, 2024
82785b3
rename file
wjayesh Oct 8, 2024
2b77d8d
Optimised images with calibre/image-actions
github-actions[bot] Oct 9, 2024
d14280d
Apply suggestions from code review
htahir1 Oct 14, 2024
264e56c
Merge remote-tracking branch 'origin/develop' into docs/zenml-pro-use…
htahir1 Oct 14, 2024
b43d84d
update with deployment changes
strickvl Oct 14, 2024
5a2a804
Optimised images with calibre/image-actions
github-actions[bot] Oct 14, 2024
5b26d52
Merge remote-tracking branch 'origin/develop' into docs/zenml-pro-use…
htahir1 Oct 15, 2024
574158c
TOC
htahir1 Oct 15, 2024
4ed1fb5
TOC
htahir1 Oct 15, 2024
ff2da1b
TOC
htahir1 Oct 15, 2024
8493446
TOC
htahir1 Oct 15, 2024
e758e0f
TOC
htahir1 Oct 15, 2024
12aceef
TOC
htahir1 Oct 15, 2024
09edd8a
Update deployment links to relative paths
htahir1 Oct 15, 2024
b40347d
Update deployment options in README.md
htahir1 Oct 15, 2024
53f0748
Update ZenML Pro README with new features
htahir1 Oct 15, 2024
36c5dd8
Update ZenML Pro hierarchy of concepts and TOC links
htahir1 Oct 16, 2024
6dd3b75
Add hierarchy of concepts in ZenML Pro to TOC
htahir1 Oct 16, 2024
f18aef1
Remove ZenML Pro deployment section from TOC- Reflects removal of Zen…
htahir1 Oct 16, 2024
87e0165
Update ZenML Pro features and fix README table
htahir1 Oct 16, 2024
d31d38e
Fix table formatting in ZenML Pro README
htahir1 Oct 16, 2024
59c5c23
Update organization details in ZenML Pro README
htahir1 Oct 16, 2024
9368c4a
Update ZenML Pro features in README.md
htahir1 Oct 16, 2024
f40ab83
Add table linking to pages for each concept in ZenML Pro
htahir1 Oct 16, 2024
2ff22e5
Update hierarchy of concepts in ZenML Pro documentation
htahir1 Oct 16, 2024
d01d016
Update organization and tenant creation instructions
htahir1 Oct 16, 2024
e48aaea
Update roles and permissions in ZenML Pro
htahir1 Oct 16, 2024
522323d
Update roles and teams order in toc.md
htahir1 Oct 16, 2024
7c8fc59
Add steps to create custom roles in roles.md
htahir1 Oct 16, 2024
edc40d2
Update user description for ZenML Pro instance
htahir1 Oct 16, 2024
9517615
Update roles link and title to "Roles & Permissions".
htahir1 Oct 16, 2024
5995fef
Restructure custom role creation in ZenML Pro dashboard
htahir1 Oct 16, 2024
0ee4a97
Update ZenML Pro links to README.md for consistency- Update ZenML Pro…
htahir1 Oct 16, 2024
40becb5
Add ZenML Pro API documentation to table of contents
htahir1 Oct 16, 2024
ee24a04
Add initial team management functionality
htahir1 Oct 16, 2024
6ccd346
Update ZenML Pro deployment scenarios and documentation
htahir1 Oct 16, 2024
c1d8c60
Optimised images with calibre/image-actions
github-actions[bot] Oct 16, 2024
6f3dc3a
Update ZenML Pro API authentication information
htahir1 Oct 16, 2024
2710709
Update ZenML Pro API authentication instructions and roles
htahir1 Oct 16, 2024
a10109d
Update ZenML Pro early-access features in README.md
htahir1 Oct 16, 2024
c535619
Add share dialog image and update roles.md
htahir1 Oct 16, 2024
e47d3ea
Optimised images with calibre/image-actions
github-actions[bot] Oct 16, 2024
97d3b3d
Update docs/book/getting-started/zenml-pro/README.md
htahir1 Oct 16, 2024
9d85bed
Update ZenML Pro README with enhanced features
htahir1 Oct 16, 2024
41725df
Merge branch 'docs/zenml-pro-user-mgmt' of github.com:zenml-io/zenml …
htahir1 Oct 16, 2024
f0e4807
Update docs/book/getting-started/zenml-pro/pro-api.md
htahir1 Oct 16, 2024
1baea13
Update docs/book/getting-started/zenml-pro/roles.md
htahir1 Oct 16, 2024
034bf46
Update docs/book/getting-started/zenml-pro/roles.md
htahir1 Oct 16, 2024
2aceffa
Update docs/book/getting-started/zenml-pro/roles.md
htahir1 Oct 16, 2024
6d927b8
Update docs/book/getting-started/zenml-pro/teams.md
htahir1 Oct 16, 2024
ba156a0
Merge branch 'docs/zenml-pro-user-mgmt' of github.com:zenml-io/zenml …
htahir1 Oct 16, 2024
b8d3b16
Update roles UI with new screenshots and instructions
htahir1 Oct 16, 2024
7098325
Merge remote-tracking branch 'origin/develop' into docs/zenml-pro-use…
htahir1 Oct 17, 2024
aeada49
Add core concepts diagram to core-concepts.md
htahir1 Oct 17, 2024
00e6685
Optimised images with calibre/image-actions
github-actions[bot] Oct 17, 2024
9594b8a
Update hierarchy of concepts.md with new template section
htahir1 Oct 17, 2024
e09ad70
Merge branch 'docs/zenml-pro-user-mgmt' of github.com:zenml-io/zenml …
htahir1 Oct 17, 2024
59ffbbb
Add ZenML Pro deployment architecture images
htahir1 Oct 17, 2024
8f1b095
Optimised images with calibre/image-actions
github-actions[bot] Oct 17, 2024
f4c80ee
Update ZenML Pro API reference link in table of contents
htahir1 Oct 17, 2024
e070d4d
Merge branch 'docs/zenml-pro-user-mgmt' of github.com:zenml-io/zenml …
htahir1 Oct 17, 2024
b8c5b3c
Update system architecture title in TOC to emoji
htahir1 Oct 17, 2024
41edbd8
Update deployment and secret management paths for ZenML Pro
htahir1 Oct 17, 2024
b7c37d4
Merge remote-tracking branch 'origin/develop' into docs/zenml-pro-use…
htahir1 Oct 17, 2024
bb4d9b0
Add system architectures to getting started section
htahir1 Oct 17, 2024
66896d4
Update system architecture title formatting in TOC
htahir1 Oct 17, 2024
9cba9fc
Update deployment architecture image links.- Shorten path for OSS sys…
htahir1 Oct 17, 2024
c439268
Add more details on deploying ZenML OSS components
htahir1 Oct 17, 2024
fb348cc
Update architecture description in system-architectures.md
htahir1 Oct 17, 2024
b6676e1
Add ZenML Pro components to deployment architecture
htahir1 Oct 17, 2024
4c19d9d
Update image path for ZenML OSS server deployment
htahir1 Oct 17, 2024
525cf89
Add detailed ZenML Pro self-hosted deployment architecture
htahir1 Oct 17, 2024
45517d5
Update deployment images in assets folder
htahir1 Oct 17, 2024
6bed168
Optimised images with calibre/image-actions
github-actions[bot] Oct 17, 2024
11a5a91
Update architecture diagram images with figure and captions
htahir1 Oct 17, 2024
2304814
Merge branch 'docs/zenml-pro-user-mgmt' of github.com:zenml-io/zenml …
htahir1 Oct 17, 2024
bf95814
Add new deployment images for OSS and Pro
htahir1 Oct 18, 2024
e33d2d4
Remove Zone.Identifier files for deployment images
htahir1 Oct 18, 2024
df9ec3b
Optimised images with calibre/image-actions
github-actions[bot] Oct 18, 2024
dd8e71e
Update ZenML OSS deployment components
htahir1 Oct 18, 2024
c1856de
Update ZenML OSS server deployment diagram imageand Pro deployment im…
htahir1 Oct 18, 2024
3bb2dfd
Optimised images with calibre/image-actions
github-actions[bot] Oct 18, 2024
4e77a6a
Update ZenML architecture documentation with deployment info
htahir1 Oct 18, 2024
a798d6a
Merge branch 'docs/zenml-pro-user-mgmt' of github.com:zenml-io/zenml …
htahir1 Oct 18, 2024
6fde6c0
Add organizing tenants by business logic and use-case
htahir1 Oct 18, 2024
68acefd
Optimised images with calibre/image-actions
github-actions[bot] Oct 18, 2024
8916d1d
Organize tenants by staging and production + business logic
htahir1 Oct 18, 2024
10dce39
Update ZenML Pro hierarchy of concepts to Core Concepts
htahir1 Oct 18, 2024
9e2979d
Update Pro-only features links in tenants.md
htahir1 Oct 18, 2024
da268bc
Update ZenML Pro core concepts link in TOC
htahir1 Oct 18, 2024
fe6241a
Merge remote-tracking branch 'origin/develop' into docs/zenml-pro-use…
htahir1 Oct 18, 2024
7ddee81
Merge remote-tracking branch 'origin/develop' into docs/zenml-pro-use…
htahir1 Oct 18, 2024
6d938e7
Update system architectures diagram in getting started guide
htahir1 Oct 18, 2024
fd9183a
Update SaaS deployment architecture diagrams
htahir1 Oct 18, 2024
81b4862
Update ZenML Pro description to include SaaS option
htahir1 Oct 18, 2024
b9c986d
Fix typo in system-architectures.md link
htahir1 Oct 18, 2024
45cd0cf
Optimised images with calibre/image-actions
github-actions[bot] Oct 18, 2024
3b7d5c2
Update Pro Metadata Store description in system architectures<commit …
htahir1 Oct 18, 2024
8ee1cd4
New image
htahir1 Oct 18, 2024
d18665f
Optimised images with calibre/image-actions
github-actions[bot] Oct 18, 2024
869949d
Merge branch 'docs/zenml-pro-user-mgmt' of github.com:zenml-io/zenml …
htahir1 Oct 18, 2024
defd1a7
Add System Architecture to TOC
htahir1 Oct 18, 2024
691777b
Optimised images with calibre/image-actions
github-actions[bot] Oct 18, 2024
f2df6d3
Merge remote-tracking branch 'origin/develop' into docs/zenml-pro-use…
htahir1 Oct 18, 2024
e3975d5
Update ZenML Pro deployment scenarios in documentation
htahir1 Oct 18, 2024
bd7bbc6
Delete SVG files and update tenant images to PNG format
htahir1 Oct 18, 2024
2a05773
Optimised images with calibre/image-actions
github-actions[bot] Oct 18, 2024
b5dd36f
add scarf
strickvl Oct 18, 2024
60e3cee
Apply suggestions from code review
htahir1 Oct 18, 2024
d3508ac
Update ZenML Pro API description in docs
htahir1 Oct 18, 2024
41627b0
Update tenant organization best practices text
htahir1 Oct 18, 2024
c48b135
Update docs/book/getting-started/zenml-pro/tenants.md
htahir1 Oct 18, 2024
e58141f
Remove Zone.Identifier file attribute from zenml_cloud.png
htahir1 Oct 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ redirects:
getting-started/deploying-zenml/manage-the-deployed-services/upgrade-the-version-of-the-zenml-server.md: how-to/manage-the-zenml-server/upgrade-zenml-server.md
getting-started/deploying-zenml/manage-the-deployed-services/troubleshoot-your-deployed-server.md: how-to/manage-the-zenml-server/troubleshoot-your-deployed-server.md
how-to/stack-deployment/implement-a-custom-integration.md: how-to/contribute-to-zenml/implement-a-custom-integration.md

getting-started/zenml-pro/system-architectures: getting-started/system-architectures.md
Binary file modified docs/book/.gitbook/assets/Scenario1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/book/.gitbook/assets/Scenario2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/book/.gitbook/assets/Scenario3.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/add_org_members.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/add_team_members.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/admin_role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/assign_permissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/book/.gitbook/assets/cloud_architecture_scenario_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/book/.gitbook/assets/cloud_architecture_scenario_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added docs/book/.gitbook/assets/cloudapi_swagger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/core_concepts_oss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/create_role_modal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/create_team.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/new_tenant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/new_tenant_modal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/org_hierarchy_pro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/book/.gitbook/assets/org_members.png
Binary file added docs/book/.gitbook/assets/org_settings.png
Binary file added docs/book/.gitbook/assets/role_page.png
Binary file added docs/book/.gitbook/assets/share_dialog.png
Binary file added docs/book/.gitbook/assets/swagger_docs_zenml.png
Binary file added docs/book/.gitbook/assets/team_roles.png
Binary file added docs/book/.gitbook/assets/tenant_onboarding.png
Binary file added docs/book/.gitbook/assets/tenant_roles_page.png
htahir1 marked this conversation as resolved.
Show resolved Hide resolved
Empty file.
4 changes: 3 additions & 1 deletion docs/book/getting-started/core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: Discovering the core concepts behind ZenML.

# 🪄 Core concepts

![A diagram of core concepts of ZenML OSS](../.gitbook/assets/core_concepts_oss.png)

**ZenML** is an extensible, open-source MLOps framework for creating portable, production-ready **MLOps pipelines**. It's built for data scientists, ML Engineers, and MLOps Developers to collaborate as they develop to production. In order to achieve this goal, ZenML introduces various concepts for different aspects of an ML workflow and we can categorize these concepts under three different threads:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:purple;"><strong>1. Development</strong></mark></td><td>As a developer, how do I design my machine learning workflows?</td><td></td><td><a href="core-concepts.md#1-development">#1-development</a></td></tr><tr><td><mark style="color:purple;"><strong>2. Execution</strong></mark></td><td>While executing, how do my workflows utilize the large landscape of MLOps tooling/infrastructure?</td><td></td><td><a href="core-concepts.md#2-execution">#2-execution</a></td></tr><tr><td><mark style="color:purple;"><strong>3. Management</strong></mark></td><td>How do I establish and maintain a production-grade and efficient solution?</td><td></td><td><a href="core-concepts.md#3-management">#3-management</a></td></tr></tbody></table>
Expand Down Expand Up @@ -133,7 +135,7 @@ To use _stack components_ that are running remotely on a cloud infrastructure, y

#### Server Deployment

In order to benefit from the advantages of using a deployed ZenML server, you can either choose to use the [**ZenML Pro SaaS offering**](zenml-pro/zenml-pro.md) which provides a control plane for you to create managed instances of ZenML servers, or [deploy it in your self-hosted environment](deploying-zenml/README.md).
In order to benefit from the advantages of using a deployed ZenML server, you can either choose to use the [**ZenML Pro SaaS offering**](zenml-pro/README.md) which provides a control plane for you to create managed instances of ZenML servers, or [deploy it in your self-hosted environment](deploying-zenml/README.md).

#### Metadata Tracking

Expand Down
73 changes: 60 additions & 13 deletions docs/book/getting-started/deploying-zenml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: Why do we need to deploy ZenML?

# 🤔 Deploying ZenML

![ZenML OSS server deployment architecture](../../.gitbook/assets/oss_simple_deployment.png)

Moving your ZenML Server to a production environment offers several benefits over staying local:

1. **Scalability**: Production environments are designed to handle large-scale workloads, allowing your models to process more data and deliver faster results.
Expand All @@ -12,19 +14,58 @@ Moving your ZenML Server to a production environment offers several benefits ove

Despite these advantages, transitioning to production can be challenging due to the complexities involved in setting up the needed infrastructure.

### ZenML Server
## Components

A ZenML deployment consists of multiple infrastructure components:

- [FastAPI server](https://github.com/zenml-io/zenml/tree/main/src/zenml/zen_server) backed with a SQLite or MySQL database
- [Python Client](https://github.com/zenml-io/zenml/tree/main/src/zenml)
- An [open-source companion ReactJS](https://github.com/zenml-io/zenml-dashboard) dashboard
- (Optional) [ZenML Pro API + Database + ZenML Pro dashboard](../system-architectures.md)

You can read more in-depth about the system architecture of ZenML [here](../system-architectures.md).
This docs page will focus on the components required to deploy ZenML OSS.
htahir1 marked this conversation as resolved.
Show resolved Hide resolved

<details>

<summary>Details on the ZenML Python Client</summary>

The ZenML client is a Python package that you can install on your machine. It
is used to interact with the ZenML server. You can install it using the `pip`
command as outlined [here](../installation.md).

This Python package gives you [the `zenml` command-line interface](https://sdkdocs.zenml.io/latest/cli/) which
you can use to interact with the ZenML server for common tasks like managing
stacks, setting up secrets, and so on. It also gives you the general framework that let's you
htahir1 marked this conversation as resolved.
Show resolved Hide resolved
[author and deploy pipelines](../../user-guide/starter-guide/README.md) and so forth.

When you first get started with ZenML, it relies with the following architecture on your machine.
If you want to have more fine-grained control and access to the metadata that
ZenML manages, you can use the Python SDK to access the API. This allows you to
create your own custom automations and scripts and is the most common way teams
access the metadata stored in the ZenML server. The full documentation for the
Python SDK can be found [here](https://sdkdocs.zenml.io/latest/). The full HTTP
[API documentation](../../reference/api-reference.md) can also be found by adding the
`/doc` suffix to the URL when accessing your deployed ZenML server.

</details>

### Deployment scenarios

When you first get started with ZenML, you have the following architecture on your machine.

![ZenML default local configuration](../../.gitbook/assets/Scenario1.png)

The SQLite database that you can see in this diagram is used to store information about pipelines, pipeline runs, stacks, and other configurations. Users can run the `zenml up` command to spin up a local REST server to serve the dashboard. The diagram for this looks as follows:
The SQLite database that you can see in this diagram is used to store
information about pipelines, pipeline runs, stacks, and other configurations.
This default setup allows you to get started and try out the core features but
you won't be able to use cloud-based components like serverless orchestrators
and so on.

![ZenML with a local REST Server](../../.gitbook/assets/Scenario2.png)
Users can run the `zenml up` command to spin up a local ZenML OSS server to serve the
dashboard. For the local OSS server option, the `zenml up` command implicitly
connects the client to the server. The diagram for this looks as follows:

{% hint style="info" %}
For the local REST server option, the `zenml up` command implicitly connects the client to the server.
{% endhint %}
![ZenML with a local ZenML OSS Server](../../.gitbook/assets/Scenario2.png)

{% hint style="warning" %}
Currently the ZenML server supports a legacy and a brand-new version of the dashboard. To use the legacy version simply use the
Expand All @@ -33,27 +74,33 @@ following command `zenml up --legacy`

In order to move into production, the ZenML server needs to be deployed somewhere centrally so that the different cloud stack components can read from and write to the server. Additionally, this also allows all your team members to connect to it and share stacks and pipelines.

![Deployed ZenML Server](../../.gitbook/assets/Scenario3.2.png)
![ZenML centrally deployed for multiple users](../../.gitbook/assets/Scenario3.2.png)

### Deploying a ZenML Server
You connect to your deployed ZenML server using the `zenml connect` command and
then you have the full benefits and power of ZenML. You can use all the
cloud-based components, your metadata will be stored and synchronized across all
the users of the server and you can leverage features like centralized logs
storage and pipeline artifact visualization.

## How to deploy ZenML

Deploying the ZenML Server is a crucial step towards transitioning to a production-grade environment for your machine learning projects. By setting up a deployed ZenML Server instance, you gain access to powerful features, allowing you to use stacks with remote components, centrally track progress, collaborate effectively, and achieve reproducible results.

Currently, there are two main options to access a deployed ZenML server:

1. **SaaS:** With [ZenML Pro](../zenml-pro/zenml-pro.md) offering you can utilize a control plane to create ZenML servers, also known as tenants. These tenants are managed and maintained by ZenML's dedicated team, alleviating the burden of server management from your end. Importantly, your data remains securely within your stack, and ZenML's role is primarily to handle tracking of metadata and server maintenance.
2. **Self-hosted Deployment:** Alternatively, you have the ability to deploy ZenML on your own self-hosted environment. This can be achieved through various methods, including using [Docker](../../component-guide/model-registries/model-registries.md), [Helm](deploy-with-helm.md), or [HuggingFace Spaces](deploy-using-huggingface-spaces.md). We also offer our Pro version for self-hosted deployments, so you can use our full paid feature-set while staying fully in control with an airgapped solution on your infrastructure.
1. **Managed deployment:** With [ZenML Pro](../zenml-pro/README.md) offering you can utilize a control plane to create ZenML servers, also known as [tenants](../zenml-pro/tenants.md). These tenants are managed and maintained by ZenML's dedicated team, alleviating the burden of server management from your end. Importantly, your data remains securely within your stack, and ZenML's role is primarily to handle tracking of metadata and server maintenance.
2. **Self-hosted Deployment:** Alternatively, you have the ability to deploy ZenML on your own self-hosted environment. This can be achieved through various methods, including using [Docker](./deploy-with-docker.md), [Helm](./deploy-with-helm.md), or [HuggingFace Spaces](./deploy-using-huggingface-spaces.md). We also offer our Pro version for self-hosted deployments, so you can use our full paid feature-set while staying fully in control with an air-gapped solution on your infrastructure.

{% hint style="warning" %}
Currently the ZenML server supports a legacy and a brand-new version of the dashboard. To use the legacy version which supports stack registration from the dashboard simply set the following environment variable in the deployment environment: `export ZEN_SERVER_USE_LEGACY_DASHBOARD=True`.
{% endhint %}

Both options offer distinct advantages, allowing you to choose the deployment approach that best aligns with your organization's needs and infrastructure preferences. Whichever path you select, ZenML facilitates a seamless and efficient way to take advantage of the ZenML Server and enhance your machine learning workflows for production-level success.

## How to deploy ZenML
### Options for deploying ZenML

Documentation for the various deployment strategies can be found in the following pages below (in our 'how-to' guides):

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden data-type="content-ref"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:purple;"><strong>Deploy with Docker</strong></mark></td><td>Deploying ZenML in a Docker container.</td><td></td><td></td><td><a href="deploy-with-docker.md">deploy-with-docker.md</a></td></tr><tr><td><mark style="color:purple;"><strong>Deploy with Helm</strong></mark></td><td>Deploying ZenML in a Kubernetes cluster with Helm.</td><td></td><td></td><td><a href="deploy-with-helm.md">deploy-with-helm.md</a></td></tr><tr><td><mark style="color:purple;"><strong>Deploy with HuggingFace Spaces</strong></mark></td><td>Deploying ZenML to Hugging Face Spaces.</td><td></td><td></td><td><a href="deploy-using-huggingface-spaces.md">deploy-with-hugging-face-spaces.md</a></td></tr></tbody></table>
<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden data-type="content-ref"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:purple;"><strong>Deploying ZenML using ZenML Pro</strong></mark></td><td>Deploying ZenML using ZenML Pro.</td><td></td><td></td><td><a href="../zenml-pro/README.md">deploy-with-zenml-cli.md</a></td></tr><tr><td><mark style="color:purple;"><strong>Deploy with Docker</strong></mark></td><td>Deploying ZenML in a Docker container.</td><td></td><td></td><td><a href="./deploy-with-docker.md">deploy-with-docker.md</a></td></tr><tr><td><mark style="color:purple;"><strong>Deploy with Helm</strong></mark></td><td>Deploying ZenML in a Kubernetes cluster with Helm.</td><td></td><td></td><td><a href="./deploy-with-helm.md">deploy-with-helm.md</a></td></tr><tr><td><mark style="color:purple;"><strong>Deploy with HuggingFace Spaces</strong></mark></td><td>Deploying ZenML to Hugging Face Spaces.</td><td></td><td></td><td><a href="./deploy-using-huggingface-spaces.md">deploy-with-hugging-face-spaces.md</a></td></tr></tbody></table>

<figure><img src="https://static.scarf.sh/a.png?x-pxid=f0b4f458-0a54-4fcd-aa95-d5ee424815bc" alt="ZenML Scarf"><figcaption></figcaption></figure>
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ This migration strategy is not necessary if the actual location of the secrets v
* updating the credentials used to authenticate with the Secrets Store back-end before or after they expire
* switching to a different authentication method to authenticate with the same Secrets Store back-end (e.g. switching from an IAM account secret key to an IAM role in the AWS Secrets Manager)

If you are a [ZenML Pro](https://zenml.io/pro) user, you can configure your cloud backend based on your [deployment scenario](../zenml-pro/system-architectures.md).
If you are a [ZenML Pro](https://zenml.io/pro) user, you can configure your cloud backend based on your [deployment scenario](../system-architectures.md).

<figure><img src="https://static.scarf.sh/a.png?x-pxid=f0b4f458-0a54-4fcd-aa95-d5ee424815bc" alt="ZenML Scarf"><figcaption></figcaption></figure>
Loading