MLflow multi tenant: workspaces and team isolation

Whether one self-hosted MLflow server can serve several teams, what workspaces scope, what they do not isolate, and when to run separate deployments instead.

On this page

Can one MLflow server serve several teams with multi tenant workspaces?

MLflow workspaces let several teams share one self-hosted MLflow server. They are built into the open-source tracking server, but they are disabled by default and provide logical separation only, so strict data-plane or compliance isolation calls for independent deployments. Each workspace keeps its own experiments, registered models, prompts, AI Gateway resources and evaluation datasets, which suits teams that need separate working spaces on shared infrastructure. Enable them with --enable-workspaces on the server command or with MLFLOW_ENABLE_WORKSPACES=1 in the environment. Workspaces also require a SQL database backend, so confirm your backend choice before you enable them, because the platform layout is hard to change later.

Authentication decides whether the separation means anything to users. With authentication on, workspace-level READ, USE and MANAGE permissions apply, so the first build task is a permission model that answers who can read a workspace, who can run work in it and who can administer it. Basic HTTP auth applies only to a remote tracking server. It is enabled by installing mlflow[auth] and selecting the basic-auth app name, and it stores users and permissions in the database set by database_uri in basic_auth.ini or at the path in MLFLOW_AUTH_CONFIG_PATH. If you turn workspaces on for an existing basic-auth instance, set grant_default_workspace_access to true, or non-admin users lose access to the default workspace. Check the workspaces documentation for the exact permission names in your version before you write the policy.

The rest is organizational, and it is yours to decide. Map each team to one workspace and name an owner for each, then confirm which permission lets that owner grant READ or USE access. Decide early what the default workspace holds, since it cannot be deleted or renamed. Plan the layout before teams load data, since a workspace cannot be disabled once non-default workspaces hold resources. SSO is a separate build: the docs describe the community mlflow-oidc-auth plugin or a reverse proxy such as oauth2-proxy, and you should confirm how either maps identity-provider groups onto workspace permissions before promising teams automatic access. Finally, confirm whether artifact paths and backups are separated per workspace, and do not assume that metadata separation covers the artifact store.

Which multi-tenancy controls MLflow ships with

This table compares the multi-tenancy controls MLflow ships with against the parts you must supply yourself, such as external identity and separate deployments. Read the status column first: built in items come from MLflow itself, while outside components and missing items become your design work. The main takeaway is that workspaces separate teams logically on one server, but they are not a substitute for independent deployments when strict data isolation is required.

CapabilityStatusWhat it means in practice
Workspaces as shared-server containersBuilt in, disabled by defaultTurn on with --enable-workspaces or MLFLOW_ENABLE_WORKSPACES=1. Each workspace keeps its own experiments, registered models, prompts and datasets.
SQL database backend requirementBuilt in, but you provide the databaseWorkspaces require a SQL database backend, so plan for a database you operate. Confirm which backend options your version supports.
Workspace-level READ, USE and MANAGE permissionsBuilt in with authentication on, through basic authApplies once authentication is on. Existing basic-auth servers need grant_default_workspace_access set to true or non-admin users lose the default workspace.
External identity mapping to workspace rolesNeeds an outside componentBasic auth stores users locally. Plan a community OIDC plugin or a reverse proxy, and confirm how group claims map to workspace roles.
Hard data-plane isolationNot providedWorkspaces offer logical separation only. For strict data-plane or compliance isolation, run independent deployments.
Default workspace protectionBuilt inThe default workspace cannot be deleted or renamed. Plan naming and access for it before rollout.
Disabling workspaces after resources existNot possible after resources existWorkspaces cannot be disabled after non-default workspaces hold resources. Decide on enablement before teams start logging.

How MLflow workspaces scope teams on one tracking server

Workspaces are namespaces inside one MLflow deployment, so several teams can share a single tracking server while keeping their work separated. The tracking server is a FastAPI application that hosts the UI and REST APIs. Run and trace metadata sits in a backend store reached through SQLAlchemy, and the architecture documentation lists PostgreSQL, MySQL, SQLite and MSSQL as supported databases. Large files such as model weights go to an artifact store, which the documentation suggests placing in object storage such as Amazon S3. Workspaces are off by default. You turn them on with --enable-workspaces or MLFLOW_ENABLE_WORKSPACES=1, and they require a SQL database backend, so confirm your database choice before you plan the rollout.

