Infisical on Docker vs Kubernetes vs VMs

Docker, Kubernetes and virtual machines can all host self-hosted Infisical. This page explains how each model changes sizing, availability, upgrades, backup and operating effort, and which team fits which model.

On this page

Which Infisical self-hosting model fits your team: Docker, Kubernetes or VMs

A small platform team should start with Docker Compose on one Linux host, a team already running Kubernetes should use the official Helm chart, and a team that standardizes on virtual machines should use Linux packages or a single Docker container on a hardened VM. The documented options are a single Docker container, Docker Compose, the official Helm chart with bundled PostgreSQL and Redis, Linux packages, and AWS or GCP reference deployments. Each one answers the same question for you: who runs the host, applies its patches and takes its backups. Start with that question, then read the Infisical self-hosting overview for the exact steps each option requires.

The choice changes who operates the host, upgrades and backups. The Infisical feature set stays the same under every model. The core is MIT licensed under the Expat license in the repository LICENSE file, and content in any ee directory falls under the separate license in ee/LICENSE. Enterprise features such as SSO or gateways need enterprise licensing whichever host model you pick, so confirm the license scope with Infisical before you compare hosting effort. Also confirm that your secrets must stay inside your own network, because that requirement is what makes self-hosting necessary in the first place.

Before you commit, run three checks. First, decide whether the Helm chart's bundled PostgreSQL and Redis meet your production standard, or whether you will point Infisical at database and cache services your team already operates, and confirm that path in the vendor documentation. Second, plan the host lifecycle for the model you chose. A single Docker host or single VM is one point of failure unless you design redundancy yourself, so ask Infisical which high availability pattern it supports for each option. Third, remember that the Kubernetes operator and agent deliver secrets to workloads in whichever cluster you run, so that side needs the same network and access review as the server. Write down who restores the database in a test, because a backup you have never restored is not yet a plan.

Docker, Kubernetes and VMs side by side on operating factors

This table compares the day-to-day operating work of running Infisical on Docker, on Kubernetes with the official Helm chart, and on Linux VMs with Linux packages. Read each row as a question to settle before choosing, and verify any cell marked to confirm with Infisical or in your own test environment. The Helm chart is the path with documented bundled PostgreSQL and Redis, so settle the dependency question early for the other two.

FactorDocker (single container or Compose)Kubernetes (official Helm chart)Linux VMs (Linux packages)
Documented install methodSingle container or Docker Compose, both listed in the self-hosting documentation.Official Helm chart, listed in the self-hosting documentation.Linux packages, listed in the self-hosting documentation. To confirm: supported distributions and package names.
Bundled dependenciesTo confirm: whether the container or Compose file runs PostgreSQL and Redis, or expects you to supply them.Helm chart bundles PostgreSQL and Redis. To confirm: whether you can point it at external instances.To confirm: which PostgreSQL and Redis instances the packages expect and whether they install them.
Who owns the hostYour team owns the Docker host, OS patching, container runtime and network exposure.Your platform team owns the cluster, nodes, ingress and storage. Infisical runs inside it.Your team owns the VM, OS patching, service management, TLS termination and firewall rules.
Upgrade pathChange the image version and restart. To confirm: migration steps and expected downtime in the release notes.Change chart and values versions. To confirm: chart-to-application version pairing and migration handling.Install the newer package and restart services. To confirm: upgrade order, migrations and rollback steps.
Backup ownershipYour team backs up the database volume, configuration and instance keys. To confirm: the exact list needed for restore.Your team owns backups, including the bundled PostgreSQL. To confirm: chart persistence and backup options.Your team owns PostgreSQL, Redis, host snapshots and configuration. To confirm: restore steps for each.
High availability designA single container or Compose file describes one host. To confirm: any documented multi-host option.Replicas, disruption budgets and database resilience depend on chart values. To confirm: supported replica counts for Infisical and the bundled database.To confirm: whether the packages support more than one application node and how database failover is documented.
Skills neededContainer runtime, Compose, reverse proxy and TLS.Kubernetes, Helm, persistent volumes, ingress and secret handling for the cluster itself.Linux administration, service management, PostgreSQL and Redis operations, reverse proxy and TLS.
Fit by teamSmall teams or a proof of concept with one clear owner. Confirm it meets your availability and backup needs.Teams already operating clusters that want Helm-managed upgrades and placement alongside other workloads.Teams standardized on VMs that want host-level control without containers.
Enterprise featuresSSO, gateways and other enterprise features need enterprise licensing, per the self-hosting documentation.SSO, gateways and other enterprise features need enterprise licensing, per the self-hosting documentation.SSO, gateways and other enterprise features need enterprise licensing, per the self-hosting documentation.

