Langfuse compliance: SOC 2, ISO 27001, HIPAA and data residency

Langfuse Cloud has vendor attestations and a HIPAA region with a BAA, but a self-hosted Langfuse inherits none of them. This page maps what the platform helps you evidence and what stays with your team.

On this page

Which Langfuse compliance requirements the platform helps you meet

The SOC 2 Type II report, the ISO 27001 certificate and the HIPAA region with its BAA apply to Langfuse Cloud only. A self-hosted Langfuse deployment is evaluated on the controls your organization runs around it: where the containers run, who can reach PostgreSQL, ClickHouse and blob storage, how backups are encrypted and tested, and how long trace data is kept. The vendor's attestations do not transfer to your environment, so an auditor will ask for evidence from your own systems. Confirm early which assessment your organization is facing and whether it expects a vendor attestation for any component you run.

Several Langfuse features give you controls that auditors commonly ask about. Project-level RBAC roles and SSO with enforced sign-in for given email domains address access control and identity assurance. Data retention policies, server-side data masking and audit logs address retention, minimization and traceability of personal data in prompts and traces. Most of these need an Enterprise license key, so confirm which ones your control design depends on before you rely on them. The platform does not decide your retention period, your lawful basis or your incident response process, and it does not encrypt or back up the underlying stores for you.

DeployOpen prepares systems, configuration and evidence for a compliance assessment, such as access reviews, backup and restore records, and documented network boundaries. It does not issue audit reports, attestations or certifications, and independent auditors and certification bodies make those decisions. Before scoping work, ask the vendor for its current security documents and confirm which plan you would need for them. Then agree in writing which controls DeployOpen will build, configure and document, and which remain with your own team.

Mapping compliance requirements to Langfuse capabilities and configuration

This table maps each compliance requirement raised by the vendor's Cloud attestations to what a self-hosted Langfuse deployment needs instead. Read the Cloud-only rows as vendor evidence you can request but do not inherit, and the self-hosted rows as the controls your team must configure and evidence.

RequirementLangfuse CloudSelf-hosted Langfuse
SOC 2 Type II reportVendor completed the audit; report is available on request to Pro, Team or Enterprise plan customersNot covered. Your own SOC 2 scope must include the deployment, its hosts and its data stores
ISO 27001 certificateCloud is certified; certificate is available on request to Pro, Team or Enterprise plan customersNot covered. Your own management system and controls apply to the infrastructure you run
HIPAA region and BAAAvailable only in the HIPAA region (us-west-2); BAA needs the Pro plan or higherNot applicable. Langfuse does not receive the data, so safeguards are yours to implement
Cloud data regionsUS in AWS us-west-2, EU in eu-west-1, Japan in ap-northeast-1Choose any region or provider, including fully offline networks, and document residency yourself
GDPR data processing agreementCustomers can enter into a DPA with LangfuseNo vendor DPA for your instance; your own processing records and retention controls apply
Annual third-party penetration testVendor runs annual tests on the Cloud service; reports are requested through the security documents formNot covered. Plan your own penetration testing of the deployed web, worker and data tier
Retention and deletionVendor-managed for CloudData retention policies need an Enterprise license key; configure them per project
Audit logs and access controlManaged by the vendor for CloudAudit logs and project-level RBAC need an Enterprise license key
Sign-in controlSSO available by plan on CloudSSO via Auth.js providers; can disable password sign-in or enforce SSO by email domain without a license key

What evidence Langfuse produces and how to keep it for auditors

Evidence for a Langfuse audit comes from two places: the platform itself, which records configuration and change history, and the vendor, which provides attestation reports for Langfuse Cloud on request. A self-hosted deployment gets no vendor attestations, so the operator must collect, store and date its own evidence from the platform, its infrastructure and its identity provider.

Audit logs under Enterprise

Audit logs are a self-hosted Enterprise feature that needs a license key, so an open source deployment has no built-in record of who changed projects, keys or settings. Decide before go-live whether you need this record, since it cannot be reconstructed afterward from the application. Confirm with the vendor which events are logged, where the log is stored, and how long it persists in your PostgreSQL database. Export and retain it on your own schedule.

