TigerBeetle deployment options: which model fits your team
For a team that must run TigerBeetle in production and choose between Docker, Kubernetes and VMs, the six-replica layout across three sites sets the hard rule, so the decision depends on which platform you can run reliably across those failure domains. The TigerBeetle docs recommend 6 replicas for any production cluster, ideally across 3 sites with 2 replicas each, with each replica's data file on a separate disk and machine. Electing a new primary needs 4 of 6 replicas, and the cluster stays available while at least 3 of 6 machines and the primary are up. A layout that places two or more replicas on one host or in one site can therefore lose more than one replica in a single failure, so the first test for any option is whether it keeps each replica on its own machine and each site's pair intact during normal operation and restarts.
Docker fits a team that wants explicit placement: one container per replica, each bound to a named host in a named site, with its data volume on that host's disk. It is the better fit when your operators already run Docker on hosts in all three sites and can script placement, restarts and volume attachment without a cluster scheduler. It is the weaker fit when the team expects the runtime to reschedule replicas on its own, because a container that starts on another host without its original data volume is a data integrity risk that needs a tested runbook. VMs map most directly to the docs' separate disk and machine guidance, since each replica gets its own virtual machine and virtual disk. They fit a team whose virtualization group already runs the three sites, keeps the VMs in separate failure domains and owns storage placement, backups and the upgrade path. Confirm with that group who controls host and datastore placement before the first replica is built.
Kubernetes fits a team that already runs a cluster in each site, gives every pod its own persistent volume, and can enforce placement rules: six replicas across three sites, two per site, no two on one node. It is the better fit when those rules live in the cluster and are checked after every change, since the scheduler otherwise decides placement. If your platform team cannot show how the rules hold through a node drain or a site outage, the orchestration layer hides the failure domains you need to reason about. Before choosing, confirm in the TigerBeetle cluster guide that your exact placement is supported, how a replica rejoins after its disk is replaced, and whether volume or hypervisor snapshots are safe on a running replica. Pin the release too: 0.17.9 was released on July 6, 2026, and the project still uses 0.x version numbers.
Docker, Kubernetes and VMs side by side for TigerBeetle
This table compares how TigerBeetle replicas would be placed, upgraded, backed up and operated on Docker containers, Kubernetes or plain virtual machines. Rows marked as TigerBeetle docs rest on the project's cluster guidance, while rows marked as confirm need the runtime vendor's documentation or your own environment. The main takeaway: the replica layout and failure domain plan matter more than the runtime you pick, so settle those first.
| Factor | Docker | Kubernetes | VMs |
|---|---|---|---|
| Replica placement (TigerBeetle docs) | Six replicas on six separate hosts, each with its own disk. Co-locating containers breaks that layout. | Six pods with anti-affinity and one volume per pod. Confirm the scheduler spreads them across nodes. | Six VMs on separate hypervisor hosts, each with its own virtual disk. Confirm host placement rules. |
| Failure domains (TigerBeetle docs for layout) | Docker does not define sites, so you map three sites to host groups yourself. | Zones or node pools can model sites. Confirm topology spread keeps two replicas per site. | Hypervisor clusters or availability zones model sites. Confirm hosts share no power or network path. |
| Storage per replica (TigerBeetle docs for one disk each) | Dedicated volume per replica on its own disk. Confirm fsync and latency behavior with the storage driver vendor. | One persistent volume claim per replica on dedicated block storage. Confirm fsync and latency with your storage vendor. | One dedicated virtual disk per replica on separate datastores. Confirm fsync and latency with the hypervisor vendor. |
| Upgrade mechanics (confirm in release notes) | Replace one replica container at a time and wait for it to rejoin before the next. | Rolling StatefulSet updates can work, but confirm the update order keeps quorum at every step. | Upgrade one host at a time with your own scripts, order and rollback plan. |
| Backup (confirm in your environment) | Copy replica data from volumes using a procedure you define and test on a restore. | Volume snapshots per replica. Confirm they are consistent and that restores are tested. | Hypervisor snapshots or file copies per replica. Confirm consistency before you rely on them. |
| Monitoring (confirm in your environment) | Container health, restarts and volume usage. Confirm which replica-level metrics the release exposes. | Pod restarts, volume usage and node health through your cluster stack. Confirm replica-level signals. | Host and disk metrics plus process checks. Confirm which replica-level signals the release exposes. |
| Operating skills (confirm with your team) | Linux, container networking and volume management. Less platform overhead, more hand-run steps. | Cluster administration, storage classes and StatefulSet behavior. Most platform overhead of the three. | Hypervisor, Linux and disk layout administration. Familiar to traditional infrastructure teams. |
| Minimum team profile (confirm with your staffing) | Linux and container depth, with on-call cover for replica host failures. | An existing platform team that already runs clusters and their storage. | An infrastructure team that owns hypervisors, disks, patching and restores. |
Why the six-replica layout drives the sizing decision
The TigerBeetle docs recommend six replicas for any production cluster, ideally spread across three sites with two replicas in each site. Each replica keeps its data file on a separate disk and a separate machine, so the one disk and one machine per replica rule becomes the unit you size against. The availability thresholds follow from that count. Electing a new primary needs 4 of 6 replicas, and the cluster stays available while at least 3 of 6 machines and the primary are up. Read the TigerBeetle cluster docs before sizing, because these thresholds set the minimum surviving capacity you must keep. The first sizing question is therefore how many independent machines you can fund and place in separate failure domains, before you look at CPU or memory per node.
Packing several replicas onto one host breaks the one disk and machine rule and quietly shrinks the group. If two replicas share a host, one hardware or hypervisor failure removes both at once, so a six-replica cluster behaves like a four-replica cluster for that event. The site arithmetic works the same way. With two replicas per site, losing one site removes two replicas and leaves exactly 4, the number needed to elect a new primary. A second failure during that window can stop elections, and further loss would take the cluster below the 3 of 6 machines needed for availability. Illustrative example: if a team places three replicas on each of two hosts, losing one host leaves 3 replicas, which is below the 4 needed to elect a new primary.
Before you choose Docker, Kubernetes or VMs, count the failure domains you can separate in practice and map each replica to exactly one of them. Ask the platform team which physical hosts, storage volumes and sites sit under each runtime, and whether host groups or node pools can be pinned so that no two replicas share a host. In Kubernetes, confirm that scheduling constraints such as pod anti-affinity and a persistent volume per replica are configured and tested, not assumed. In Docker or on VMs, confirm that host placement is written down and enforced by your deployment tooling. If you have fewer than three sites, decide in writing whether that loss scenario is acceptable and document it. Runtime choice changes how placement is enforced, but the failure domain count comes from the layout you commit to.
What each model adds between TigerBeetle and the hardware
Each option inserts a different layer between TigerBeetle's replicas and the hardware, and each layer changes who patches, places and recovers a replica. Read the cards from the runtime down to the network, because a placement choice at one layer can undo the separation you set at another. Confirm each item in the cluster docs before you commit.
Container runtime under Docker
Under Docker, your team owns the image build, the container runtime configuration and the host kernel that every container on that machine shares. The main risk is treating a container as a machine: restart policies, resource limits and volume mounts can change which data file a replica reattaches to after a restart. Confirm in the cluster docs that each replica keeps its own data file on a separate disk and machine, then test a container restart on staging and check which file it opens.
Cluster docsOrchestrator scheduling and persistent volumes
Kubernetes adds a scheduler that decides which node runs each replica, plus persistent volumes that decide which disk follows that replica after a reschedule. Your team owns the placement rules, the storage class, the volume reclaim settings and the order of upgrade rollouts. The risk is a scheduler placing two replicas on the same node, or a volume binding to the wrong disk, which weakens the separation the cluster docs call for. Confirm these settings against the docs before the first production deploy, and force a reschedule in staging to see where the replica lands.
Hypervisor and guest operating system
With virtual machines, the hypervisor and the guest operating system sit between TigerBeetle and the hardware, so your team owns both patch cycles, the placement of VMs across physical hosts and the virtual disk format. The risk is that two replicas you intended to run on separate machines land on one physical host, which quietly shares their failure domain. Ask your hypervisor vendor how anti-affinity rules are set, and check that the machine-level separation in the cluster docs still holds when automated host maintenance or migration is enabled.
Storage behind each replica
Each replica writes to its own data file, so the storage behind it is a separate failure domain that your team must size, monitor and back up. Shared network volumes can make replicas look independent while they depend on one array, and a slow disk on one replica can delay how quickly that replica acknowledges work. Confirm the disk-per-replica layout and the durability behavior in the cluster docs, then test the loss of one replica's disk in staging before production.
Network paths between replicas and clients
Every option adds network hops: replicas must reach each other to elect a new primary, and application clients must reach the cluster through whatever service addresses, proxies or port mappings your platform provides. Your team owns the addresses, firewall rules and any TLS or proxy in between. The risk is a proxy that hides which replica answers, or a cross-site link that fails while the cluster stays up on the other side. Confirm which addresses the client libraries expect, and test what happens when a site link drops.
How six replicas map onto three sites
The diagram starts with client applications on the left, which send requests into the TigerBeetle cluster. The cluster has six replicas, two at each of three sites, and each replica writes its data file to its own disk. Each site is drawn as a failure domain, so losing one site removes only its two replicas. The TigerBeetle docs state that the cluster stays available while at least three of six machines and the primary are up, and that electing a new primary needs four of six replicas. Before you adopt this layout, check that no two replicas share a disk or machine, and that each site has independent power and network paths.
Production layout from the TigerBeetle docs: each site is a failure domain.
Upgrades, backups and monitoring for each model
This table compares how upgrades, backups, monitoring, failure recovery and staffing change across Docker, Kubernetes and virtual machines for a TigerBeetle cluster. Read each row alongside the release notes for your version, since TigerBeetle still uses 0.x numbering and version 0.17.9 was released on July 6, 2026. The main takeaway is that replica placement matters as much as the platform choice, because the docs recommend six replicas on separate machines.
| Area | Docker | Kubernetes | Virtual machines |
|---|---|---|---|
| Upgrades | Pin the image tag and restart replicas one at a time, following the release notes for the version in use. | Change the StatefulSet image and let pods roll one at a time. Confirm the update strategy and disruption limits in the release notes. | Replace the binary or package on one machine at a time, restart its service, and confirm the replica is healthy before the next. |
| Backups | Back up each replica's data file from its own host volume. Confirm the procedure and consistency guarantees with the TigerBeetle docs. | Snapshot persistent volumes per replica if your storage class supports it. Confirm snapshot consistency and restore steps with the docs and your storage vendor. | Copy each replica's data disk with your backup agent. Confirm whether a snapshot of a running VM is safe, and test a restore with your team's tooling. |
| Monitoring and alerting | Scrape container and host metrics with your existing agent. Confirm which TigerBeetle metrics the release exposes before building alerts. | Use pod metrics, probes and events. Alert on replica restarts and pending pods. Confirm the metric names for your version. | Use host agents and systemd service checks. Alert on process exit, disk fill and host health. Confirm which replica-level signals the release exposes. |
| Failure recovery | Losing a host can take out several replicas if placement is wrong. Electing a new primary needs 4 of 6 replicas. | Rescheduling restores a lost replica only when anti-affinity spreads replicas across nodes. Confirm volume reattach behavior with your storage. | Rebuild a failed VM from its disk or backup. Electing a new primary needs 4 of 6 replicas, so keep the surviving replicas healthy. |
| Skills each model needs | Container runtime and host administration, stateful container volumes, and a clear placement plan for six replicas across hosts. | StatefulSets, persistent volumes, anti-affinity and disruption budgets, plus experience running stateful workloads on Kubernetes. | Linux administration, systemd, disk layout and configuration management. Often familiar to existing Linux operations teams. |
| Best fit | Test clusters or pilots where the team can still place each replica on its own host. | Teams already running stateful workloads on Kubernetes with a storage class they trust. | Teams standardizing on Linux VMs with change control and existing backup tooling. |
How to roll a TigerBeetle upgrade across six replicas
This sequence takes a six-replica TigerBeetle cluster from its running version to a target release, with health checked at every replica and a tested way back. The platform team owns every step, and each ends with a check showing what changed, in what order, and how to roll back. The ordering rules and health gates come from the vendor documentation for the target version, which the team must confirm before staging.
Inventory running and target versions
The platform team records the version each of the six replicas runs, along with where each one lives: its host or container node, its machine, and the disk holding its data file. It then compares those versions with the latest TigerBeetle release, 0.17.9, released July 6, 2026, listed on the TigerBeetle releases page, and confirms the target version with the application owners. Placement matters because the docs recommend each replica's data file on a separate disk and machine, so any drift shows up here. The step is done when one inventory lists six replicas, their versions, their placement and the agreed target.
Read release notes and ordering rules
The team reads the release notes and the cluster documentation for the target version and writes down the ordering rules it must follow. Confirm in the docs which replica goes first, how many may be out at once, and whether the version supports rollback. Check that the planned order keeps the cluster within the documented thresholds: electing a primary needs 4 of 6 replicas, and availability holds while at least 3 of 6 machines and the primary are up. The step is done when a written checklist, backed by the docs, exists and every open question has gone to the vendor.
Rehearse the upgrade on staging
Build a staging cluster with the same six-replica shape as production: the same machine count, the same site split, and one data file per disk and machine. Run the ordering checklist against representative transfer traffic and check health after each replica. The step produces a rehearsal log with each replica's version, the order used, and the health result at each step. Any deviation becomes a checklist change before production. Fewer machines in staging will not test the same quorum behavior.
Upgrade replicas in documented order
On production, upgrade one replica at a time in checklist order unless the docs allow otherwise, replacing the binary or image while the replica keeps its data file. On Docker, replace the container with the target image on the same data volume. On Kubernetes, check whether the workload's update strategy waits for readiness before it moves to the next pod. On virtual machines, stop the process, replace the binary and restart against the same disk. Confirm each mechanic in the docs for your version before you rely on it. The step is done when all six replicas report the target version.
Check cluster health between each replica
After each replica restarts, the team checks four things before moving on: the replica rejoins and reports the target version, a primary is elected or still in place, the cluster has enough replicas for the documented thresholds, and client requests complete without new errors in application logs. Use the health commands and metrics listed in the docs for your version, and record each result in the change log. If a check fails, stop, do not start the next replica, and follow the rollback decision point in the runbook. The step is done when a health record exists for every replica, with no open failures.
Keep and test the rollback plan
Before the first replica changes, the team writes a rollback runbook: the trigger conditions, the previous image or binary kept on hand, backups of each replica's data file taken under the procedure the docs describe, and the commands for reverting each replica. Confirm in the docs whether the target version can be rolled back to the prior version, and do not assume a downgrade works. Test the runbook on staging by reverting at least one replica and checking health afterward. The step is done when the runbook has been run once in staging, the backups restore cleanly, and the platform owner has signed off.
Record the upgrade and close out
The platform team finishes with a change record: the starting and ending version for each replica, the ordering used, the health results, the rehearsal log, and the rollback test. Update the inventory so it shows the new state, and store the record where compliance reviewers can find it. If an outside partner ran parts of the work, the handover includes the runbook and checklists so the internal team can repeat the sequence on the next release. The step is done when the inventory matches the running cluster and someone outside the upgrade team has reviewed the record.
Which team fits which deployment model
This model fits a team that already runs virtual machines in its own data centers and has no container platform. The team patches hosts, manages storage and runs failover for its other databases, so TigerBeetle becomes one more stateful service on hardware the team already understands. The decisive question is physical placement, since the recommended layout calls for 6 replicas across 3 sites with 2 replicas each, on separate disks and machines.
- Skills: Linux administration, storage and network configuration, service supervision, and experience running and restoring a consensus cluster.
- Change control: Host patching and TigerBeetle upgrades go through the existing change board. Confirm the rolling upgrade order for your version before scheduling, using the 0.17.9 release (July 6, 2026) as the reference point for your current build.
- On-call: Pages for host failure, disk errors and replica lag need a runbook that names who replaces a machine and how a replica rejoins the cluster.
- Backup: Back up each replica's data file on a schedule and test restores on a separate host, because a backup nobody has restored is unproven.
The VM model is the wrong choice for production if the data center cannot place six replicas on separate machines and disks across three sites, because two replicas sharing a rack or power feed erode the failure margin the cluster depends on.
Check the site, disk and machine layout before the hardware order is placed.
This model fits a platform team that already operates Kubernetes, with storage classes, operators, GitOps and monitoring in place. The team can express placement rules, persistent volumes and rollout policy as configuration, so the cluster can enforce a layout that a single host cannot. Stateful databases still need deliberate handling that stateless services do not, so the team's existing skills transfer only in part.
- Skills: Stateful workload design, volume and storage class configuration, pod anti-affinity and topology spread, and enough TigerBeetle knowledge to map its replicas onto failure domains.
- Change control: Manifests pass GitOps review, but changes to replica count, storage or node pools change the database itself, so they need a separate approval path with the application owners.
- On-call: Node drains, cordons and autoscaling can move replicas, so the rota must know which maintenance actions are blocked on database nodes until a replica has rejoined.
- Tenancy: Ask whether the cluster is shared with other workloads and who controls node-level maintenance, because a shared node pool adds risks the database team does not control.
The Kubernetes model is the wrong choice for production when the cluster cannot give each replica its own node and volume across three failure domains, or when the database is scheduled like a stateless service that can be moved freely.
Check the placement rules in the live cluster before go-live, and rerun that check after every node pool change.
This model fits developers and QA engineers who run TigerBeetle in containers on laptops and in test pipelines, so application code can be exercised against the client libraries before production. Docker keeps setup cheap and repeatable. It does not model the replica layout production needs, so its results cover application behavior, not cluster behavior.
- Skills: Container basics, Compose or an equivalent for small local setups, and working knowledge of the client library your service uses, which the docs list for .NET, Go, Java, Node.js, Python, Ruby and Rust.
- Change control: Pin image tags in test configuration and record the release, such as 0.17.9, so any failing run can be traced to one version.
- On-call: Usually none. Failed runs should block the pipeline and stay out of the production on-call rota.
- Data: Test volumes are disposable, so do not load production balances into them without masking and written approval.
- Coverage gap: A local cluster on one host places every replica on one machine and disk, so it cannot test the failures the production layout is designed to survive.
Docker is the wrong choice for production when containers share one host or one disk, because the docs call for each replica's data file on a separate disk and machine.
Label which failure tests run only in staging, so a passing developer run is never mistaken for production evidence.
What buyers ask before running TigerBeetle in production
What drives the cost of running six TigerBeetle replicas across three sites?
Infrastructure is a recurring line, and it grows with the number of machines, disks and sites you commit to. The TigerBeetle cluster docs recommend 6 replicas for any production cluster, ideally across 3 sites with 2 replicas each, and each replica's data file on its own disk and machine. You pay your cloud provider, data center or hardware vendor for six servers with separate storage, plus the network between three sites. Machine size, storage performance, backup retention and monitoring push these costs up or down. Staff time is another recurring line paid from your own budget. Outside services are a separate line that follows from the written scope. Ask any quote to split hardware or cloud, network, staff time and services so you can see who is paid for what.
Which TigerBeetle costs are one-time and which ones recur?
Setup costs are mostly one-time, and running costs recur for as long as the cluster serves production. One-time items include the initial design of the six-replica layout across three sites, provisioning machines and disks, network setup, the first installation and integration with your applications, and the initial test and handover work. Recurring items include cloud or hardware hosting, storage growth, network links, monitoring and log retention, backups, staff time for upgrades and on-call response, and any retainer for ongoing support, upgrades or continuous testing. Hardware purchases may be capital expense while cloud usage is operating expense, so confirm the treatment with your finance team. Ask the implementer to mark each line in the quote as one-time or recurring, and to state which party carries each one.
How long does a TigerBeetle production deployment take, and what sets it?
The duration is set by scope, so ask for a written timeline before you plan around one. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The main drivers are the number of sites and machines, whether networking and storage for three sites already exist, how many applications connect to the cluster, how much monitoring and backup tooling must be built, and how many approval gates your change process requires. Existing cloud accounts, network links and observability stacks shorten the path, while new hardware procurement and security review lengthen it. Ask for a milestone plan with named owners for infrastructure, installation, failover testing, backup restore testing and handover, and check which milestones your own staff must sign off.
Can our team run TigerBeetle in production without outside help?
Yes, if your team already operates replicated database clusters, automates infrastructure and can staff on-call duty. The cluster docs describe 6 replicas across 3 sites with each replica on separate hardware, so the first build is an infrastructure project as much as a database install. Outside help usually covers the parts your team has not done before, such as design review, installation, failover and restore testing, security hardening and handover documentation. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, and most work is fixed-scope. One option is to have a partner build and test the cluster, then have your staff run upgrades and recovery drills from written runbooks. Confirm with your own team which tasks they can perform unaided before you decide.
What skills and staff time does a TigerBeetle cluster need?
The cluster needs staff who can operate replicated systems across failure domains. Plan for skills in Linux operations, disk and storage management, networking between three sites, and certificate and secret handling. Your team also needs the data model in mind. TigerBeetle has two entities, accounts and transfers, built on double-entry bookkeeping, and recorded transfers cannot be erased, so corrections are made with reversing transfers that your finance and audit teams must understand. Developers need experience with the client library for each service language, which includes .NET, Go, Java, Node.js, Python, Ruby and Rust. Staff time recurs for monitoring, upgrades, backup restore drills and incident response. Ask the quote to name the roles and expected hours, and to state which of those tasks your staff must cover after handover.
Is Docker acceptable for running TigerBeetle in production?
Docker can be acceptable, but the answer depends on whether you can meet the cluster's placement rules: 6 replicas across 3 sites, two per site, with each replica's data file on a separate disk and machine. Each replica must sit on its own machine and disk, so a single host running several containers breaks that rule. Check how your team keeps disk identity stable across restarts, how volumes are backed up, and how the container image is pinned to a known release such as 0.17.9 and patched. Your platform team should already run containers in production with clear ownership of storage and networking. Confirm the current guidance with TigerBeetle and your security team, then run a failover drill in your own environment before go-live.
What should we request in a written scope for a TigerBeetle deployment?
Ask for a scope that names every system, owner and handover item, so you can compare quotes on the same basis. Include the target topology: six replicas across three sites, two per site, with separate disks and machines. List the sites, networks and hosts in scope, and state the deployment method you chose, whether Docker, Kubernetes or virtual machines. Add installation and configuration steps, client integration for each application, backup and restore procedures with a restore test, and failover tests against the availability thresholds in the cluster docs. Also request the upgrade procedure, monitoring and alerting, security hardening, documentation, training and support terms. Finally, ask for acceptance criteria, change control, and a statement of what your staff must do after handover.
How DeployOpen plans and runs TigerBeetle deployments
DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted TigerBeetle inside your own cloud accounts, data centers or air-gapped networks. The runtime choice (Docker, Kubernetes or virtual machines) is settled in the written scope, against your team's operating skills and the replica layout you need. Each engagement is fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope names the runtime (Docker, Kubernetes or VMs), the replica layout and the sites in use.
- The TigerBeetle docs recommend 6 replicas for production, ideally across 3 sites with 2 replicas each.
- Scope records whether your environment can host that layout, and which changes it would need first.
How we build
- Each replica's data file sits on a separate disk and machine, as the TigerBeetle cluster docs describe.
- Build covers placement rules so replicas land on separate machines, whichever runtime the scope selects.
- Hardening, backup configuration and documentation are built in the same pass as the cluster.
How we hand over
- Handover includes runbooks for upgrades, backup restores and replica replacement on your chosen runtime.
- Documentation records quorum thresholds, such as 4 of 6 replicas needed to elect a new primary.
- DeployOpen prepares the controls and evidence for compliance reviews, and independent auditors issue any reports.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, separate from the initial build.
- Upgrade planning accounts for TigerBeetle's 0.x version numbering, which the project still uses in its releases.
- Security retests after changes, such as a runtime move, can be scoped into a retainer with terms agreed in writing.