Infisical self-hosting components in Docker, Kubernetes and VMs

Infisical self-hosting combines a server, a database and a cache, and each packaging route assigns those pieces to different owners. The cards cover the server deployment routes and the Kubernetes operator, which is a client-side component. For each route, confirm the supported database and cache versions and the upgrade path in the official self-hosting documentation before you choose.

Single Docker container

A single container runs the Infisical server on one host and is the fastest route to a working instance for evaluation. The host carries only the application, so the database and cache sit outside the container and must be reachable from it. Confirm in the self-hosting documentation which PostgreSQL and Redis versions the container expects, how it reads its encryption and connection settings, and how you back up the database. One host gives you no redundancy, so plan high availability as a separate piece of work.

Self-hosting overview

Docker Compose stack

Compose describes the Infisical server and its supporting services in one file, so one host runs several containers together. Confirm which services the stack includes by default, whether PostgreSQL and Redis are bundled or must point at external instances, and where persistent volumes live on the host. Bundled services share the host's disk and memory with the application, so size the host for all of them. Upgrades change image tags across the whole stack, so test new tags against a copy of the database before you touch production.

Helm chart with bundled databases

The official Helm chart deploys Infisical into a Kubernetes cluster and can bundle PostgreSQL and Redis, so the cluster runs the database and cache as well. Bundled instances suit evaluation, but you still own backups, upgrades and storage for them. Confirm in the documentation whether the bundled PostgreSQL and Redis are meant for production, how persistent volumes and backups are configured, and whether the chart can point at external managed services instead. Your platform team carries these duties alongside the rest of the cluster.

Self-hosting overview

Linux package installation

Linux packages install Infisical directly on a virtual machine, and the operating system manages the service lifecycle. Confirm which distributions are supported, which PostgreSQL and Redis versions the package expects, and whether it installs those services or relies on instances you already run. Your VM team owns OS patching, service restarts and database maintenance, so write those duties into the runbook. Check the release notes before each upgrade, since the package path determines how config changes reach the host.

AWS and GCP reference deployments

The vendor's AWS and GCP reference deployments show how to run Infisical on a cloud provider's compute, database and networking services. Treat them as a starting architecture to adapt, since the reference sets assumptions about regions, networking and managed services that your landing zone may not share. Confirm which managed database and cache services the reference uses, how keys and secrets are stored, and who maintains the templates after the first deployment. Cloud accounts are yours, so IAM roles, network egress and cloud spend belong in your own model.

Kubernetes operator for workloads

The Infisical Kubernetes operator delivers secrets to workloads in a cluster and reloads deployments when those secrets change. It is a client-side component that runs beside your applications, and it does not host the Infisical server, so it does not replace any server route above. Confirm which Kubernetes resources it manages, how it authenticates to your Infisical instance, and what happens to workloads during a server outage. Count it as a second component with its own upgrades, RBAC and failure modes.

Infisical README

Each model runs the same three roles inside the client network

The diagram reads left to right. Workloads on the left fetch secrets through the Infisical agent or the Kubernetes operator, and each request lands on the Infisical server in one of three hosting models. Each server then reads and writes its own PostgreSQL database and Redis cache, which sit in the same host lane. The outer boundary marks the client network, where the client's own firewall, segmentation, DNS and access controls apply. Check which database and cache each model deploys by default, whether the Helm chart's bundled PostgreSQL and Redis fit your backup plan, and where traffic crosses that boundary.