Each workspace keeps its own experiments, registered models, prompts, AI Gateway resources and evaluation datasets. Before anyone starts logging runs, map those object types to your team structure and decide which team owns each workspace. When authentication is on, workspace-level READ, USE and MANAGE permissions apply, so the access model follows the workspace boundary. If you are upgrading an existing basic-auth instance, check that grant_default_workspace_access is set to true, or non-admin users lose access to the default workspace. The default workspace cannot be deleted or renamed, and workspaces cannot be disabled once non-default workspaces hold resources, so treat enabling them as a decision that is hard to reverse on that server.

Workspaces provide logical separation, and they do not provide hard isolation. The MLflow documentation says that for strict data-plane or compliance isolation, you should run independent deployments. Inside a shared deployment, the tracking server process, the database and the artifact store remain shared infrastructure. Map your requirement to specific controls: whether policy requires separate databases, separate storage buckets, separate encryption keys or per-team audit logs, and whether a workspace boundary satisfies each one. Where the answer is no, the practical options are one deployment per team or per regulated group. Read the MLflow workspaces documentation and confirm each behavior against the MLflow version you plan to deploy before your security review signs off.

Shared server or separate deployments: the decision path

The decision starts with each team's data sensitivity and whether the teams sit inside one trust and compliance boundary. If they do not, run independent deployments, one per team or data domain. If they do, check two prerequisites: a SQL database backend and authentication. Only when both are in place can teams use workspaces on one authenticated server. Workspaces keep experiments, registered models and other resources separate per team, but they provide logical separation rather than hard isolation. Confirm with your compliance reviewer that this level of separation is acceptable before you choose them.

Decision path from team data sensitivity to workspaces or separate deployments.

Design decisions before enabling workspaces

Workspaces let several teams share one MLflow server, but the choices below decide how far that sharing reaches. Settle each one before you enable --enable-workspaces on a production server, because some cannot be undone once teams hold resources.

Choose the tenant boundary

Decide whether a workspace stands for a team, a business unit or a data classification level, since each workspace keeps its own experiments, registered models, prompts, AI Gateway resources and evaluation datasets. Workspaces provide logical separation only, and MLflow's documentation points to independent deployments for strict data-plane or compliance isolation. Check that line for each dataset class before creating the first workspace.

Workspaces docs

Map identities to permissions

Workspace access uses READ, USE and MANAGE levels, and they apply only when authentication is on, so decide which users or groups get each level in each workspace before onboarding. Basic auth stores users and permissions in its own database, so joiner and leaver changes must be managed there. Ask your identity team whether your SSO route can pass group membership into MLflow before you design the mapping.

Basic HTTP auth docs

Lay out database and artifact stores

Workspaces need a SQL database backend, and run metadata and artifacts sit in separate stores that you must lay out for each team. Workspace permissions govern only requests that pass through the tracking server, so anyone holding direct database or bucket credentials can read another team's runs. Limit those credentials to the server's service account, and confirm whether artifact locations can differ per workspace in your MLflow version.

Architecture overview

Set default workspace access

Every server has a default workspace that cannot be deleted or renamed, so it will always exist and always need an access decision. Existing basic-auth instances must set grant_default_workspace_access to true, or non-admin users lose access to the default workspace when you enable workspaces. Set it in your basic_auth.ini file, then test with a non-admin account before any team relies on the server.

Control the network boundary

Authentication applies only to a remote tracking server, so the network path to that server decides who can reach the login page at all. Put the server behind a reverse proxy such as oauth2-proxy and block direct access to it. Allowed-hosts and CORS flags work only with the default uvicorn server, so confirm the production server type before you rely on them.

SSO docs

Decide workspace creation ownership

Decide who may create workspaces and who may disable them, and record that owner before the first team asks for one. Workspaces cannot be disabled once non-default workspaces hold resources, so a casual creation can become a permanent part of the server. Confirm which accounts can create workspaces in your MLflow version, and tie each workspace to a named owner.

How the multi-tenancy answer changes by situation

A single team that expects to add teams later can usually start on one shared server and enable workspaces when the second team arrives, provided the tracking backend is a SQL database. The decision is mostly about naming and permissions rather than infrastructure. Workspaces are disabled by default, so turning them on is a deliberate configuration step, and the team should decide early which experiments belong in the default workspace.

  • Confirm the SQL backend: Workspaces require a SQL database backend, so a server that stores metadata another way needs that change first.
  • Turn on workspaces on purpose: Enable the feature through the documented flag or the MLFLOW_ENABLE_WORKSPACES setting, and record who approved the change.
  • Plan the default workspace: It cannot be deleted or renamed, so decide what stays there before teams start working.
  • Treat enablement as a commitment: Workspaces cannot be disabled once non-default workspaces hold resources.
  • Set permissions before inviting teams: With authentication on, READ, USE and MANAGE permissions apply at the workspace level.

