One Langfuse deployment or several: projects, environments and isolation

Most teams can start with one self-hosted Langfuse instance using organizations and projects, and split into separate deployments only when a specific regulatory, regional or tenant boundary requires it.

On this page

Do you need one self-hosted Langfuse or several?

For most teams, one self-hosted Langfuse instance is enough, and the isolation you need comes from organizations and projects inside it. The MIT-licensed core includes organizations and projects, and self-hosted deployments run the same codebase as Langfuse Cloud, so separating teams by project does not require a second deployment. Project-level RBAC roles, however, are a self-hosted feature that needs an Enterprise license key, so confirm that before you design around per-project access control. Check the current scope of each feature against the Langfuse license key documentation, since the feature list is maintained by the vendor.

Separate deployments are usually the answer when isolation has to be enforced at the infrastructure level rather than in the application. The common cases are data residency rules that require traces to stay in a specific region or country, regulatory boundaries that require different controls or audit evidence for different business lines, customers or tenants whose trace data must never share a ClickHouse or PostgreSQL store with anyone else, and environments with different change-control regimes, such as production and regulated workloads. A single deployment also shares its ClickHouse cluster, worker capacity and upgrade schedule, so one team's ingestion spike or migration window affects everyone on that instance.

Each extra deployment is an extra full stack to run: a web and worker pair, PostgreSQL, ClickHouse, Redis or Valkey and blob storage, plus its own SSO configuration, backups, monitoring, upgrades and license decisions. Ask your provider for the cost of each stack, what is one-time (design, provisioning, SSO and backup setup) and what recurs (upgrades, patching, capacity and on-call), and whether an Enterprise license is needed per instance. Document the decision with your compliance team before you commit, because splitting later means migrating trace history between instances.

Which requirements push you toward separate deployments

Most teams start with one Langfuse instance and separate work with organizations, projects and roles. The cards below cover the requirements that can change that answer, and for each one, what projects and RBAC can handle and what would make a separate deployment necessary.

Data residency and regional storage

Residency rules can require that trace data, prompts and exports stay in a named region or country. Projects do not change where data is stored, because all projects in one instance share the same ClickHouse, PostgreSQL and blob storage. If a regulator or customer contract names a location, a separate deployment in that region is usually the only way to meet it. Check where each store runs, where backups go, and where support staff can view data.

Self-hosting docs

Regulatory separation between business units

When two business units cannot share records under internal policy or regulation, a shared instance makes separation a matter of access control alone. Projects and organization roles can restrict who sees which traces, but every instance administrator can reach all stored data. Ask whether the rule requires separate storage, separate administrators or only separate viewing rights, because the answer decides between projects and deployments.

Customer tenant isolation for vendors

If you run Langfuse for your own customers, a shared instance means one customer's traces sit beside another's in the same databases. Some contracts require per-tenant storage, encryption keys or deletion evidence that a project boundary cannot provide. Separate deployments per tenant or tenant group increase the number of upgrades and backups you run, so price that operating load before you commit.

Dev, staging and production separation

Projects can separate development and production traces inside one instance, which is often enough for observability. Separate deployments become necessary when a staging environment must test a new Langfuse version, a schema change or a restore before production sees it. Confirm whether the risk you are managing is data mixing, a bad release, or a failed migration, since each one points to a different fix.

Independent upgrade windows

A shared instance upgrades for every team at once. Within a major version, Langfuse applies database migrations automatically at startup, and major upgrades change infrastructure and data models, so a business unit that cannot accept downtime on the same day as others may need its own instance. Ask the vendor and your platform team how long a major upgrade takes in your environment before you decide.

Upgrade guide

Blast radius and operator access

Operators with database or cluster access can read every project on a shared instance, and one failed migration or overloaded ClickHouse node affects all teams. If your policy requires that no single operator can reach a group's data, or that one group's outage must not stop another, plan separate deployments with separate credentials. Enterprise role features may narrow in-app access, but they do not limit infrastructure access.

Shared instance, separate deployments or a hybrid: which option fits

This table compares one shared Langfuse instance, one deployment per environment or region, and one deployment per regulated tenant across isolation, license needs, upgrade coupling, data store footprint and operating effort. Read the license column first, because several isolation controls inside a shared instance need an Enterprise license key while the MIT-licensed version covers project separation without those controls.