Each model runs the same server, database and cache roles inside the client boundary.

Infisical self-hosting sizing and high availability: what to confirm before you choose

The sources behind this page do not give sizing numbers, replica counts or failover designs for any Infisical host model, so none are stated here. Do not take capacity figures from secondary articles either. Start from the shape of your secrets estate instead. Count the projects and environments, since each one has its own dashboard and access model. Count the machine identities that will authenticate through Kubernetes, AWS, GCP, Azure, OIDC or Universal Auth. List the secret sync targets such as GitHub, Vercel and AWS, and the dynamic secret load for PostgreSQL and MySQL, because each one generates ongoing requests against the platform. Those counts, measured in your own environment, are the inputs any vendor or partner sizing should start from.

The database and cache tiers affect availability more than the choice of host. The Helm chart bundles PostgreSQL and Redis, which suits a first deployment, but you must confirm whether those bundled instances meet your availability target or whether you should point Infisical at PostgreSQL and Redis that your database team already operates. Then decide whether the host must survive a node or zone loss. A single container on one virtual machine has one failure domain, and a Kubernetes cluster spread across zones only helps if the database is spread the same way. Ask for the database high availability design: replication mode, failover method, how Redis is run, and how the application reconnects after a failover. Ask the vendor for the reference architecture for your chosen model, including whether the AWS or GCP reference deployments match your topology. Start with the Infisical self-hosting overview.

Ask for a tested restore before you rely on any design. Request the documented restore procedure for PostgreSQL, the Redis data your deployment depends on, and the encryption keys the instance needs to read stored secrets, and confirm with the vendor where those keys live and how they are backed up. Secret versioning and point-in-time recovery only help if the restored database still holds the version history. Have your platform team run a restore into a separate environment, then check that a known project, environment and machine identity behave as expected. If you engage DeployOpen, the fixed written scope should name the reference architecture, the database high availability design and the restore test as deliverables, and state which steps stay with your team. Gateways need enterprise licensing, so confirm whether they are part of your design.

Upgrades, backups, monitoring and skills for each host model

This table compares what each host model asks of your team after go-live: applying a release, backing up the database, monitoring, patching the host, rolling back and the skills required. Check each release against the Infisical GitHub releases page, where v0.166.8 was published on October 15, 2026. Where the docs do not give a step, the cell lists the question to put to Infisical or to your own platform team, so the answer is confirmed before the design is signed off.

TaskDocker or ComposeKubernetesLinux VMs
How a release is appliedChange the image tag to the new release, then redeploy. Ask Infisical whether database migrations run on startup.Update the Helm chart and image tag, then roll out. Ask whether the bundled PostgreSQL and Redis upgrade with the chart.Install the new Linux package or binary. Ask Infisical for the supported upgrade path from your installed version.
Database backup and restoreBack up PostgreSQL and any Redis data yourself. Confirm which volumes hold state before the first deployment.Ask whether the chart's bundled PostgreSQL and Redis are supported for production, or whether external services are required.Schedule PostgreSQL dumps or snapshots on the host. Test restores on a separate machine before relying on them.
What is monitored and by which toolingContainer health and logs through your existing host agent. Ask Infisical which health endpoints and metrics it exposes.Pod probes, metrics and logs through your cluster monitoring stack. Confirm which metrics the platform exposes.Host agent, systemd unit status and process logs. Confirm which health checks and metrics the release provides.
Who patches the host operating systemYour team patches the Docker host and rebuilds images as releases arrive.Your platform team patches cluster nodes. Confirm node upgrade windows with the cluster owner.Your team patches the operating system and its Linux package dependencies on the VM.
Rollback approachRe-pin the previous image tag. Ask Infisical whether schema changes block a downgrade.Roll back to the previous Helm revision. Ask whether schema migrations are reversible before upgrading.Reinstall the previous package and restore the pre-upgrade database snapshot. Confirm this sequence with Infisical.
Skill set each model needsDocker or Compose, reverse proxy and TLS configuration, PostgreSQL and Redis administration.Kubernetes, Helm, persistent volumes, ingress, secret handling and database operations.Linux administration, systemd, package management, TLS configuration and PostgreSQL operations.

