Run PostgreSQL in an air-gapped classified enclave with a patch path that never touches the internet
Typical situation: a defense program needs PostgreSQL inside an enclave with no route to the internet, where every package, patch and certificate arrives on approved media. The database engine is the easy part: the PostgreSQL License is permissive, and the tools that make it production-grade, Patroni and pgBackRest, are MIT licensed, so all of it may be installed offline. What changes is delivery, time, access and evidence. OSStend co-manages the cluster on infrastructure you own, delivers signed builds for your review board to bring in, and agrees in advance who may touch the site. This page makes no accreditation claim. Your authorizing official decides what is allowed. See air-gapped deployment for the delivery model.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓Run
- ✓PostgreSQL
- ✓Air-gapped
- Where it runs
- Your hardware inside the enclave
- Delivery
- Signed builds on approved media
- Backups
- pgBackRest to a separate host
- Management
- Co-managed under agreed access
- Evidence
- Change records you can audit
Typical situation
Trigger. A program needs a relational database in an enclave with no internet route and a formal patch approval path.
Versions. PostgreSQL 16 or 17 builds delivered and signed for offline install.
- No outbound connections
- Media transfer under your procedures
- Access limited to roles your security officer approves
A typical situation, not a named customer.
PostgreSQL in an air-gapped enclave runs from an internal package mirror, with Patroni for failover and pgBackRest to a separate repository host. Patches arrive on approved media and are staged first in a test enclave. All three tools carry permissive licences. OSStend co-manages; your security authority decides who has access.
Customers
Partners
- PostgreSQL
- MySQL
- MongoDB
- Redis
Valkey
- OpenSearch
- Kafka
- RabbitMQ
- AWS
- Google Cloud
- Azure
- Kubernetes
- OpenShift
- Prometheus
- Grafana
- Datadog
- Dynatrace
- Splunk
What OSStend runs and what you keep
In an air-gapped site, you control the network and who enters. OSStend supplies the build, the design and the runbooks, and operates within the access you allow.
| Area | OSStend | You |
|---|---|---|
| Network, hosts and storage | Specifies requirements. | Own and operate them. |
| PostgreSQL, Patroni, pgBackRest builds | Builds, signs and documents each release. | Review and import them. |
| Install and failover design | Writes and tests the design. | Approve it and the change windows. |
| Patching | Prepares patch bundles and test plans. | Approve and bring them in. |
| Backups and restore tests | Defines retention and runs tests. | Own the backup host and media. |
| Operator access | Works only through the paths you grant. | Decide who may touch the site and how. |
| Monitoring | Metrics go to your internal tools. | Operate those tools. |
| Contract | One contract, price quoted per design. | Handle the authorization and accreditation. |
Where it can run
Air-gapped sites run on infrastructure you own. All the components are permissively licensed, so none depends on a vendor service being reachable.
| Option | When it fits | Licence and source |
|---|---|---|
| Air-gapped site | No route to the internet. | PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs. Patroni and pgBackRest are MIT (Patroni, pgBackRest, checked 23 Nov 2026). |
| Your data center | A connected on-premises site with controls. | PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs. |
| Your cloud account | A sovereign or isolated cloud region you control. | PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs. |
How we run it
The sequence is the connected one, with delivery and evidence added. Every release is staged in a test enclave before production.
Access and rules (1 to 2 weeks)
Roles, escort rules, media procedures and the incident path are agreed with your security officer.
Design and sign-off (1 to 2 weeks)
Hosts, storage, three-node etcd, Patroni and pgBackRest settings are written down.
Build bundle (3 to 7 days)
Packages, checksums and install scripts are prepared for your review board.
Install and prove (1 to 3 weeks)
The cluster is installed, failover and restore are tested, and results recorded.
Patch cycle (ongoing)
Each bundle is staged in a test enclave, then production on your calendar.
Time ranges are typical for databases of this size and are fixed in the design you sign off. The method, the order and the checks do not change with the range.
[global] repo1-path=/srv/pgbackrest repo1-retention-full=4 repo1-cipher-type=aes-256-cbc # repo1-cipher-pass is set from your secret store, not written here start-fast=y [main] pg1-path=/var/lib/postgresql/17/main
Cost basis
No cloud list price applies: you buy the hardware, and OSStend's fee is quoted per design. The extra cost in air-gapped sites is time, not licences.
Budget the drivers below. Each adds elapsed time or hardware, not a licence fee.
| Driver | Why it costs | Who pays |
|---|---|---|
| Dedicated backup host | pgBackRest repository must be separate from the database hosts | You, hardware |
| Test enclave | Patches are staged before production | You, hardware |
| Media review | Each bundle passes your review board | You, time |
| Three etcd members | Failover needs quorum | You, hardware |
| OSStend service | Co-managed under the access you allow | Quoted per design |
Licences read checked 23 Nov 2026. No public list prices apply to hardware you own.
What we watch on call
Without internet, small drift becomes slow to fix. We watch things that connected sites repair in minutes.
- Clock drift.
- Certificates and WAL timestamps depend on time. Signal: offset from your internal time source.
- Backup repository full.
- A full disk stops archiving. Signal: free space and last archived WAL age.
- Certificate expiry.
- No ACME in the enclave. Signal: days left on each certificate.
- Patch bundle mismatch.
- A package missing from the bundle blocks install. Signal: dry-run failure in the test enclave.
- Operator access lapse.
- A badge or approval expires mid-incident. Signal: access list reviewed monthly.
When OSStend is not the right fit
OSStend fits when you want a co-managed database inside an enclave. It does not replace your authorization process.
Contact us if
- ✓You need PostgreSQL with failover and tested restores inside the enclave.
- ✓You can move signed bundles under your own procedure.
- ✓Your security officer can approve defined operator access.
Not a fit if
- ✕Your program requires staff with a clearance we have not discussed. Raise it in the first call.
- ✕Nobody on site can install and test patch bundles.
- ✕You need a vendor accreditation this page does not claim.
Questions buyers ask
Does OSStend hold an accreditation for classified use?
This page makes no accreditation claim. Your authorizing official decides what is allowed in your enclave.
How do patches reach the enclave?
As signed bundles on approved media, staged in a test enclave first. See air-gapped deployment.
Can PostgreSQL be installed offline?
Yes. PostgreSQL, Patroni and pgBackRest are permissively licensed and install from an internal mirror (licences checked 23 Nov 2026).
Talk to an engineer about your enclave
Describe the site and the patch procedure. An engineer will outline a design.
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





