> ## Documentation Index
> Fetch the complete documentation index at: https://getlago.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-hosting overview

> Deploy Lago on your infrastructure, with both free and premium editions.

You can host Lago on your local computer, on a dedicated server, or in the cloud. Your team operates the application, its databases, upgrades, and monitoring. To skip operating the stack, use [Lago Cloud](https://getlago.com/docs/v2/guide/lago-cloud.md).

## Editions

| Edition | License | Access |
| - | - | - |
| Open source | [AGPL-3.0](https://github.com/getlago/lago) | Free. Deploy from the public repository. |
| Premium | Commercial | [Contact Lago](https://getlago.com/book-a-demo). Features and support differ by edition; see [pricing](https://getlago.com/pricing). |

## Install

Check the [compatibility matrix](https://getlago.com/docs/v2/guide/lago-self-hosted/compatibility-matrix.md) for supported versions first.

> [card] [Docker](https://getlago.com/docs/v2/guide/lago-self-hosted/docker.md)
>
> Install Lago on your infrastructure with Docker Compose for easy deployment.

> [card] [Kubernetes](https://getlago.com/docs/v2/guide/lago-self-hosted/kubernetes.md)
>
> Use the official Helm charts to deploy Lago on Kubernetes, scaling each component independently.

## Operate your instance

* [Versions update](https://getlago.com/docs/v2/guide/lago-self-hosted/update-instance.md): upgrade to a new Lago release.
* [Database maintenance](https://getlago.com/docs/v2/guide/lago-self-hosted/database-maintenance.md): keep Postgres healthy.
* [Useful commands](https://getlago.com/docs/v2/guide/lago-self-hosted/commands.md): common operational tasks.
* [Tracking and analytics](https://getlago.com/docs/v2/guide/lago-self-hosted/tracking-analytics.md): the usage data your instance sends to Lago and how to disable it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.