How to move Infisical from a pilot host to production without losing secrets

Moving Infisical from a pilot host to production changes the host, the database and the key handling, so it needs its own sequence. The five steps below confirm the target model, prove a non-production deployment, test backup and restore, plan the cutover of identities and syncs, and record ownership. The result is a runbook that a second team can repeat and audit.

  1. Confirm the target host model

    Match the target model (a single Docker container, Docker Compose, the official Helm chart, Linux packages, or the AWS or GCP reference deployments) to your security, network and availability requirements. The security lead signs off on requirements, and the platform owner picks the model. Moving between models is a host change, so confirm in the official self-hosting overview how the database and any encryption key material carry over. Also confirm which dependencies each model bundles, and which features, such as SSO or gateways, need enterprise licensing. Done when the requirements are signed and the chosen model's dependencies and license needs are written down.

  2. Deploy the chosen model in non-production

    The platform team deploys the chosen model in a separate non-production environment, using the database engine, TLS approach and identity provider settings planned for production. Confirm every install command and version against the current official documentation before you run it. Register one test project, environment and machine identity for each auth method you plan to use, such as Kubernetes, AWS, OIDC or Universal Auth. Done when a test workload reads a test secret through the agent or Kubernetes operator and the access appears in the logs you plan to keep.

  3. Test database backup and restore

    The database owner backs up the non-production instance and restores it to a clean host, following the official backup method. Confirm what the restore needs besides the database, including encryption key material, because without it secrets may stay unreadable. Check that projects, environments, secret versions and machine identities are present and that a sample secret reads correctly. Treat each step's duration as your own measurement to confirm. Done when the restored instance passes the same checks as the original and the database owner signs the restore record.

  4. Plan the identity and sync cutover

    Inventory every machine identity and its auth method (Kubernetes, AWS, GCP, Azure, OIDC or Universal Auth), every secret sync to targets such as GitHub, Vercel or AWS, and every workload that reads secrets through the agent or Kubernetes operator. For each one, record the new host address and any issuer or trusted-source value that changes, and confirm it with the owner of the target system. Confirm the dependency order so each identity works on the new host before the syncs that depend on it are switched, and agree a change window with each owner. Done when the cutover table lists each identity, sync and workload with its owner, its change and its rollback step.

  5. Record the runbook and ownership

    Write the runbook with the exact commands from the official documentation, each marked as an item to confirm until it has been run in non-production. Assign a named owner for the host, database, key material, machine identities, syncs, upgrades and on-call response. Keep the pilot host available as the rollback path until the production cutover is verified. Done when every owner has signed the runbook and the tested restore record and cutover table are attached to it, ready for the next upgrade.

Which team fits which Infisical host model

A small platform team with one Linux host and no Kubernetes already carries OS patching, TLS termination, database care and on-call for everything on that machine. Self-hosting Infisical adds a container or Compose stack, a PostgreSQL database, Redis and a backup and upgrade routine for each. The work is small in count but concentrated, so one person often owns most of it. Start with the self-hosting overview to confirm which packages and dependencies your host must carry.

  • Container and Compose upkeep: Pin the image version, read release notes before each change and rehearse upgrades on a copy of the host. Check the Infisical releases page for the current line, v0.166.8, published on October 15, 2026.
  • Backups of two stateful services: Back up PostgreSQL, document how Redis data is kept and test restores on a schedule before anyone depends on them.
  • Single point of failure: One host means one maintenance window for every change. Decide what outage your secret consumers can tolerate before choosing this model.
  • Skills to train: Linux administration, Docker or Compose, and PostgreSQL backup and restore. Kubernetes knowledge is not required for this model.
  • When Kubernetes fits better: If the organization plans more services on a cluster or needs multiple replicas, one host stops meeting that need. SSO and gateways need enterprise licensing, so include that in the decision.