FactorShared instance with organizations and projectsOne deployment per environment or regionOne deployment per regulated tenant
Isolation strengthLogical separation by organization and project, enforced by the application and its access rolesPhysical separation of data stores between environments or regions, with separate network and storage boundariesStrongest separation, with each tenant's traces, prompts and keys in its own data stores and accounts
Project-level RBACNeeds an Enterprise license key for project-level roles; the MIT version does not include themNot required for separation, though teams may still use roles inside each instanceNot required for separation, though tenant administrators may still use roles inside their instance
Protected prompt labels and data retention policiesNeed an Enterprise license keyNeed an Enterprise license key if used in each instanceNeed an Enterprise license key if used in each instance
Audit logs and server-side data maskingNeed an Enterprise license keyNeed an Enterprise license key if used in each instanceNeed an Enterprise license key if used in each instance
SSO and SCIM provisioningSSO providers are available in the open source version; org management API with SCIM needs an Enterprise license keyEach instance needs its own identity configuration and provisioning pathEach instance needs its own identity configuration, which may suit tenant identity providers
Upgrade couplingOne upgrade path and one release cadence for all teams and tenantsEnvironments can move on separate schedules, though production usually lags testEach tenant can be upgraded in its own window, which adds a version matrix to track
Data store footprintOne PostgreSQL, ClickHouse, Redis or Valkey and blob storage set, sized for combined loadMultiple sets, with cost growing with each environment or regionMultiple sets for every tenant, the largest footprint and the most repeated sizing work
Operating effortLowest, with one set of backups, monitoring and scaling decisionsModerate, with repeated backup, monitoring and upgrade runs per instanceHighest, with separate ownership, evidence and change records per tenant
Cost to ask about in a quoteEnterprise license scope, if needed, and sizing of shared data storesLicense scope per instance and infrastructure duplicated per environmentLicense scope per instance, duplicated infrastructure and recurring operations per tenant

What each pattern costs to run, and what drives the cost up

The licensing line is the smallest and simplest cost. The Langfuse codebase is MIT licensed except for the ee/ directories, and Langfuse states that all core features and APIs are available in the open source version without limits. Each additional deployment therefore adds no per-instance license fee on the open source path. The cost changes if you need the features listed under Enterprise license keys, such as project-level RBAC roles, data retention policies, audit logs, server-side data masking or SCIM provisioning. Those come with the custom-priced Self-Hosted Enterprise plan, which also adds a named support engineer, solutions architect access and a support SLA. Ask the vendor whether that plan is priced per instance or per organization, because the answer changes the arithmetic for a multi-deployment design. Confirm it in writing before you compare options.

The larger cost is infrastructure duplicated per deployment. Each instance runs Langfuse Web, Langfuse Worker, PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible blob storage. Langfuse's scaling guide documents minimum resources of 2 CPU and 4 GiB for web, worker and PostgreSQL, 1 CPU and 1.5 GiB for Redis or Valkey, and 2 CPU and 8 GiB for ClickHouse, with at least 16 GiB of ClickHouse memory for larger deployments. Those minimums are a floor, not a sizing. Multiply them by the number of environments or isolated tenants, then add backups, monitoring, network segments and DNS for each. Upgrades are the recurring multiplier: each instance needs its own change window, its own migration checks and, for major versions, its own ClickHouse headroom and data backfill planning. Staff time for on-call, access reviews and certificate renewals also scales with instance count, so ask your partner to quote one deployment and then the marginal cost of each additional one.

Separate the one-time setup from the recurring run cost in any quote. One-time work covers architecture, identity and network design, the first deployment, backup and restore testing, and documentation for auditors. Recurring work covers patching, minor and major upgrades, capacity changes, backup verification, key rotation and support. A shared instance with projects and RBAC has a lower recurring cost, but it needs stronger access controls and evidence. Separate deployments raise both the setup and the run cost, and their value must be justified by a specific regulatory, regional or tenant requirement. Ask for the quote to list each instance, each recurring activity, the support tier and the assumptions behind the sizing, so you can compare the options on equal terms. DeployOpen does not publish prices. A quote follows from a written scope.

How to decide and set up the right layout