License key docs

Retention policy settings

Data retention policies are also an Enterprise feature, and they set how long trace data stays in ClickHouse. Auditors will ask for the configured period, the date it was set and proof that it was applied to every project. Record the setting in your change management system and keep a dated export of the configuration. Retention is the control that answers most data minimization questions, so treat it as evidence, not a default you assume.

RBAC and protected prompt labels

Project-level roles and protected prompt labels determine who can read traces and change production prompts. Capture the role assignments for each project and the list of protected labels at regular intervals, then compare them with your access review records. Changes made in the Langfuse interface are not versioned by default, so an export of the role matrix is the evidence an access review needs. Confirm how the matrix can be exported in your version.

SSO enforcement and identity records

Self-hosted Langfuse can disable password sign-in or enforce SSO for given email domains. Keep the configuration that enforces this, along with the identity provider's record of the application, its assignment groups and sign-in logs. Auditors usually test whether a leaver lost access, so the proof sits mostly in your identity provider. Confirm that deprovisioning in the identity provider removes Langfuse access in your setup, and test it.

SSO docs

Version and migration history

Keep a dated record of every Langfuse version in each environment, the Helm chart version, and each database migration applied at startup. Major upgrades such as v3 to v4 change the ClickHouse data model and need pre-upgrade backups and disk checks, so retain the change ticket, backup evidence and post-upgrade test results. Use the published release history to show which version was current and when a patch was applied.

Langfuse releases

Vendor evidence for Cloud on request

For Langfuse Cloud, Langfuse says the SOC 2 Type II report and ISO 27001 certificate are available on request to Pro, Team or Enterprise customers, and penetration test reports and a DPA are requested through the security documents form. Ask whether a report covers the regions and services you use, and check the audit period before you rely on it, since the vendor's SOC 2 page does not name it. These documents describe the vendor's service, not your deployment.

SOC 2 page

Cloud attestations versus self-hosted controls

Langfuse Cloud is the vendor-operated service, and the vendor holds the attestations for it. Langfuse states that Cloud has completed a SOC 2 Type II audit and that Cloud is ISO 27001 certified. Both documents are released on request, and the SOC 2 report and ISO 27001 certificate are available only to customers on the Pro, Team or Enterprise plans. The vendor page does not name the SOC 2 auditor or the audit period, so ask for both before relying on the report.

  • SOC 2 Type II report: Request it through the vendor's security documents form, and confirm the audit period and scope cover the services you will use.
  • ISO 27001 certificate: Available on request for Pro, Team or Enterprise customers. Ask for the certificate scope and the certifying body.
  • HIPAA region and BAA: A separate HIPAA-ready region runs in AWS us-west-2 (Oregon). Customers on Pro or higher there can sign a Business Associate Agreement. Do not send protected health information until the signed BAA is in place.
  • Subprocessor chain: The security page notes that ClickHouse, Inc. holds an ISO/IEC 27701:2025 certificate covering Cloud. Request that certificate through the ClickHouse Trust Center.

Confirm which plan your organization needs before you assume access to a report, and check that the signed document, not the marketing page, is what your auditor accepts.

What the platform and the vendor attestations do not cover

The SOC 2, ISO 27001 and HIPAA material describes Langfuse Cloud as operated by the vendor. A self-hosted deployment sits outside that boundary, so the controls around its infrastructure, data and people are yours to design, operate and evidence.

Your infrastructure sits outside the attestations

The vendor's SOC 2 Type II report and ISO 27001 certificate cover Langfuse Cloud, not the cloud account, network, VMs or Kubernetes cluster where you run Langfuse. Ask your auditor to scope your own environment separately. Confirm early which controls your organization must evidence itself.

Langfuse SOC 2 page

Your data stores and their hosting

ClickHouse, PostgreSQL, Redis or Valkey and S3-compatible blob storage hold the traces, prompts and metadata. Their encryption, patching, network exposure and access logging belong to your team or your managed-service provider, whichever operates them. Record who hosts each store and where its controls are documented.

