JW · Josh Weir
Pillar

Sovereign Infrastructure

Self-hosted operating systems for businesses that refuse to depend on fragile intermediaries. Owned data, owned workflows, owned outcomes.

Sovereign infrastructure is the practice of owning the systems that run your business rather than renting them. Not as a hobby, not as a religion, but as a structural choice that compounds across years. The argument is simple: every recurring dependency you accept on a third party is a future tax on margin, attention, and optionality. Most operators don't notice the tax until it has already been paid for a decade.<br><br>We run a federated three-node setup as the spine of everything we publish, every commercial workflow we operate, and every client engagement we deliver. The pattern transfers. It is not the only way to build sovereign infrastructure, but it is a working answer to the question of what an operator-grade stack looks like in 2026 when you don't have an enterprise IT department and you do have a refusal to be locked in. This pillar is the longest-form version of why we build this way, what specifically the architecture solves, and what the honest tradeoffs are. If you are evaluating whether to rip out a SaaS layer, restructure around self-hosted primitives, or simply tighten the boundary between what you own and what you rent, the material below is the version of the answer we would give a peer over coffee.

What we mean by sovereignty

Sovereignty in this context is a property of three things: the data, the workflow, and the failure surface. You are sovereign over a system to the degree that you can:

Most cloud-native businesses fail all three tests. They have data they cannot extract economically, workflows that are physically expressed inside a vendor's interface, and failure modes that manifest as instant total outages whenever an upstream API has a bad day. We are not anti-cloud. We are anti-tenant. There is a difference.

The cloud is excellent for compute that genuinely scales beyond what a small operator would commission, for distribution surfaces that benefit from third-party trust signals, and for any workload where the marginal cost curve favours the hyperscaler. Sovereignty is excellent for the long-lived state of your business: customer relationships, transaction history, knowledge, content, and the automation that ties them together. Get the boundary right and you keep the advantages of both. Get it wrong and you are paying twice for the same outcome.

The federated three-node pattern

Our spine is three machines. Each one has a clear role and the roles do not overlap. We call them the heart, the brain, and the gateway, but the names are less important than the discipline of separating them.

The heart is a low-power always-on box. It runs the systems that have to be alive every second of every day: the home automation controller, the long-lived databases for inventory and routine commercial state, the local cache for sensor telemetry. It draws negligible electricity, has no moving fans during normal operation, and gets restarted maybe twice a year. Its only job is to never go down.

The brain is an Apple Silicon workstation. It is where the heavy thinking happens: large model inference, video rendering, document processing, the development environment, anything that benefits from deterministic high-throughput compute. It does not have to be reachable from the internet, and most of the time it isn't. We send work to it across the private mesh and pull results back when finished.

The gateway is a small public-facing virtual server. Its job is to be the only machine that has a real public IP address, terminate inbound TLS for anything that needs to be reachable from the open internet, and forward approved requests onto the private mesh. It is paranoid, minimal, and replaceable from a single command.

Between the three of them runs a private mesh network. Every machine on the mesh can address every other machine by hostname, traffic between them is encrypted end-to-end, and there are no open ports on the public internet that aren't explicitly required. The result is that the workhorses of the business — the databases, the orchestration layer, the model inference, the design tools — exist on a network that only we can see. The public internet talks to the gateway and only the gateway. Everything else is private by default.

The data layer: own it or rent it

Every business state worth keeping lives in one of three places: a Postgres-class relational store for everything that has structure and relationships, a time-series store for anything that arrives as a stream of measurements with timestamps, or a vector store for anything we want to retrieve by meaning rather than by exact match.

Customer records, deal pipeline, content metadata, document templates, automation history — relational. Sensor readings, system metrics, financial telemetry, social-platform engagement counts, message-volume metrics — time-series. Long-form internal knowledge, transcribed audio, scraped competitor intelligence, embeddings of the published content library — vector.

All three are open-source software running on hardware we own. None of them have an upstream vendor we have to call when something breaks. We can extract the complete state of any of them to a single file, walk it across to a new machine, and have the system back up in minutes. The closest comparable SaaS product to any of them costs more per month than the entire spine of three machines and ships less than half the capability we use day-to-day.

The honest tradeoff is operational. You have to run backups. You have to monitor disk pressure. You have to have a plan for the day a drive fails. We automate all of that, but the labour does not go to zero. It goes to a few hours a quarter, weighed against several hundred pounds a month a fully-managed equivalent would cost, plus the lock-in we are explicitly refusing.

The orchestration layer

Every commercial workflow we operate is an orchestration of small reliable steps. A lead arrives. The system enriches it from public sources. It scores the lead against a set of criteria. It writes the result back to the customer database. It notifies the right channel. If the score is above a threshold, it drafts a follow-up. If the response qualifies further, it generates a tailored research dossier on the prospect and surfaces it for human review. None of those steps are individually clever. Wired together correctly, they replace between thirty and sixty minutes of skilled human attention per lead.