This sequence turns isolation requirements into a documented layout of one shared Langfuse instance or several deployments, with the licensing, sizing and identity decisions that follow from it. The result is a layout that a security or compliance owner can review and that an engineer can test before any trace data arrives.

  1. Inventory isolation requirements with owners

    Start by listing what must be separated and why. Work with legal, privacy and security owners to record each requirement as a statement, such as which teams may never see another team's traces, which data may not leave a region, or which customer tenants must be kept apart. Note the source of each requirement, whether a regulation, a contract or an internal policy. Done means each requirement has a named owner who has approved the wording in writing, and you can point to the document that imposes it.

  2. Map each requirement to a boundary

    Assign every requirement to the lowest boundary that satisfies it: a project inside one organization, an organization inside one instance, a region, or a separate deployment. Ask whether the requirement concerns access (who can see traces), location (where data is stored), or operational control (who can change or restore the platform). Only location and operational control usually push you toward separate deployments. Done means each requirement has one boundary and a short reason, reviewed by the owners who signed off in the previous step.

  3. Confirm licensing for RBAC and retention

    Check which boundaries depend on features that need an Enterprise license key. The self-hosting documentation lists project-level RBAC roles, data retention policies and audit logs among them. Core features and APIs are available under the MIT-licensed open source version, so a single shared instance may be workable without a license if project separation is not enforced by role. Confirm with the vendor which features your layout requires and what the Enterprise plan includes before you commit. Done means a written list of required features, each marked as open source or Enterprise, and a licensing decision recorded with the owner.

  4. Choose the deployment method per boundary

    Select how each deployment will be run, using the documented options: Docker Compose on a single VM for testing without high availability, or Kubernetes with Helm or Terraform for production. Decide whether a shared instance or a separate deployment per region or tenant will be operated by the same platform team. Each additional deployment adds its own web, worker, PostgreSQL, ClickHouse, Redis or Valkey and blob storage, so the operating cost recurs for every one. Done means a deployment inventory lists each instance, its boundary, its method and its owning team.

  5. Size each data store against documented minimums

    For every deployment, size the web, worker, PostgreSQL, Redis or Valkey and ClickHouse components against the minimum resources in the scaling guide, which lists 2 CPU and 4 GiB for web, worker and PostgreSQL, 1 CPU and 1.5 GiB for Redis or Valkey, and 2 CPU and 8 GiB for ClickHouse. Then adjust for expected trace volume and the number of projects, because separate deployments multiply these minimums. Confirm the current figures in the scaling guide before you buy capacity. Done means each deployment has a sizing sheet with the documented minimum, your expected load and the headroom you chose.

  6. Map identity and SSO to organizations

    Decide how users from your identity provider land in each organization and project. Langfuse supports SSO through several Auth.js providers and generic OIDC, and it can enforce SSO for given email domains. Document which group or domain grants which role, who may create organizations, and who keeps a break-glass path if SSO fails. Confirm with your identity team which provider claims are available. Done means a mapping table from identity groups to organizations, projects and roles, approved by the identity owner.

  7. Verify cross-project isolation with a test

    Before production data arrives, create two test projects and a test user who belongs only to the first. Send a trace to each project with a known marker, then sign in as the test user and confirm that the second project's traces, prompts and datasets cannot be seen through the UI or the API. Repeat the check with an API key scoped to the first project. Record the results and retain them as evidence for the security owner. Done means the test passes, the evidence is filed, and any failure has been fixed and retested before go-live.

How a shared instance and separate deployments divide the boundaries

The diagram starts with users and their organizations and projects inside one shared Langfuse, where RBAC and project roles separate teams within a single web, worker and data store set. The second part shows two regional or tenant deployments, each with its own web, worker, PostgreSQL, ClickHouse, Redis or Valkey and blob storage, so the trust boundary sits at the deployment line. Check which boundary your regulator or customer contract requires, and remember that project roles and some governance features need an Enterprise license key.

Shared instance versus separate deployments, with the trust boundary between them.

Security and operations when you split or share deployments

Sharing one Langfuse instance or splitting into several changes who can reach the data, how secrets are managed, and how upgrades are scheduled. The cards below cover the checks that follow from that choice, so the decision is made with its operating cost in view.

Operator access to shared data stores

In a shared instance, every project's traces sit in the same PostgreSQL, ClickHouse and blob storage, so database and bucket administrators can reach data from all teams. Project-level RBAC controls what users see in the Langfuse UI and API, but it does not limit infrastructure operators. Confirm who holds database and bucket credentials, and whether separate deployments would give each business unit its own administrative boundary.

Authentication docs

SSO enforcement by email domain