Before inviting the second team, check the workspace list, the contents of the default workspace and the permission grants on a test server.

Gaps workspaces leave for a multi-team deployment

Workspaces separate teams' resources on one MLflow server, but they leave gaps that decide whether security and compliance teams will accept a shared deployment. Each card below names a gap, the risk it creates and the usual way to cover it. Check them before you enable workspaces, because some of them cannot be undone later.

No hard data-plane isolation

Workspaces keep experiments, registered models, prompts, AI Gateway resources and evaluation datasets apart by name, but every team still shares one tracking server, one backend database and one artifact store. MLflow's workspace documentation says that for strict data-plane or compliance isolation you should run independent deployments. The usual cover is one deployment per regulatory boundary, each with its own database and artifact bucket. Ask your compliance team which boundaries apply before you size the shared server.

Tenant model is hard to reverse

Enabling workspaces requires a SQL database backend, and the default workspace cannot be deleted or renamed. Once non-default workspaces hold resources, workspaces cannot be disabled, so a weak naming scheme or an unclear ownership model stays in place. The usual cover is to write the tenant model first: list the teams, decide whether each gets one workspace or one per product, name the administrator for each, and rehearse the setup on a non-production server. Agree the naming rules with your platform team before anyone creates a resource.

Workspace docs

Default workspace access after upgrade

An existing basic-auth instance that upgrades can cut non-admin users off from the default workspace. The setting that prevents this is grant_default_workspace_access, which must be set to true on those instances. Verify before cutover: sign in as a non-admin user on a staging copy and confirm that user can still reach the default workspace before you switch production traffic. The usual cover is to make this a written release check, signed off by the person who approves the upgrade.

Basic auth docs

External identity handled outside

Workspaces do not sign people in. Basic auth keeps users and permissions in a database, and single sign-on comes from a component outside MLflow: either the community-maintained mlflow-oidc-auth plugin or a reverse proxy such as oauth2-proxy in front of the tracking server. The usual cover is to choose one sign-in route and document which component owns it. Test that a user removed in your identity provider loses access to every workspace. The sibling pages on SSO and RBAC cover the options in detail.

SSO docs

Audit trails and quotas

Per-workspace audit trails and per-workspace quotas are not described as part of workspaces. Without audit trails, a team may be unable to show who changed a model in its workspace, and without quotas, one busy team can draw on capacity the others share. Confirm both with the vendor or the open-source maintainers before you rely on either one. The usual cover is to build around the gap: record access at the reverse proxy or database layer, and set resource limits on the infrastructure that runs the server.

Order of work to run several teams on one MLflow server

This sequence takes one self-hosted MLflow tracking server from a single shared instance to team workspaces with their own permissions. Each step ends with a check to pass before moving on, because the default workspace and the database choice are difficult to reverse once data exists. The output is a tested server where each team works only inside its own workspace, within the logical separation MLflow provides.

  1. Define the tenant boundary and data classification

    The security lead, data owners and platform team agree which teams share the server and which data each team may hold, grouped by sensitivity. Record any regulatory or contractual reason a team must stay apart. MLflow workspaces provide logical separation, and the MLflow workspaces documentation advises independent deployments for strict data-plane or compliance isolation. Move on only when the boundary and classification are signed off and any team needing hard isolation has its own deployment plan.

  2. Confirm the SQL backend and shared sizing

    The platform team confirms the tracking server uses a SQL database backend, which workspaces require, and does not stay on the default SQLite setup. The self-hosting documentation suggests PostgreSQL for scaling up, so ask the database owner to confirm the chosen engine, its capacity and its backup and restore process for the expected number of teams. Confirm the artifact store, usually object storage, is reachable and sized for several teams' model files. Move on only when the database owner has written sizing figures and a restore test has succeeded.

  3. Enable authentication before creating workspaces

    The platform team turns on authentication for the remote tracking server before any workspace exists. Basic HTTP auth applies only to a remote tracking server and keeps users and permissions in a configured database, while SSO uses either a community OIDC plugin or a reverse proxy in front of the server. Confirm that every user signs in with an individual identity, that unauthenticated requests are refused and that admin credentials are held only by the platform team. Move on only when a test user without credentials is refused and an admin can sign in.

  4. Handle the default workspace on upgraded instances

    If this server was upgraded from an existing basic-auth instance, the platform team must decide how current non-admin users keep access to the default workspace. The workspaces documentation says that without the grant_default_workspace_access setting enabled, non-admin users lose access to the default workspace, so confirm who should keep access before enabling it. The default workspace cannot be deleted or renamed, so plan how it will be used by the teams. Move on only when a non-admin user from before the upgrade can reach what they should and nothing more.

  5. Create workspaces per team and assign permissions

    The platform team creates one workspace per team, using the names agreed in the first step, and assigns READ, USE and MANAGE permissions only to that team's members. Keep the admin group small and review who holds MANAGE, checking the current documentation for what each level allows. Workspaces cannot be disabled once non-default workspaces hold resources, so confirm names and ownership before any team logs experiments. Move on only when each team lead confirms their members see the right workspace and the permission list matches the approved access matrix.

  6. Test isolation from each team's perspective

    A test user from each team signs in and checks that they can log experiments, registered models and prompts in their own workspace. Each user then confirms they cannot list, read or write in another team's workspace, and that the default workspace is reachable only where it should be. Repeat the checks with a user from a second team and with an account that holds no workspace grants. The security or compliance reviewer records the results and reruns the tests after any permission change. Close the work only when every test returns the expected result and the record is filed with the change request.

