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

# Lerian Cloud (SaaS) and BYOC

> Understand how Lerian can be deployed — in Lerian Cloud (SaaS) or through BYOC in your own infrastructure — and choose the model that fits your compliance and scale needs.

export const GKubernetes = ({children}) => <Tooltip headline="Kubernetes" tip="A platform for running and managing software applications at scale — it automatically handles deployment, scaling, and recovery across multiple servers." cta="See glossary" href="/en/glossary">
    {children}
  </Tooltip>;

export const GTerraform = ({children}) => <Tooltip headline="Terraform" tip="An infrastructure automation tool that provisions and manages cloud resources (servers, databases, networks) through configuration files instead of manual setup." cta="See glossary" href="/en/glossary">
    {children}
  </Tooltip>;

export const GHelmChart = ({children}) => <Tooltip headline="Helm Chart" tip="A pre-configured package for deploying software on Kubernetes — think of it as a ready-to-use installation template that automates setup and configuration." cta="See glossary" href="/en/glossary">
    {children}
  </Tooltip>;

Lerian supports two deployment models for its complete, modular platform: **Lerian Cloud (SaaS)** and **BYOC** (Bring Your Own Cloud). The deployment model defines who operates the infrastructure; your license and commercial agreement define which modules are available.

Choose the model that fits your operational maturity, compliance requirements, and team structure. Availability depends on the permitted license and commercial arrangement.

## Lerian Cloud (SaaS) — Fully managed by Lerian

***

In Lerian Cloud, Lerian hosts and operates the platform for you. Your team focuses on building financial products. We handle everything underneath.

**What Lerian manages:**

* Cloud infrastructure (compute, storage, networking)
* Database provisioning, backups, and scaling
* Security patches and OS-level updates
* Application upgrades and version management
* Monitoring, alerting, and incident response
* High availability and disaster recovery

**What you manage:**

* Business configuration (organizations, ledgers, accounts, rules)
* API integrations with your systems
* User access and permissions within the platform
* Compliance obligations specific to your institution

<Tip>
  Lerian Cloud is ideal if you want the fastest path to production without building or maintaining infrastructure. You get enterprise-grade operations from day one.
</Tip>

## BYOC — Bring Your Own Cloud

***

In the BYOC model, you deploy and operate Lerian in your own infrastructure — whether that's a public cloud (AWS, GCP, Azure), a private cloud, or on-premises.

You have full control over the environment. Lerian provides the software, <GHelmChart>Helm Charts</GHelmChart>, <GTerraform>Terraform templates</GTerraform>, and tooling to make deployment and lifecycle management straightforward.

**What Lerian provides:**

* Application software (container images, Helm Charts)
* [Terraform templates](/en/midaz/midaz-terraform-foundation) for infrastructure provisioning
* [Lifecycle Management](/en/platform/lifecycle-management) for deployment orchestration and version tracking
* Security patches and application updates (delivered by Lerian, applied by you)
* Technical support (Enterprise)

**What you manage:**

* Cloud infrastructure and <GKubernetes>Kubernetes</GKubernetes> clusters
* Database administration, backups, and scaling
* Network security (firewall rules, network isolation, and traffic routing)
* OS and container-level patching
* Monitoring and observability pipelines
* Encryption, secrets management, and access control

<Tip>
  BYOC is ideal if your organization requires full data sovereignty, has strict regulatory constraints on where data lives, or has an established platform engineering team.
</Tip>

### Why Helm for BYOC deployments

Lerian publishes official <GHelmChart>Helm charts</GHelmChart> for the products and platform components supported through its Helm repository. Helm is the recommended way to deploy, configure, and manage the platform in your infrastructure. Here's why it matters:

* **Reproducibility** — Every deployment from the same chart version produces the same result. No "it works on my cluster" surprises across staging, production, or disaster recovery environments.
* **Rollback** — Helm keeps a history of every release. Rolling back to a previous version is a single command — no need to reconstruct the previous state manually.
* **Reduced operational risk** — Charts encode configuration details (environment variables, ports, dependencies), so your team does not have to remember them. Review your values and rendered manifests; Helm does not eliminate operational risk.
* **Faster time to production** — Instead of writing Kubernetes manifests from scratch, start with Lerian's official charts and adjust a single values file. Days of YAML editing become an afternoon of parameter tuning.
* **GitOps-ready** — Charts integrate naturally with GitOps workflows (ArgoCD, Flux). Deployment configuration lives in version control, changes go through pull requests, and every deployment is traceable to a specific commit.