Self-hosted Langfuse can disable password sign-in or enforce SSO for given email domains, as documented in its authentication guide. Use this to make sure users from each subsidiary or region sign in through the identity provider that owns their account. Check that every domain that should be enforced is listed, and test sign-in for a user in each domain before go-live.

SSO documentation

Audit logs and retention need Enterprise

Audit logs and data retention policies are Enterprise features that require a license key, so they are not available in the open source version. If one deployment must enforce a retention period for one project and another must not, that difference should be a licensing decision made before the rollout. Ask the vendor which features apply to each deployment you plan to run.

License key docs

Secret handling per deployment

Each Langfuse deployment has its own database credentials, storage keys, encryption and session secrets, and SSO client settings. Separate deployments multiply the secrets to create, rotate and store, so a single secrets manager with a naming convention per environment is usually easier to govern. Confirm that no environment reuses another environment's keys, and that rotation procedures cover every deployment.

Upgrade windows and migration risk

Updates within a major version apply database migrations at startup, while major upgrades change infrastructure and the data model. Each separate deployment needs its own upgrade window, test run and rollback plan, so the number of instances sets the upgrade workload. Plan a staging instance that matches production versions, and avoid letting deployments drift onto different major versions without a reason.

Upgrade guide

Monitoring each deployment

Each instance runs its own web, worker, PostgreSQL, ClickHouse and Redis or Valkey services, so each needs health checks, alerts and capacity tracking. Ingestion problems in one deployment do not show up in another's dashboards unless monitoring is set up per instance. Confirm that alerts reach an owner for every deployment, and that worker scaling is reviewed on each one.

Scaling guide

Questions buyers ask about isolating Langfuse

Is one shared Langfuse instance enough for most teams?

For most teams, yes. A single self-hosted Langfuse instance can hold multiple organizations and projects, and the open source version includes all core features and APIs without limits. Separate deployments are usually justified by a specific requirement: a regulator or data residency rule that forbids shared storage, a tenant contract that demands physical separation, or a blast radius that a single platform team cannot accept. Start by writing down which requirement forces separation. If the answer is only "we want separate teams to feel independent," projects and RBAC will usually cover it, and the second deployment is cost you do not need to carry.

What does the Enterprise license add for project RBAC?

In self-hosted Langfuse, project-level RBAC roles require an Enterprise license key. The open source version gives you organizations and projects, but the finer role model that limits what members can do within a specific project is part of the Enterprise feature set. The same key also unlocks protected prompt labels, data retention policies, audit logs, server-side data masking and the org management API with SCIM. Confirm the current feature list on Langfuse's license key documentation before deciding, because the boundary between tiers is the first thing to check when access rules are a compliance requirement.

What drives the running cost of a second Langfuse deployment?

The cost of a second deployment is mostly the cost of running the same stack twice, plus the work of keeping the two aligned. Each instance runs Langfuse Web, Langfuse Worker, PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible blob storage. Langfuse's scaling guide lists minimum resources of 2 CPU and 4 GiB for web, worker and PostgreSQL, 1 CPU and 1.5 GiB for Redis or Valkey, and 2 CPU and 8 GiB for ClickHouse, with at least 16 GiB of ClickHouse memory for larger deployments. Ask for the recurring items: compute, storage, backups, monitoring, on-call coverage and the infrastructure accounts or networks each instance needs. Enterprise support is a separate, custom-priced plan that you should price in if you want a named support engineer.

How long does setting up an isolated deployment take, and what drives it?

The duration depends on the target platform, the number of environments and how much of the data layer you build yourself. A single VM with Docker Compose is documented by Langfuse as a testing setup without high availability, so it is quick to stand up but is not a production pattern. Production runs on Kubernetes with Helm or Terraform-based deployments for AWS, Azure and GCP, which takes longer because of networking, identity, certificates, managed PostgreSQL, ClickHouse sizing and blob storage. Each additional isolated instance repeats most of that work. The main drivers are the number of landing zones, whether existing VPCs and databases can be reused, SSO configuration per instance and the approval path for each change. Ask for a written plan with those drivers listed separately.

What does the client's team need to provide for this work?

The client's team usually provides the cloud or data center accounts, network ranges and DNS, identity provider access for SSO, mail and object storage decisions, and the named owners who approve data classification and access rules. For separate deployments, they also need to define which teams, regions or tenants go into which instance, and who owns each one after handover. Expect to provide sign-off on the isolation model, retention and masking choices, and the acceptance criteria for backups and restores. Confirm these inputs in the written scope so that delays do not come from missing access or unclear ownership.