Self-hosting docs

Backups and recovery testing

No vendor attestation covers the backups you take of PostgreSQL, ClickHouse and blob storage. You decide retention, encryption of backup copies, restore testing and the location of backup media. Restores should be tested against the same controls that apply to live data, because an untested backup does not show recoverability.

Access reviews and privileged access

Who can reach the database, the object store, the Kubernetes namespace and the Langfuse admin role is decided in your environment. The vendor's audit does not review those grants. Run periodic access reviews, keep the list of administrators current and map Langfuse roles to your identity provider groups.

Change management and upgrades

Langfuse major upgrades change the database schema and data model, and migrations run automatically at startup. Your change process must cover pre-upgrade backups, approval, rollback and evidence of testing. Vendor attestations do not record the changes you make to your own deployment.

Application data and PHI handling

Traces contain whatever your application sends, including prompts, responses and any personal or health information. The HIPAA region and the BAA apply only to Langfuse Cloud, and PHI must not be sent to Langfuse before a signed BAA is in place. In a self-hosted setup, masking, retention and minimization of that data are your controls, and the data residency of your self-hosted region is whatever you choose, not the Cloud region list.

Langfuse HIPAA page

Configuring a self-hosted Langfuse for a compliance review

This sequence produces a self-hosted Langfuse configuration with documented scope, access, retention, masking, logging and backup controls, plus an evidence pack that an auditor can test. It does not produce an audit report or certification, which only an independent auditor or certification body can issue.

  1. Confirm the deployment target and region

    Record where the self-hosted Langfuse will run, including the cloud account, data center or air-gapped network, and the region or jurisdiction that will hold trace data, PostgreSQL, ClickHouse and blob storage. Self-hosted deployments can use any region or provider, so this decision is yours and it defines the residency answer your auditor will ask for. Confirm the choice with your compliance lead and your assessor before provisioning. Done when a one-page architecture record names every data store and its location.

  2. Classify the data and decide what reaches traces

    Work with the application owners to list which prompts, completions, user identifiers and metadata will be sent to Langfuse, and whether any protected health information or personal data will appear in them. The HIPAA page is explicit that Langfuse Cloud's HIPAA region and BAA do not extend to a self-hosted setup, so any PHI handling becomes your safeguard to design and document. Record the classification, the owners and the sending applications. Done when each trace source has a documented data class and an approved owner.

  3. Enable SSO and restrict password sign-in

    Connect Langfuse to your identity provider through one of the supported Auth.js providers, such as Okta, Entra ID or Keycloak, or a generic OIDC provider. Then disable password sign-in or enforce SSO for your corporate email domains so that every named user authenticates through your central identity system. Confirm with your identity team that account lifecycle, MFA and deprovisioning are handled upstream. Done when a test user can sign in only through SSO and a password login attempt on an enforced domain is refused.

  4. Set RBAC and retention with the license key

    Project-level RBAC roles, data retention policies and audit logs require an Enterprise license key in a self-hosted deployment, so confirm the license terms before you rely on them. Define project roles that map to your access model, then configure the retention period that your data classification and policy require. Confirm with your legal and privacy teams which retention value applies. Done when role assignments and the retention policy are recorded in your access matrix and a test project reflects both.

  5. Enable server-side masking

    Turn on server-side data masking for the fields your classification flagged, so that sensitive values are redacted before they are stored and displayed. Test with synthetic records that contain representative identifiers, and check the trace view, the API responses and the exports, since each is a path where data can leave the system. Confirm the masking rules with your privacy officer. Done when test traces show masked values in every view you tested and the results are saved as evidence.

  6. Configure logging and backups

    Set up audit logs, platform logs and monitoring for the web, worker, PostgreSQL, ClickHouse, Redis or Valkey and blob storage components, and route them to a store your security team controls. Define backup schedules and retention for PostgreSQL, ClickHouse and blob storage, and perform a restore test into an isolated environment. Langfuse does not publish backup procedures for your environment, so your own runbook and test results are the proof. Done when a restore has been completed and the logs for a test event appear in the central store.

  7. Assemble the evidence pack

    Collect the artifacts that an independent auditor will sample: the architecture record, data classification, identity configuration, role and retention settings, masking test results, log samples, backup and restore records, and change records for each Langfuse upgrade. Note that Langfuse Cloud's SOC 2 and ISO 27001 materials cover only the vendor's Cloud service and do not substitute for these controls. Ask your auditor which evidence formats they accept. Done when each control has a named artifact, an owner and a date, and the pack has been reviewed by your compliance lead.