| Product            | What it deploys                                                                                                                              | Helm documentation                                                                |
| :----------------- | :------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |
| **Midaz**          | Core ledger engine (unified Ledger service — onboarding, transactions, and Fees) with an embedded CRM capability that you enable when needed | [Midaz Helm guide](/en/platform/helm/midaz/midaz-helm-overview)                   |
| **Plugins**        | Pix, Pix Indirect, Bank Transfer                                                                                                             | [Plugins Helm guide](/en/platform/helm/plugins/plugins-helm-overview)             |
| **Reporter**       | Report generation service                                                                                                                    | [Reporter Helm guide](/en/platform/helm/reporter/reporter-helm)                   |
| **Access Manager** | Authentication and identity                                                                                                                  | [Access Manager Helm guide](/en/platform/helm/access-manager/access-manager-helm) |
| **Console**        | Web UI for managing the platform                                                                                                             | [Console Helm guide](/en/platform/helm/console/console-helm)                      |
| **Infrastructure** | OTEL Collector, Fetcher, Flowker, Tracer                                                                                                     | [Infrastructure Helm guide](/en/platform/helm/infrastructure/infrastructure-helm) |

For the full version compatibility matrix, see [Version compatibility](/en/platform/helm/helm-version-compatibility). For step-by-step installation instructions, start with the [Helm overview](/en/platform/helm/helm-overview) in the Platform section.

### BYOC variations

For products and Enterprise entitlements that support multi-tenancy, BYOC supports two configurations:

| Configuration     | Description                                              | Best for                                                      |
| :---------------- | :------------------------------------------------------- | :------------------------------------------------------------ |
| **Single-Tenant** | One dedicated environment per institution                | Large institutions with strict isolation requirements         |
| **Multi-Tenant**  | One environment serving multiple subsidiaries or clients | Institutions operating as a platform or managing subsidiaries |

<Note>
  Lerian Cloud is operated as a multi-tenant environment managed by Lerian. If you need dedicated, isolated infrastructure, choose BYOC Single-Tenant.
</Note>

## How your deployment model affects Midaz API integration

***

The Midaz API surface is identical across deployment models — same endpoints, same payloads, same responses. The difference is in how authentication and tenant scoping work.

**Lerian Cloud and BYOC Multi-Tenant (Midaz)**

Your tenant context is established automatically through your authentication token. There is no tenant header to pass and no tenant ID to manage manually.

* You authenticate via [Access Manager](/en/platform/access-manager/access-manager) and receive a JWT.
* That token includes your tenant context.
* Every API call is automatically scoped to your tenant — organizations, ledgers, accounts, and transactions are all isolated.
* You never interact with data from other tenants, and they never interact with yours.

**BYOC Single-Tenant (Midaz)**

Configure authentication with `PLUGIN_AUTH_ENABLED`. It defaults to `false` for local and development onboarding, but production deployments must set it to `true`; BYOC Multi-Tenant deployments also require it. In a permitted non-production single-tenant environment with authentication disabled, API calls do not require a token.

<Tip>
  For a deeper look at how tenant isolation works, see [Multi-tenancy](/en/multi-tenancy).
</Tip>

## At a glance

***

|                                 | **Lerian Cloud (SaaS)**                                 | **BYOC**                                                            |
| :------------------------------ | :------------------------------------------------------ | :------------------------------------------------------------------ |
| **Who manages infrastructure?** | Lerian                                                  | Your team                                                           |
| **Where does data live?**       | Lerian-managed cloud                                    | Your cloud or on-premises                                           |
| **Time to production**          | Weeks                                                   | Depends on your provisioning timeline                               |
| **Operational effort**          | Low — Lerian handles operations                         | Higher — your team operates the platform                            |
| **Best for**                    | Teams that want to focus on product, not infrastructure | Organizations with strict data residency or compliance requirements |