We run somewhere over six hundred such workflows in production. Each one is expressed as a directed graph of steps, each step is reversible if something goes wrong, every error gets routed to a single dead-letter queue that retries with exponential backoff, every execution writes a measurement to the time-series store so we can see the cost in seconds, AI tokens, and human-time-equivalent saved. The orchestration layer itself is open-source software running on a machine we own.

This is the heart of the operational case for sovereign infrastructure. The value of the workflows compounds month over month. Every new workflow is permanent leverage. We are not paying a per-execution fee that scales with usage. We are not subject to a vendor's pricing change. The marginal cost of running an additional workflow approaches zero, and the catalogue of workflows is the most valuable asset on the books — more valuable than the code that delivers any single client engagement.

The integration layer: tools as protocols

The last few years have produced a quiet revolution in the way machines and models talk to each other. Open protocols for tool use let a language model ask a defined set of tools to act on its behalf, with a structured schema and a predictable response shape. The most public version of this is the Model Context Protocol. The pattern, regardless of the specific implementation, is the most important architectural shift in operator tooling since the REST API.

We expose every internal capability as a protocol-addressable tool. The CRM is a tool. The orchestration layer is a tool. The vector store is a tool. The design system is a tool. The financial dashboards are a tool. A model can be asked a question that requires reading from one tool, calling another, and writing the result into a third — and the model does it without any glue code we had to write for that specific request.

The architectural payoff is that every new tool we add multiplies the value of every existing tool. The agency we get from each layer of the stack does not stay inside that layer; it composes outward. The cost of adding a new capability to the system is roughly the cost of writing one tool definition, after which every model and every workflow can use it. Compare that to the SaaS pattern, where every new tool requires a new dashboard, a new integration, a new mental model, and a new monthly bill.

Models as components, not products

We run open-weight language models locally for any task that does not specifically require a frontier-class model. Llama variants, Mistral variants, domain-tuned smaller models, quantised down to a format that fits on the Apple Silicon workstation. For a long list of routine workflows — classification, extraction, light summarisation, structured output — the local model is indistinguishable in quality from the cloud equivalent and runs at zero marginal cost.

For the tasks that genuinely benefit from the largest available model, we route to a paid frontier provider, but only after the local layer has done the filtering and shaping. We run a routing layer in front of every AI-using workflow that picks the cheapest model that can plausibly answer the question, tries it, and only escalates if the cheaper option fails a quality bar. The cumulative effect is that AI cost is lower than most operators imagine, predictable per workflow, and recoverable if any single provider becomes uneconomic.

The strategic point is that no single model provider is a single point of failure. We can swap providers on a budget basis, on a capability basis, or on a sovereignty basis without rewriting a single workflow. The router is the abstraction that buys us that optionality. The router itself is open-source software running on a machine we own.

Identity, transport, and certificates

Three pieces of infrastructure get less attention than they deserve and matter more than they look. First, the private mesh that wires our machines together — a zero-config encrypted-mesh network that gives every device a stable address and end-to-end encryption without us configuring anything per-machine. Second, automated TLS issuance via the open ACME protocol — every public-facing endpoint has a current certificate, renewed by a daemon, with no manual intervention ever. Third, a reverse proxy on the gateway that handles every inbound request, enforces TLS, and routes by hostname into the private mesh.

None of those three pieces would, by themselves, be impressive. Together they remove an entire category of operational drift. We do not have certificates expiring without warning. We do not have machines that can be reached over stale credentials. We do not have to remember which port a service is on, because every service has a hostname and the proxy knows where to find it. The boring infrastructure is what makes the interesting infrastructure tractable.

Honest tradeoffs

This stack is not free, even when the software is. Three things cost real money or real attention:

If your business is genuinely under five people and your data needs are trivial, the calculation may not favour you. If you are between five and fifty, if you operate workflows that touch many systems, and if you intend to be in business in ten years, the calculation is overwhelmingly in favour of building the spine ourselves and renting only at the edges.

What we will not run ourselves

Sovereignty is not maximalism. We deliberately do not self-host the following: transactional email delivery (the deliverability complexity is genuinely better managed by a specialist), payment processing (regulatory weight is not worth carrying), DNS resolution at the registrar level (a managed registrar is the right answer), and frontier-class language models that would not run sensibly on consumer hardware.

The principle is: self-host the long-lived state of your business and the logic that operates on it; rent the edges where specialisation genuinely compounds value. The operative word is genuinely. Most things that look like specialisation are commodity work behind a marketing budget.

Architecture review

If you are evaluating whether to bring critical infrastructure back in-house, or you have a stack of SaaS dependencies you suspect are overdue for review, we run paid architecture-review engagements that produce a written sovereignty assessment with explicit migration tradeoffs.

Book a sovereign-infrastructure consultation

Related pillars