Single-node OpenBao on PebbleDB: when it fits for your installation
Choose the PebbleDB backend only when one OpenBao node is an acceptable availability model for your installation. It suits a small team, a branch office or an edge site where a short loss of the secrets service is tolerable and a second site or a database cluster is hard to justify. It also suits a replacement for an older deployment that relied on file storage, which OpenBao no longer offers. The decision you face is whether a single node, backed by tested backups and a rebuild procedure, meets what your applications need, or whether you need a highly available backend from the start.
The OpenBao storage docs list PebbleDB as a documented backend, alongside integrated storage (Raft), PostgreSQL and in-memory storage. PebbleDB runs on one node. OpenBao high availability depends on an active node that holds a lock in the data store, with standby nodes ready to take over, and the officially supported HA backends are integrated storage (Raft) and PostgreSQL. A PebbleDB installation has no replication between nodes, so adding a second OpenBao node does not create a standby. Treat the node as the single point of failure for both availability and data.
Before you commit, confirm the availability target with the teams that depend on secrets, and write down how long they can operate without them. Define the recovery path for losing the node's disk, including where backups are stored, how they are encrypted and how long a rebuild takes in practice. Check the storage docs for the current PebbleDB settings and limitations in the OpenBao version you plan to run. Revisit the decision when the installation grows or when a second site needs failover, because moving to Raft or PostgreSQL later is a planned migration, not a configuration toggle.
Which installs suit single-node PebbleDB
This fits a small internal team that runs one OpenBao cluster for a bounded set of applications and can accept a planned outage window when the node is patched, restored or replaced. The team gets a simple storage layer with no Raft peers or database cluster to keep healthy. The trade-off is that a single node is a single point of failure, so a loss of the node stops secret reads and writes until recovery completes.
- Outage tolerance: Confirm in writing with application owners how long pipelines, deployments and services can wait for secrets before they fail.
- Recovery path: Keep tested backups of the data and the unseal material, stored apart from the node, and rehearse a restore on a spare host.
- Operating skill: Make sure at least two people can unseal, restart and restore without vendor help, since no standby node can take over.
- Growth limit: Decide in advance when the team would move to Raft or PostgreSQL, such as when the outage window stops being acceptable.
Check the agreed outage window against how often the node must be patched and how long a restore takes in your own environment before you commit to this path.
A branch office, plant or remote site may need secrets locally, for example to start services while the wide area link is down. A single PebbleDB node on local hardware keeps the secret store close to the workloads that use it. The main risk is that the site has no peer to fail over to, and hardware at a remote location is often slower to reach after a fault.
- Local reads during link loss: Confirm which workloads must authenticate and read secrets while disconnected, and test that behavior before the site goes live.
- Physical exposure: Plan disk encryption, locked hardware and controlled physical access, because the node sits outside the main data center.
- Remote unseal: Decide how an operator unseals the node after a reboot without a site visit, and document who holds the unseal material.
- Central copy: Decide whether backups go to a central location so a failed site node can be rebuilt from known data.
Ask the site owner how long a lost node could stay down and who can reach the hardware, then compare those answers with your plan for backups and unseal.
Developers, security engineers and trainers often need a working OpenBao to try auth methods, secrets engines and integrations before a production design is settled. A single PebbleDB node is quick to stand up and easy to discard. The risk is that teams copy lab settings, tokens or unseal habits into production, or treat test data as disposable when it still holds working credentials.
- Disposable by design: Keep lab data separate from production secrets, and never reuse production unseal keys or root tokens in a lab.
- Configuration as code: Store the lab configuration in version control so the same settings can move into a production design with a clear review.
- Credential hygiene: Use throwaway credentials for any database or cloud account the lab connects to.
- Exit criteria: Write down which tests must pass before a design moves to a Raft or PostgreSQL build.
Confirm that the lab is labeled as non-production in access controls and monitoring, so its settings are not mistaken for an approved design.
Teams that ran a single OpenBao or Vault node on local file storage need a supported place for the data once that option is no longer available. PebbleDB is the documented local storage backend that matches this single-node pattern, so the change can often stay within one host. The team must accept that the move keeps the single-node failure model and does not add high availability. The storage backends documentation lists the options.
- Data migration: Rehearse the move on a copy of the data before touching the live node, and confirm the steps for your running version in the project documentation.
- Unchanged failure model: Tell stakeholders that the node is still a single point of failure, so the outage risk does not fall after the change.
- Verification: Compare secret counts, policies, auth configuration and audit output before and after cutover.
- Future path: Schedule a decision on Raft or PostgreSQL if the old file-based node now supports services that need availability.
Check the storage configuration for your running version and confirm the migration steps before you schedule a cutover.
Storage options and when each fits OpenBao
This table compares PebbleDB on a single node, integrated storage (Raft) and PostgreSQL across availability, operating effort, read scaling, backup and fit. Read it as a filter: if high availability is a requirement, a single PebbleDB node is ruled out before effort or cost is considered. Confirm current backend options and version support in the OpenBao storage and HA documentation before you decide.
| Consideration | PebbleDB single node | Integrated storage (Raft) | PostgreSQL |
|---|---|---|---|
| High availability | No. One node cannot fail over, so a node outage stops service. | Yes. A documented HA backend with an active node and standbys. | Yes. A documented HA backend that uses a lock in the database. |
| Operational effort | Lowest. One server and one local data store to run. | Moderate. You plan voters, peers, joins and recovery. | Depends on your PostgreSQL team. The docs describe it as easier to operate safely than Raft. |
| Read scaling | None across nodes, since there is only one node. | Standbys serve read-only operations since 2.5. | Standbys serve reads since 2.7, giving horizontal read scaling. |
| Backup approach | Confirm the supported method in the storage docs, then rehearse a restore. | Raft snapshots, stored encrypted away from the node and restored in a rehearsed procedure. | Database backups and point-in-time recovery run by your PostgreSQL team. |
| Fit | Small or edge installs where a short outage is acceptable and no second node is planned. | Multi-node production clusters that want replication built into OpenBao. | Sites already running a highly available PostgreSQL service that want read scaling. |
Why a single PebbleDB node cannot provide high availability
A single PebbleDB node cannot provide high availability because OpenBao's HA model depends on an active node that holds a lock in the data store, with standby nodes ready to take over if it fails. Standbys forward or redirect requests to the active node and step in when the lock is released. With one node there is no standby and no second process to take over the lock. The OpenBao HA documentation names integrated storage (Raft) and PostgreSQL as the officially supported HA backends. PebbleDB is a documented storage backend, but it is not on that list, so an HA design should not assume it. Treat any PebbleDB deployment as a single point of failure and review the HA model before committing to it.
When that one node stops, every client that depends on it stops with it. Applications cannot read secrets, dynamic credentials cannot be issued or renewed, PKI issuance halts, and encryption-as-a-service calls fail. Leases already issued continue until they expire, and renewal requests fail while the node is down. After a restart, OpenBao comes up sealed, so recovery is not finished until the node is unsealed. If you use Shamir keys, enough key holders must be reachable at the moment of recovery. If you use an auto-unseal mechanism, confirm how it is configured and that the node can reach it during a restart. Your recovery time depends on restart automation, unseal procedures and on-call coverage, so measure these in your own environment rather than assuming them.
Standbys and read scaling do not help here. The read-only standby behavior added in OpenBao 2.5.0 for Raft and extended to PostgreSQL in 2.7.0 requires a second node, and a single PebbleDB node has none. Before accepting a single node, write down the outage duration your business can tolerate, confirm that a single node meets it, and test the restore path for your PebbleDB data. If that target cannot be met, plan for Raft or PostgreSQL, which the project supports for HA. Ask your team to confirm the backup method for PebbleDB against the current OpenBao documentation before relying on it.
Setting up a single-node PebbleDB installation
This sequence takes a single OpenBao node from a fit check to a verified, initialized server with PebbleDB storage. Each step ends with a check that tells you whether the node is ready to move on.
Confirm the install fits the single-node profile
Before touching a server, the platform owner should agree in writing that one node is acceptable for this workload. A single PebbleDB node has no standby to take over if it fails, so the team needs a tested backup plan for the secrets it holds. Confirm the OpenBao version you will deploy on the project's releases page, and confirm that the storage backend choice matches the documented options. Done when the owner has signed off on the outage risk and the recovery plan.
Prepare the host and dedicated storage path
The platform team prepares a host with a supported operating system, accurate time sync, and a firewall that allows only the client and management paths you have defined. Create a dedicated data directory for PebbleDB, owned by a non-root service account that no other service uses. Store TLS certificate files with restricted permissions. Check that the service account can write to the data directory and that the directory is on storage you have sized and backed up.
Remove disable_mlock from the configuration
If this node carries configuration over from a Vault installation, the platform engineer must remove the disable_mlock setting. OpenBao stopped using mlock in version 2.0.0, so the setting no longer applies and should not remain in the file. Also confirm whether the source Vault cluster was bootstrapped before Vault 1.3, since that may require a rekey first. Check by searching every configuration file for disable_mlock and confirming that no match remains. The OpenBao migration guide lists these steps.
Configure the PebbleDB storage stanza
The engineer adds a storage stanza that selects PebbleDB and points it at the dedicated data directory. Keep the listener, TLS and telemetry settings from your reviewed design, and do not add an HA stanza, because PebbleDB is not one of the officially supported HA backends. Confirm every key name and its accepted value in the storage configuration documentation for your release before you save the file. Check that the configuration validates and that the server process starts without storage errors.
Initialize and unseal the node
The operator initializes the node once and records the unseal material according to the unseal method chosen in your design, such as Shamir key shares or a configured seal. Store that material in separate custody, with access limited to named key holders. Unseal the node, then revoke or lock away the initial root token so that daily work uses scoped identities. Check with the status command that the node reports as initialized and unsealed, and that the audit device you planned is writing entries.
Verify health and restart behavior
The operator writes a test secret, confirms the health endpoint reports the node as active, then restarts the service. After the restart, the node comes back sealed and needs the unseal process again, so record the expected downtime for your operations plan. Once unsealed, confirm that the test secret is still readable and that the health endpoint reports the expected state. Done when the restart test passes and the outage and recovery steps are written into the runbook.
Security and operational risks of one node
A single OpenBao node concentrates every risk in one place: the unseal material, the data directory, the host and the audit trail. The cards below name each risk and the control your team should plan before go-live, so the decision to run one node is made with those controls in view.
Unseal key custody
A single node is sealed at start and must be unsealed by people or by an automated seal. If unseal keys sit with one administrator or in one shared file, losing that person or file blocks the only node. Plan who holds each key share, where they are stored offline, and how a documented unseal ceremony is rehearsed. Confirm whether an auto-unseal option through a cloud or hardware key store is available for your chosen version and environment.
Storage backend docsEncrypted backups of the data directory
PebbleDB stores the data directory on the local disk of the node, so there is no built-in replica to fall back on. Take backups of that directory on a schedule, encrypt them before they leave the host, and store copies in a separate failure domain. Confirm with the project how a consistent copy of the PebbleDB data is taken while OpenBao runs, because copying files from a live store can produce an unusable backup. Test a full restore on a spare host before you depend on it.
Host hardening and data path access
Anyone with root on the host can read the data directory and the configuration, and can stop or replace the OpenBao process. Restrict shell access, limit who can read the data path, run the service under a dedicated account, and keep the host patched and minimal. Document which administrators can reach the host and review that list on a fixed schedule. Because the node is the only copy of your secrets, treat the host as part of the secrets boundary.
Audit logging to a separate system
Audit devices record requests to OpenBao, and they are the evidence an assessor will ask for when reviewing who read which secret. If the audit log is written only to the same disk as the data, an attacker or failed disk can remove both at once. Send audit output to a destination outside the node, confirm how OpenBao behaves when the audit device fails, and alert on that failure. Check retention against your own compliance requirements.
Single point of failure during outages
With one node, a host failure, disk fault, failed upgrade or maintenance window makes every dependent application lose access to secrets until the node is back. PebbleDB does not provide high availability, so there is no standby to take over. Map which applications would stop, decide whether they can cache credentials, and agree a recovery time with the owners of those systems. If that outage is not acceptable, plan for a supported HA backend instead.
OpenBao HA docsUpgrade and recovery runbooks
Every upgrade on a single node is an outage unless a maintenance plan is in place, and a bad upgrade has no peer to roll back against. Write a runbook that covers taking a backup before the change, the exact version steps, validating unseal and a test secret read, and restoring the previous binary and data if the change fails. Check the release notes for the version you plan to run before scheduling the change.
Questions buyers ask about single-node PebbleDB
How much does a single-node PebbleDB OpenBao install cost?
DeployOpen does not publish a price list, and a quote follows from the written scope. The main cost is engineering time to plan the install, configure the server, set up TLS, unseal and key handling, backups, monitoring and a test restore. Infrastructure in your own accounts or data center is billed by your provider, so it is separate from the service fee. Setup is mostly one-time work, while upgrades, backup checks and access reviews recur. Costs go up with the number of secrets engines, auth methods and integrations in scope. Ask any quote to list each deliverable, what is one-time and what is recurring, and which items you must supply.
How long does a move from PebbleDB to Raft or PostgreSQL take?
No duration is fixed for this move, so ask for an estimate based on your environment. The time depends on data volume, how many clients depend on the cluster, the number of nodes you will add, whether your environment has a PostgreSQL cluster ready, and how many change windows you can use. Vault clusters bootstrapped before Vault 1.3 may also need a rekey first, which adds planning time. Storage backend migrations are documented separately from the Vault to OpenBao migration, so confirm the exact procedure for your target backend and version (v2.7.1 is the latest supplied release) before you commit to a schedule.
What does our team need to provide for a PebbleDB engagement?
Your team provides the infrastructure and access, and DeployOpen does the planning and build inside it. Typical inputs include administrative access to the target hosts or cloud accounts, DNS names and TLS certificates, the identity provider that will handle sign-in, a backup destination with its own access controls, and a named owner who can approve design and cutover decisions. You also need a decision on how the root key is protected, a change window for any restart or migration, and existing secret inventories if you are moving from another deployment. Confirm these inputs in the written scope so the schedule does not depend on them later.
Can our own team run a single-node PebbleDB OpenBao?
Yes, a team with Linux, TLS and secrets management skills can run a single node, and the work is smaller than an HA cluster. Your team will own the routine tasks: applying OpenBao releases, watching the server process, rotating credentials, testing backups and performing unseal after a restart. The main gap is failover, which a single node cannot provide. Before you decide, check whether your team can carry out a restore from backup within the time your users can tolerate, and whether someone is on call to handle a failed host. A partner can take on part or all of this work under a retainer.
When should we move OpenBao off a single node?
Move off a single node when the cost of downtime exceeds the cost of a cluster, or when the design no longer fits a single host. Common triggers include:
- Applications or pipelines that cannot pause when the server restarts or fails
- Maintenance windows that your operations team cannot schedule for upgrades
- A growing number of dependent services, especially those that read secrets at high volume
- Disaster recovery requirements that a single host and its backups cannot meet
The HA documentation describes the active and standby model that Raft and PostgreSQL support, so review it before choosing a target backend.
Does a single-node PebbleDB OpenBao survive a server failure?
No, a single PebbleDB node cannot provide high availability, so a host failure stops secret access until the node is restored. OpenBao HA depends on an active node holding a lock in the data store and standby nodes that take over, and PebbleDB is not one of the officially supported HA backends. Recovery means restoring the host or building a replacement, reinstalling the same OpenBao version, restoring data, and unsealing the server. Plan for this in your runbook, including who is paged, where backups are kept and how long your applications can run on cached secrets. Confirm each step with your own testing before relying on it.
Is PostgreSQL or Raft easier to run than PebbleDB?
PebbleDB is simpler to set up than a cluster, but it gives you no failover. The OpenBao storage documentation describes PostgreSQL as an easier backend to operate safely than Raft, and both are the supported HA options. PostgreSQL adds a database dependency that you must run with its own high availability, backups and upgrades, while Raft keeps storage inside the OpenBao nodes but requires you to manage cluster membership. Since v2.7.0, PostgreSQL standbys can also serve read-only operations. Compare the operational skills your team already has before choosing, and ask a partner to walk through both designs against your environment.
Does moving from Vault to OpenBao change the PebbleDB plan?
It can, because the migration guide covers in-place replacement of the Vault server process on all nodes, with configuration, endpoints and URLs unchanged. The guide was tested only against Vault 1.14.1 community edition, not Vault Enterprise, so an Enterprise source needs its own assessment. Remove disable_mlock from the configuration, since OpenBao stopped using mlock in 2.0.0. Clusters bootstrapped before Vault 1.3 may need a rekey first. For a single node, these steps still require a tested backup and a rollback plan, because there is no standby to take over during the replacement.
Which storage backend fits your OpenBao install?
The decision starts with a single question: does the service need high availability? If it does, the next check is whether your team can operate integrated storage (Raft) or PostgreSQL safely, since both are the officially supported HA backends. Only when downtime is acceptable and the install is small or edge-located does the path reach single-node PebbleDB. Confirm the downtime tolerance with the people who own the secrets workloads before choosing that branch.
Routing from the HA requirement to a storage backend, with PebbleDB only for non-HA installs.
How DeployOpen scopes and delivers an OpenBao storage decision
DeployOpen treats the choice of a single-node PebbleDB deployment as a documented decision, not a default. We confirm the workload, the availability expectations and the recovery plan first, then build and hand over only the configuration that matches those answers.
How we scope
- Confirm whether the workload can tolerate a single node outage and the downtime that follows
- Record the storage backend decision, the reasons for it and the conditions that would trigger a move to Raft or PostgreSQL
- Agree in writing which auth methods, secrets engines and integrations are in the single-node build
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
How we build
- Deploy the single node in your infrastructure with PebbleDB storage, sealing and TLS configured to your standards
- Remove disable_mlock from configuration where a Vault configuration is carried over, as the migration guide requires
- Test backup, restore and seal recovery steps on a separate instance before the node goes into use
- Document access control, audit logging and data handling settings so your security team can review the build
How we hand over
- Deliver a runbook covering start, stop, unseal, upgrade and restore steps for the single node
- Provide a written record of the storage decision, its risks and the migration path to an HA backend
- Walk your operators through monitoring, alerting and the procedure for rebuilding the node after loss
- Leave you with configuration files, test results and evidence in a format your compliance team can review
How we support
- Support, upgrades and continuous testing are available as retainers after handover
- Plan version upgrades against the OpenBao release notes and test them before production rollout
- Re-assess the storage decision when workload, availability targets or team size change
- Plan a migration to a highly available backend in a separate, scoped engagement when requirements change