Trust boundaries in self-hosted Langfuse versus Langfuse Cloud

The diagram starts with a client application sending OpenTelemetry traces to Langfuse Web and Langfuse Worker inside your own boundary, where PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible storage hold the data. Every store and the network path sit under your controls, so the attestations the vendor holds for Langfuse Cloud do not extend to them. The separate Cloud box shows where Langfuse's SOC 2 Type II, ISO 27001 and HIPAA region apply. Check which side of the line your trace data will cross before any sensitive content is sent.

Data paths and attestation scope for self-hosted and Cloud Langfuse.

Questions buyers ask about Langfuse compliance and self-hosting

Does self-hosting Langfuse make SOC 2 or ISO 27001 unnecessary?

No. Self-hosting moves the infrastructure into your environment, so the controls that SOC 2 and ISO 27001 assess apply to your deployment and your operators. Langfuse's SOC 2 Type II report and ISO 27001 certificate cover Langfuse Cloud, the service Langfuse runs. Your own environment needs its own scope, controls and evidence: access management, logging, change management, backups, vulnerability handling, encryption and vendor management for the components you run, including PostgreSQL, ClickHouse, Redis or Valkey and blob storage. Ask your auditor or certification body which of these controls they will test in a self-hosted setup, and confirm the scope in writing before the assessment starts.

How much does a compliance readiness effort cost, and what drives the price?

No public figure applies here, so ask for a written quote based on a defined scope. The main cost drivers are the number of environments in scope, the data classification of what the traces contain, how many systems the deployment touches, how much of the control set already exists in your organization, and how many evidence gaps need closing. One-time work includes scoping, gap analysis, control design, configuration hardening and evidence collection. Recurring costs include operating the controls, collecting evidence each period and paying for the auditor, which DeployOpen does not provide. Ask any partner to separate these items in the quote and to state what the client's team must supply.

How long does compliance readiness take for a self-hosted Langfuse deployment?

Duration depends on the scope, the maturity of your existing controls and how quickly your team can supply access, documentation and decisions. A deployment with well-documented controls and one environment will move faster than a multi-region setup with undocumented access paths. The audit period itself is set by the auditor and usually runs longer than the readiness work. Ask for a timeline in the written scope, including the dependencies on your team, the review cycles and the date the evidence must be ready for the auditor.

What does the work need from our team?

Readiness work needs named owners on your side. Expect to provide access to the cloud accounts or data centers that host Langfuse, the identity provider and its group structure, current policies for access, change and incident handling, and the people who approve data retention and masking decisions. Your team also needs to confirm which data reaches traces, because that determines the classification. Engineers must be available to review configuration and to explain how deployments, upgrades and backups happen. Without these inputs, the evidence will have gaps that cost time later.

Can our own team prepare the compliance evidence without a partner?

Yes, many organizations do this in house, especially when they already run audited platforms and have mature change and access processes. A partner adds value when the team lacks experience with the specific controls of a self-hosted data platform, or when the schedule leaves little room for gap analysis. Whichever route you choose, the auditor's scope decides what evidence is needed. Confirm the scope with the auditor first, then decide which parts your team can deliver and where outside help would shorten the work.

Is the HIPAA Business Associate Agreement available if we self-host Langfuse?

