# Langfuse Self-Hosting - [Self-host Langfuse (Open Source LLM Observability)](https://langfuse.com/self-hosting.md): Self-host Langfuse - This guide shows you how to deploy open-source LLM observability with Docker, Kubernetes, or VMs on your own infrastructure. - [Administration Overview (self-hosted)](https://langfuse.com/self-hosting/administration.md): Comprehensive overview of administration capabilities for self-hosted Langfuse deployments. - [Automated Access Provisioning (self-hosted)](https://langfuse.com/self-hosting/administration/automated-access-provisioning.md): Optionally, you can configure automated access provisioning for new users when self-hosting Langfuse. - [Headless Initialization (self-hosted)](https://langfuse.com/self-hosting/administration/headless-initialization.md): Learn how to automatically initialize Langfuse resources via environment variables. - [Manage Organizations via API](https://langfuse.com/self-hosting/administration/instance-management-api.md): Learn how to create, update, and delete organizations via the Langfuse API on self-hosted installations. - [Allowlist of organization creators (self-hosted)](https://langfuse.com/self-hosting/administration/organization-creators.md): Learn how to restrict organization creation to a specific set of users in your self-hosted Langfuse deployment. - [UI Customization (self-hosted)](https://langfuse.com/self-hosting/administration/ui-customization.md): Learn how to customize the Langfuse UI for your organization. - [Configuration via Environment Variables (self-hosted)](https://langfuse.com/self-hosting/configuration.md): Langfuse has extensive configuration options via environment variables. - [AI Gateway (self-hosted)](https://langfuse.com/self-hosting/configuration/ai-gateway.md): Run the Langfuse AI Gateway next to your self-hosted Langfuse. Requirements, architecture, public URL, TLS, operations, key rotation, and configuration reference. - [Backup Strategies for Langfuse](https://langfuse.com/self-hosting/configuration/backups.md): Comprehensive guide to backing up your self-hosted Langfuse deployment including ClickHouse, Postgres, and blob storage (SeaweedFS, MinIO). - [Caching (self-hosted)](https://langfuse.com/self-hosting/configuration/caching.md): Langfuse provides caching for API keys and prompts to improve performance and reduce database load. - [Code evaluators (self-hosted)](https://langfuse.com/self-hosting/configuration/code-evaluators.md): Configure dispatchers and workers for self-hosted code evaluator execution. - [Custom Base Path (self-hosted)](https://langfuse.com/self-hosting/configuration/custom-base-path.md): Follow this guide to deploy Langfuse on a custom base path, e.g. https://yourdomain.com/langfuse. - [Encryption (self-hosted)](https://langfuse.com/self-hosting/configuration/encryption.md): Learn how to encrypt your self-hosted Langfuse deployment. This guide covers encryption in transit (HTTPS), at rest (database) and application-level encryption. - [FIPS mode for self-hosted Langfuse](https://langfuse.com/self-hosting/configuration/fips-mode.md): Run self-hosted Langfuse Government on FIPS 140-3 validated cryptographic modules in approved mode. - [Halo (self-hosted)](https://langfuse.com/self-hosting/configuration/halo.md): Configure the model, worker MCP access, and optional sandbox for the self-hosted Halo. - [Hardening self-hosted Langfuse](https://langfuse.com/self-hosting/configuration/hardening.md): Operator-facing security knobs for self-hosted Langfuse — restrict sign-ups, enforce SSO, limit outbound URLs, and tighten admin access. - [Health and Readiness Check Endpoints](https://langfuse.com/self-hosting/configuration/health-readiness-endpoints.md): Monitor the health and readiness of your Langfuse self-hosted deployment - [Observability via OpenTelemetry](https://langfuse.com/self-hosting/configuration/observability.md): You can use OpenTelemetry for observability into the Langfuse application. - [Scaling Langfuse Deployments](https://langfuse.com/self-hosting/configuration/scaling.md): Learn how to scale your self-hosted Langfuse deployment to handle more traffic and data. - [Transactional Emails (self-hosted)](https://langfuse.com/self-hosting/configuration/transactional-emails.md): Learn how to configure transactional emails for your self-hosted Langfuse deployment. - [Deploy Langfuse on AWS with Terraform](https://langfuse.com/self-hosting/deployment/aws.md): Step-by-step guide to run Langfuse on AWS via Terraform. - [Deploy Langfuse on Azure with Terraform](https://langfuse.com/self-hosting/deployment/azure.md): Step-by-step guide to run Langfuse on Azure via Terraform. - [Docker Compose Deployment (Self-Hosted)](https://langfuse.com/self-hosting/deployment/docker-compose.md): Step-by-step guide to deploy and run Langfuse locally or on a VM using Docker Compose. The simplest way to self-host Langfuse with Docker. - [Deploy Langfuse on GCP with Terraform](https://langfuse.com/self-hosting/deployment/gcp.md): Step-by-step guide to run Langfuse on GCP via Terraform. - [S3 / Blob Storage Configuration (Self-Hosted)](https://langfuse.com/self-hosting/deployment/infrastructure/blobstorage.md): Configure S3 or S3-compatible blob storage for self-hosted Langfuse. Store raw events, multi-modal inputs, and batch exports with Amazon S3, Google Cloud Storage, Azure Blob Storage, SeaweedFS, MinIO, or compatible services. - [Cache (Redis/Valkey) Configuration (Self-Hosted)](https://langfuse.com/self-hosting/deployment/infrastructure/cache.md): Configure Redis or Valkey as a caching layer and queue for self-hosted Langfuse. Includes Redis environment variables, connection options, and configuration best practices. - [ClickHouse (self-hosted)](https://langfuse.com/self-hosting/deployment/infrastructure/clickhouse.md): Configure and host ClickHouse for self-hosted Langfuse. Covers ClickHouse server setup, cloud hosting options, Azure deployment, configuration best practices, and performance tuning. - [Application Containers (self-hosted)](https://langfuse.com/self-hosting/deployment/infrastructure/containers.md): Langfuse uses Docker to containerize the application. The application is split into two containers (Langfuse Web and Langfuse Worker). - [LLM API connections (self-hosted)](https://langfuse.com/self-hosting/deployment/infrastructure/llm-api.md): Optionally, you can configure Langfuse to use an external LLM API or gateway for add-on features. Langfuse tracing does not need access to the LLM API as traces are captured client-side. - [Postgres Database (self-hosted)](https://langfuse.com/self-hosting/deployment/infrastructure/postgres.md): Langfuse requires a persistent Postgres database to store its state. - [Kubernetes (Helm) (self-hosted)](https://langfuse.com/self-hosting/deployment/kubernetes-helm.md): Step-by-step guide to run Langfuse on Kubernetes via Helm. - [Run Langfuse locally on macOS](https://langfuse.com/self-hosting/deployment/macos.md): Run Langfuse on Apple silicon with Apple's container runtime and the Langfuse Helm chart. - [Deploy Langfuse v3 on Railway](https://langfuse.com/self-hosting/deployment/railway.md): Use this guide to deploy Langfuse v3 on Railway via the prebuilt template. - [Deploy Langfuse v4 on Render](https://langfuse.com/self-hosting/deployment/render.md): Use this guide to deploy Langfuse v4 at production scale on Render with a prebuilt Blueprint. - [License keys (self-hosted)](https://langfuse.com/self-hosting/license-key.md): Compare Enterprise and Government features and activate a license key for self-hosted Langfuse. - [Langfuse OSS newsletter (self-hosting updates)](https://langfuse.com/self-hosting/oss-newsletter.md): Subscribe to the Langfuse OSS newsletter to get an email when we ship new releases, breaking changes, and upgrade guides for self-hosted Langfuse. - [Authentication and SSO (self-hosted)](https://langfuse.com/self-hosting/security/authentication-and-sso.md): Configure SSO (SAML, OIDC) and authentication for self-hosted Langfuse. Supports Google, GitHub, Azure AD, Okta, and custom OIDC/SAML providers. - [Data Masking (self-hosted)](https://langfuse.com/self-hosting/security/data-masking.md): Configure data masking in your self-hosted Langfuse deployment to redact sensitive information from tracing events. - [Deployment Strategies (self-hosted)](https://langfuse.com/self-hosting/security/deployment-strategies.md): Learn how to manage Langfuse effectively. It covers strategies for handling multiple projects and environments. - [Networking (self-hosted)](https://langfuse.com/self-hosting/security/networking.md): Learn how to configure networking for your self-hosted Langfuse deployment. Langfuse can be run without internet access. - [Telemetry (self-hosted)](https://langfuse.com/self-hosting/security/telemetry.md): Learn what telemetry Langfuse sends from self-hosted deployments, why it is collected, when it can be disabled, and which hostnames Langfuse contacts. - [Troubleshooting & FAQ for a self-hosted Langfuse deployment](https://langfuse.com/self-hosting/troubleshooting-and-faq.md): Learn how to troubleshoot common issues with self-hosted Langfuse. - [How to upgrade a self-hosted Langfuse deployment](https://langfuse.com/self-hosting/upgrade.md): Use this guide to keep your Langfuse deployment up to date. Updates between minor/patch versions can be applied automatically. For major versions, please refer to the migration guides. - [Background Migrations (self-hosted)](https://langfuse.com/self-hosting/upgrade/background-migrations.md): Langfuse uses background migrations to perform long-running changes within the storage components when upgrading the application. - [Migrate Langfuse v1 to v2 (self-hosted)](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v1-to-v2.md): A guide to upgrade a Langfuse v1 setup to v2. - [Migrate Langfuse v2 to v3 (self-hosted)](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v2-to-v3.md): A guide to upgrade a Langfuse v2 setup to v3. - [Migrate Langfuse v3 to v4 (self-hosted)](https://langfuse.com/self-hosting/upgrade/upgrade-guides/upgrade-v3-to-v4.md): A guide to upgrade a Langfuse v3 setup to v4. - [Versions & Compatibility](https://langfuse.com/self-hosting/upgrade/versioning.md): How Langfuse versions its server, SDKs, and public API, and which combinations stay compatible under semantic versioning. - [Self-host Langfuse v2](https://langfuse.com/self-hosting/v2.md): Langfuse is open source and can be self-hosted using Docker. This section contains guides for different deployment scenarios. - [Self-hosting Langfuse v2](https://langfuse.com/self-hosting/v2/deployment-guide.md): Self-host Langfuse in your infrastructure using Docker. - [Local Deployment (v2, docker compose)](https://langfuse.com/self-hosting/v2/docker-compose.md): Step-by-step guide to run Langfuse on your local machine using docker compose.