<Tip>
  Not sure which model fits? Jump to ["Which model is right for you?"](#which-model-is-right-for-you) below.
</Tip>

## Comparing the models

***

|                             | **Lerian Cloud (SaaS)**                            | **BYOC**                                                                                                                     |
| :-------------------------- | :------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------- |
| **Infrastructure**          | Managed by Lerian                                  | Managed by you                                                                                                               |
| **Data location**           | Lerian-managed cloud                               | Your cloud or on-premises                                                                                                    |
| **Data sovereignty**        | Data hosted in Lerian-managed cloud infrastructure | Data is hosted in your environment; you control residency and egress according to your architecture and contracted services. |
| **Security responsibility** | Shared (Lerian manages infra + app)                | Shared (you manage infra, Lerian manages app)                                                                                |
| **Time to production**      | Weeks — no infrastructure setup required           | Depends on your team's provisioning timeline                                                                                 |
| **Operational overhead**    | Low — Lerian handles operations                    | Higher — your team operates the platform                                                                                     |
| **Customization**           | Standard configuration                             | Full control over infrastructure and networking                                                                              |
| **Compliance**              | Lerian's environment meets security standards      | You ensure your environment meets your regulatory requirements                                                               |
| **Updates**                 | Applied by Lerian                                  | Applied by you via Lifecycle Management or Helm                                                                              |
| **Scalability**             | Managed by Lerian                                  | Managed by you                                                                                                               |

## Which model is right for you?

***

**Choose Lerian Cloud if:**

* You want to go live quickly without provisioning infrastructure
* Your team prefers to focus on product and integration, not operations
* You don't have strict requirements for data to remain in your own environment

**Choose BYOC if:**

* Regulatory or compliance rules require data to stay in your infrastructure
* You need full control over networking, encryption, and access policies
* Your organization has a platform or DevOps team ready to operate Kubernetes workloads
* You want to integrate Lerian into an existing cloud environment with specific architectural constraints

## Deployment and licensing

***

Deployment and licensing are related dimensions, but not every pairing is available. Lerian Cloud is Enterprise-only; Community supports self-managed Midaz BYOC. See [Community and Enterprise](/en/midaz/midaz-models).

|                         | **Community**                           | **Enterprise**                                    |
| :---------------------- | :-------------------------------------- | :------------------------------------------------ |
| **Lerian Cloud (SaaS)** | Not available                           | Available                                         |
| **BYOC**                | Available for Midaz only (self-managed) | Available (with Lifecycle Management and support) |

<Note>
  Lerian Cloud requires Lerian to manage infrastructure, operations, and lifecycle on your behalf — capabilities that are part of the Enterprise offering. That's why it is not available under the Community model.
</Note>

* **Community + BYOC**: You deploy and manage the source-available, ELv2-licensed Midaz software using the published Midaz Helm charts and documentation. Community support via GitHub and Discord. Other Lerian products are available to licensed customers under the Enterprise model.
* **Enterprise + BYOC**: Full BYOC with Lifecycle Management, dedicated support, SLA, onboarding, and access to plugins.
* **Enterprise + Lerian Cloud**: Lerian manages everything. You get the licensed platform modules without infrastructure responsibilities.

## What's next

***

<CardGroup>
  <Card title="Community and Enterprise" icon="scale-balanced" href="/en/midaz/midaz-models" cta="Compare licensing models">
    Understand the licensing differences and what's included in each model.
  </Card>

  <Card title="Getting started" icon="rocket" href="/en/getting-started" cta="Start here">
    Follow the step-by-step guide to set up your first Ledger and run transactions.
  </Card>

  <Card title="Security" icon="shield-halved" href="/en/midaz/security" cta="Read about security">
    Learn how the shared responsibility model works for each deployment option.
  </Card>

  <Card title="Deployment strategies" icon="server" href="/en/midaz/deployment" cta="Deploy with BYOC">
    Explore Kubernetes, Helm, and Terraform options for BYOC deployments.
  </Card>
</CardGroup>