Can our own team run the isolated deployments without outside help?

Yes, if your team already runs Kubernetes or VMs, PostgreSQL, ClickHouse and S3-compatible storage. Langfuse publishes Docker Compose, Helm and Terraform paths, and the same codebase runs in Langfuse Cloud and self-hosted deployments. The harder part is ongoing operation: backups, restore tests, scaling workers, monitoring and handling major upgrades. Before deciding, ask who will be on call for each instance, whether those people have done a ClickHouse restore, and whether the team has capacity to run several stacks on different release timings. An outside partner can plan, build and document the setup, or support it under a retainer, so you can compare the cost of that against the staff hours your team would spend.

How do upgrades differ when you run several Langfuse instances?

Each instance is upgraded on its own, so the work multiplies with the number of deployments. Langfuse says updates within a major version are non-disruptive and apply database migrations automatically at startup, but major upgrades such as v3 to v4 follow dedicated migration guides. The v3 to v4 guide requires ClickHouse 25.12 or later (26.4 recommended), PostgreSQL 15 or later and Redis 7.0 or later, and advises about 3x ClickHouse disk headroom when backfilling historic data. Helm users with bundled data stores must upgrade the chart from v1 to v2 first. Plan a single upgrade calendar, a staging instance that mirrors production, and a rollback path for each deployment, and check SDK compatibility, since Python SDK v5 and JS/TS SDK v6 need Langfuse v4.59.0 or later.

How DeployOpen scopes an isolation design with your team

The isolation decision comes first, and DeployOpen puts it in the written scope before any infrastructure is built. In practice, the scope records which teams, tenants, regions and regulated data sets must be kept apart, and whether that separation can be met with organizations, projects and role-based access in one instance or needs separate deployments. Each choice is tied to a named reason, such as a data residency requirement or a customer contract, so compliance reviewers can trace the design back to its source. The scope also states what is out of bounds, for example whether trace data from one business unit may ever be visible to another.

Once the boundary is agreed, the work is carried out in your environment. That means your cloud accounts, data centers or air-gapped network, with DeployOpen configuring organizations, projects, role assignments and SSO through your identity provider. Where a project-level role or other governance control depends on an Enterprise license key, the scope names that dependency and who will hold the license, so it is not discovered during rollout. Your team should confirm the identity provider, the groups that map to roles, and who approves access changes before the build starts, because those decisions drive most of the configuration effort.

DeployOpen documents the resulting design for compliance reviewers, including the deployment topology, tenant and project mapping, access model, SSO settings and the controls that separate data. This is evidence for your assessors, not a certification: DeployOpen prepares the systems, configuration records and documentation, while independent auditors and certification bodies issue any audit report or attestation. Ask for the document list in writing when you request a quote, and confirm with your assessor which artifacts they expect.

How DeployOpen delivers Langfuse isolation work

DeployOpen plans, builds and hands over self-hosted Langfuse inside your own infrastructure, so the choice between one shared instance and several separate deployments is made from written requirements. We document the isolation model, the run cost of each option and the operating steps your team will own afterward.

How we scope

  • Map which teams, regions and data classes must be separated, and which can share projects inside one organization.
  • Confirm whether project-level RBAC, data retention or audit logs need an Enterprise license key before choosing the model.
  • Agree in writing the number of deployments, environments and the components each one runs in your cloud or data center.

How we build

  • Configure organizations, projects, roles and SSO settings to match the agreed access model in a test environment first.
  • Size PostgreSQL, ClickHouse, Redis or Valkey and blob storage separately for each deployment that the scope requires.
  • Test that a user in one project or deployment cannot read traces, prompts or datasets belonging to another.

How we hand over

  • Document the isolation design, the access matrix, the per-deployment run costs and the upgrade order for each instance.
  • Provide runbooks for provisioning a new project or deployment, rotating secrets and restoring backups in your environment.
  • Walk your platform, security and compliance teams through the evidence they need to review the isolation controls.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering every deployment in the agreed scope.
  • Re-test isolation boundaries after major Langfuse upgrades or changes to SSO, network or storage configuration.
  • Confirm with your team which support responsibilities sit with DeployOpen and which stay with your own operations staff.

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.