Before committing, confirm your host's restore time against the outage your consumers accept, and confirm enterprise licensing for any SSO or gateway features you need.

Why licensing and enterprise features do not change with the host

The license scope is the same whichever host you choose. Infisical's repository is licensed under the MIT Expat license, except for content in any ee directory, which sits under the separate license in ee/LICENSE. A Docker container, a Kubernetes deployment and a virtual machine all run the same repository, so the same split applies on each one. The host determines who patches the operating system, where PostgreSQL and Redis run and how traffic reaches the service. It does not determine which files are MIT and which are covered by the enterprise terms. Read the Infisical LICENSE file once, note which paths your build uses, and carry that finding across every host you evaluate.

The self-hosting documentation states that enterprise features such as SSO or gateways require enterprise licensing, and that requirement applies to every host model. A single container, the Helm chart, Docker Compose and the Linux packages all need the same license before SSO or gateways can be enabled. Before you choose a host, write a feature list: the login methods your operators need, any gateway you plan to place in front of internal systems, and the access controls your assessors will ask about. Map each item to the license tier that covers it, and confirm with the vendor in writing which plan terms apply to a self-hosted instance running in your own network. The Infisical self-hosting overview lists the deployment options that you will be comparing.

Licensing cost is separate from host cost, and the two are quoted by different parties. Host costs cover virtual machines or cluster nodes, storage, database and cache capacity, backups and the time your team spends operating them. The license is a vendor charge for the enterprise features you enable, and it may recur on terms set in the vendor's plan. Choosing Kubernetes over VMs changes the host bill and the operating effort, but it does not lower or raise the license line. When you request quotes, ask for the license, support and any implementation work as separate lines. Confirm the pricing unit, which environments the license covers (production, staging and disaster recovery), and whether the license carries over if you move to a different host later.

Infisical self-hosting questions buyers ask before choosing a host model

What drives the cost of self-hosting Infisical on Docker, Kubernetes or VMs?

Infrastructure is one recurring cost, and you pay it to your own cloud provider or data center. The host model sets how many machines, load balancers and storage volumes you run, and who maintains the orchestration layer. Every model also needs PostgreSQL and Redis. The official Helm chart can bundle both, but production teams often run them as separately operated services, which adds hosting and backup cost. Staff time is easy to underestimate. It covers upgrades, tested backups, certificate rotation, monitoring and on-call coverage, and it recurs for as long as the system runs. Licensing is the other driver: Infisical's core is MIT licensed, but its self-hosting documentation says enterprise features such as SSO or gateways require enterprise licensing. Ask the vendor and any implementation partner to split one-time setup from recurring run costs, and to show which of those lines change with your host model.

How long does it take to deploy self-hosted Infisical?

The time depends on the host model, how much platform already exists, and how many approvals and dependencies sit outside the build team, so no single figure applies. A single Docker container or Docker Compose stack has the fewest moving parts. A Helm chart on an existing cluster adds cluster readiness, ingress, storage and secret handling to the work. Delays usually come from DNS, TLS certificates, network access, identity provider setup for SSO, and database and backup targets that wait on other teams. Release choice also matters: Infisical v0.166.8 was published on October 15, 2026, so confirm the version you will pin and how you will test upgrades to it. DeployOpen agrees timelines in writing as part of a fixed-scope engagement before work starts, so ask for a schedule that names the owner of each dependency.

Can a platform engineering team run self-hosted Infisical without outside help?

It can, if the team already runs containers or Kubernetes, operates PostgreSQL and manages TLS for other services. Installation is documented through Docker, Docker Compose and the official Helm chart, so the harder part is usually operations: scheduled backups with tested restores, upgrade windows, key handling for the encryption material, monitoring, and on-call coverage for a service that application deployments depend on. Before deciding, check three things. Does a named person own each operational task on a schedule? Do you need enterprise features that require a paid license? Has your staff run stateful dependencies like these before? If any answer is no, a fixed-scope setup with handover or an ongoing retainer for upgrades and continuous support can fill the gap. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure.