What a security reviewer asks to see for workspace isolation

This table lists the evidence a security reviewer usually requests before accepting a shared MLflow server with workspaces, and where each item lives. Read each row as a request you can answer from server configuration, the auth database, or a test report. The main takeaway is that workspace isolation can be demonstrated, but the documentation places strict isolation in independent deployments, so the reviewer's scope decides the architecture.

Evidence requestWhere it livesWhat it proves
Workspace enablement settingServer launch configuration: the --enable-workspaces flag or MLFLOW_ENABLE_WORKSPACES=1 in the service definitionWorkspaces are turned on explicitly for this server, and the setting is versioned with the deployment
Authentication configuration and admin accountsThe basic_auth.ini file or the path in MLFLOW_AUTH_CONFIG_PATH, plus the auth database named by database_uriEvery request is authenticated, and the list of admin accounts is short and named
Permission assignments per workspace (READ, USE, MANAGE)Auth database tables, exported through an admin query or listing; confirm the export method against the MLflow docs for your versionWhich users or groups hold READ, USE or MANAGE in each workspace, and that no team holds blanket access
Default workspace configuration after upgradeThe grant_default_workspace_access setting in the auth configuration, checked against the auth databaseWhether existing non-admin users kept access to the default workspace, and whether that access was a deliberate decision
Backend database and artifact store access controlsDatabase role grants and bucket policies in your cloud account or storage systemOnly the tracking server identity can reach run metadata and artifacts, and teams have no direct read path to either
Cross-team access test results, with retestA test report from a tester holding credentials for two teams, with the retest record after each fixTeam A cannot read, log to or register models in Team B's workspace, and the fixes still hold on retest
Documented isolation statementThe MLflow workspaces documentation and your architecture decision record for this serverThe vendor describes workspaces as logical separation and advises independent deployments for strict data-plane or compliance isolation

Questions buyers ask before approving multi-team MLflow

Do MLflow workspaces meet a strict isolation requirement?

No. The MLflow workspaces documentation describes workspaces as logical separation, and it advises independent deployments for strict data-plane or compliance isolation. Workspaces scope experiments, registered models, prompts, AI Gateway resources and evaluation datasets to each team. With authentication on, workspace-level READ, USE and MANAGE permissions apply. That is a sound fit for teams that share one trust boundary. If a policy requires a team's data to sit on separate infrastructure, plan one deployment per boundary. Ask your security and compliance reviewers to define the boundary before the server design is fixed, because that decision changes the number of servers, databases and storage buckets you run.

What drives the cost and effort of a multi-team MLflow setup?

Four factors drive most of the cost: the number of teams, the identity integration, the database and storage design, and the test scope. Each team adds a workspace to define, permissions to map to groups and roles, and access paths to verify. Identity is often the largest unknown. The MLflow self-hosting documentation covers built-in basic auth with users kept in a database, a community OIDC plugin, and a reverse proxy in front of the tracking server, and each route has different operating consequences. Database and storage design affects backup, restore and sizing. Test scope decides whether you check only isolation between two teams or also upgrades, failure recovery and audit trails. Ask for a quote that lists each driver as a separate line with its assumptions. DeployOpen does not publish a price list. A quote follows from the written scope.