No. Langfuse's HIPAA region and Business Associate Agreement apply to Langfuse Cloud only, in the HIPAA-ready region in AWS us-west-2 (Oregon) at hipaa.cloud.langfuse.com. The Pro plan or higher is required to sign a BAA with Langfuse in that region, and Langfuse warns not to process protected health information until the signed BAA is in place. In a self-hosted setup, Langfuse does not receive or process your data, so the safeguards are your responsibility. Confirm with your legal and privacy teams whether a self-hosted deployment handles PHI, and document the HIPAA safeguards you implement in your own environment.

Where is Langfuse Cloud data stored, and does self-hosting change that?

Langfuse's security page lists Langfuse Cloud data regions on AWS in us-west-2 (Oregon) for the US, eu-west-1 (Ireland) for the EU and ap-northeast-1 for Japan. A self-hosted deployment can run in any region or provider you choose and can run fully offline, so you decide where trace data resides. Confirm the regions that your data-residency requirements allow, and check the location of any backups, logs and blob storage that your deployment creates.

Choosing a data region for Cloud or self-hosted deployments

Data residency for Langfuse depends on which deployment model you choose, because the two models put the data in different places. Langfuse Cloud stores data in one of three regions named on the Langfuse security page: AWS us-west-2 (Oregon) for the US, eu-west-1 (Ireland) for the EU, and ap-northeast-1 for Japan. The HIPAA-ready region is a separate environment in us-west-2. Pick the Cloud region before you send the first trace, because the choice determines where your prompts, completions, user identifiers and scores are stored. Confirm with Langfuse which region your organization will use and whether any data is replicated or backed up outside it.

In a self-hosted deployment the region is your decision. Langfuse states that self-hosted deployments can use any region or provider and can run fully offline, so the residency question moves to your own cloud accounts, data centers or air-gapped network. Map your obligations to the actual locations of the Web and Worker containers, PostgreSQL, ClickHouse, Redis or Valkey, and the S3-compatible bucket. Include the places people forget: backup copies, snapshots, log sinks, and any non-production environment that receives a copy of production traces. A single region for the database and a second region for backups can break a residency commitment even when the primary deployment is compliant.

The Langfuse security page states that Langfuse is GDPR compliant and that customers can enter into a DPA with Langfuse for Cloud. Treat these as vendor statements to verify, not as proof of compliance for your use. Ask for the current DPA, the list of subprocessors and the Cloud region commitments in writing, and have your legal team confirm that they cover the personal data your prompts are likely to contain. For self-hosted use, no DPA with Langfuse covers the data, because Langfuse does not receive it, so your own processing records and controls carry the obligation.

How DeployOpen prepares Langfuse systems and evidence for review

DeployOpen plans, implements, hardens and documents self-hosted Langfuse inside your own infrastructure, so the controls and evidence for SOC 2, ISO 27001, HIPAA and data residency are built where your data lives. We do not issue audit reports, attestations or certifications; independent auditors and certification bodies do that work, and we prepare the systems and records they review.

How we scope

  • Each engagement starts with a written scope that names the frameworks, Langfuse components and hosting locations in question.
  • The scope lists which controls rely on your cloud accounts, identity provider, networks and storage, and which rely on Langfuse configuration.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, and a quote follows from that scope.

How we build

  • We deploy Web, Worker, PostgreSQL, ClickHouse, Redis or Valkey and blob storage in the region and accounts you choose.
  • We configure SSO, access roles, encryption, network restrictions and logging to match the control expectations defined in scope.
  • We test data residency settings and backup restores, and record the results so reviewers can trace each setting to a decision.

How we hand over

  • You receive configuration records, architecture diagrams, runbooks and a map of which controls you own and which are inherited from your providers.
  • We document evidence sources, such as configuration exports, access reviews and restore logs, and explain where each one is kept.
  • We walk your compliance lead and auditors through the evidence so questions about the self-hosted setup are answered from the records.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so controls keep matching the deployed version.
  • Major Langfuse upgrades are planned with the evidence set in mind, so configuration changes and new data models are recorded as they happen.
  • Before a review window, confirm with us which items need refreshing, and confirm with Langfuse which Cloud attestations and documents apply to your plan.

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.