What does a self-hosting project need from our team?

Name an owner for the platform, the database, network and DNS, identity integration and key management before work starts. Expect decisions in four areas. Network access covers which subnets and clients reach the Infisical endpoint, TLS certificates, and whether gateways must reach private resources. Database decisions cover the PostgreSQL and Redis topology, backup targets and retention. Key management decisions cover where the encryption key material is held and who can recover it. Host model decisions cover Docker, Kubernetes or virtual machines, based on the platforms your team already operates. Also confirm whether SSO or gateways need an enterprise license, since Infisical's self-hosting documentation says those features require one. A written scope lists these inputs and their owners, which keeps the schedule and the handover clear.

Is Kubernetes required to self-host Infisical?

No. Kubernetes is one documented option. Infisical's self-hosting documentation lists a single Docker container, Docker Compose, an official Helm chart with bundled PostgreSQL and Redis, Linux packages, and AWS or GCP reference deployments. Kubernetes fits when your organization already runs clusters with the ingress, storage, backup and policy tooling your platform team trusts. Docker Compose or Linux packages on virtual machines fit when you want fewer moving parts and no cluster to operate. Keep the Kubernetes operator separate in your planning: it delivers secrets to workloads and reloads deployments, so confirm connectivity from those clusters to the Infisical server, wherever the server runs. Check the current option list in the Infisical self-hosting overview before you commit.

What should we ask for in a written quote for self-hosting Infisical?

Ask for a quote that lists scope, deliverables, assumptions and timeline in one written document. DeployOpen does not publish a price list, and its quotes follow from the written scope, so the document should show what drives the size of the work. Ask for:

  • The host model and every system in scope, including the database, Redis, backups and any SSO or gateway configuration.
  • One-time items, such as planning, build, hardening, integration and handover, shown separately from recurring items.
  • Recurring items, such as upgrades, monitoring support and continuous testing, with the retainer terms.
  • Client responsibilities and the named owner each one depends on.
  • Licensing assumptions, including whether an Infisical enterprise license is part of the quote or bought separately.
  • Acceptance criteria and the verification step that closes the work.

Fixed-scope engagements agree scope, deliverables and timelines in writing before work starts, so later changes should go through a written change request.

How DeployOpen scopes, delivers and supports Infisical deployments

DeployOpen plans, implements, integrates, backs up, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Infisical, that means choosing the deployment target with your team, building it against your identity and secrets requirements, and handing over the runbooks your operators need. Most engagements are fixed-scope, so the deployment path you pick is written down before work begins.

How we scope

  • The written scope names the deployment target: Docker, Compose, the Helm chart, Linux packages or VMs.
  • Scope lists the sync targets, dynamic database secrets and machine identity methods (Kubernetes, AWS, OIDC or Universal Auth) in use.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts; ongoing support is a separate retainer.

How we build

  • Build the Infisical stack in your infrastructure, placing PostgreSQL and Redis where your residency and backup rules require.
  • Configure SSO, access control and audit logging, and confirm which of these need an enterprise license before the build starts.
  • Wire the Kubernetes operator or agent into the workloads that need secrets, and test each delivery path.

How we hand over

  • Hand over runbooks for upgrades, backup and restore, and the Helm, Compose or VM configuration files as they were deployed.
  • Document the access model: machine identities, RBAC roles, approval workflows and which secrets sync to which platforms.
  • Assemble configuration, logging and access evidence for your compliance team. DeployOpen does not issue audit reports.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering Infisical releases and your chosen deployment target.
  • Plan upgrades against the Infisical release notes, since Docker, Kubernetes and VM upgrades each touch different parts of the stack.
  • Confirm in the written scope how incidents, restores and retests are handled, and what response commitments apply.

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.