Which parts of a multi-team MLflow setup are one-time and which recur?

The initial design and build are one-time work. That covers the workspace layout, the identity mapping, the database and artifact store setup, deployment automation, and the first round of verification. Ongoing work recurs. MLflow publishes minor releases roughly monthly, and the GitHub releases page listed 3.18.0 as the latest as of December 2026, so upgrades need planning and testing each cycle. Access reviews recur as people change teams, and backup and restore tests recur on a schedule you set. Some decisions are hard to reverse. The default workspace cannot be deleted or renamed, and workspaces cannot be disabled once non-default workspaces hold resources, so settle the layout before teams start writing data. DeployOpen offers ongoing support, upgrades and continuous testing as retainers.

What must we provide for a self-hosted multi-team MLflow server?

Before work starts, the buyer usually provides four inputs:

  • A SQL database for the backend store. The architecture documentation lists PostgreSQL, MySQL, SQLite and MSSQL, and the workspaces feature requires a SQL database backend.
  • Object storage for the artifact store, such as Amazon S3 or a compatible service inside your infrastructure, for model weights and other large files.
  • An identity provider with its group structure and named administrators, if you use SSO through a community plugin or a reverse proxy.
  • Network paths, including ingress, TLS certificates, and routes from users and CI runners to the tracking server, plus access from the server to the database and storage.

You also provide the hosts or cluster that run the server and a named owner for each team's workspace. Confirm each item with your platform team, because your environment sets the details.

Can our own team set up multi-team MLflow without a partner?

Yes, if the team has the skills. MLflow is licensed under Apache 2.0, and its self-hosting and security documentation covers the server, database, storage and authentication options. The skills needed are running a Python service backed by a SQL database, managing object storage, configuring a reverse proxy or identity plugin, and operating Docker or Kubernetes if you use those routes. Your team will own the design decisions: whether workspaces fit your boundaries, which authentication route to use, and how upgrades are tested. A partner adds the most value when those decisions need outside review or when the team lacks capacity. Many organizations split the work, with their own team building and a partner reviewing the design. DeployOpen plans and implements self-hosted platforms in your infrastructure, and most engagements are fixed-scope and agreed in writing.

How is the timing for a multi-team MLflow engagement set?

Timing is set in a fixed-scope plan agreed in writing before work starts. Most DeployOpen engagements are fixed-scope, so the scope, deliverables and timeline are written down before the work begins. The schedule follows from the number of teams, the identity route, the database and storage design, and the test scope. This page does not give a duration, so treat any figure you hear without a written scope as an estimate to test. Ask for a plan that lists milestones, the buyer inputs each milestone needs, and the acceptance checks for isolation between workspaces. Also ask how upgrade windows and access reviews fit into the calendar, since MLflow minor releases arrive roughly monthly and each one needs a test pass.

How DeployOpen scopes and builds a multi-team MLflow server

DeployOpen treats MLflow multi tenant: workspaces and team isolation as a design decision before it is a configuration step. We start by confirming whether shared workspaces meet your isolation requirements, then build the server inside your infrastructure with a SQL backend, authentication and documented access levels. Each engagement is fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope names each team's workspace and the experiments, models, prompts and datasets it holds.
  • Scope records your isolation requirement, since the docs advise separate deployments for strict data-plane or compliance isolation.
  • Fixed-scope terms cover the deliverables and timelines, agreed in writing before any build work begins.

How we build

  • Workspaces stay disabled by default, so we enable them explicitly with --enable-workspaces or MLFLOW_ENABLE_WORKSPACES=1.
  • Authentication enables READ, USE and MANAGE workspace permissions, with SSO through a reverse proxy or the community OIDC plugin.
  • The backend uses PostgreSQL, the docs' suggested choice for scaling, with artifacts in object storage such as S3.

How we hand over

  • Handover covers the access model, including default workspace access on upgraded basic-auth instances.
  • Runbooks document the workspace lifecycle, including that the default workspace cannot be deleted or renamed.
  • Operators receive a written note that workspaces cannot be disabled once non-default workspaces hold resources.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering updates across MLflow's minor releases.
  • Retesting after changes to workspace permissions, authentication and upgrades keeps access boundaries verified.
  • Documentation of the deployment, backups of the SQL database and artifact store, and upgrade notes for each release.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.