> ## Documentation Index
> Fetch the complete documentation index at: https://docs.novacula.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-hosted overview

> Run the whole Novacula stack — Hub, console, telemetry, and executors — inside your own closed network

**Self-hosted** Novacula runs the entire stack inside your network: the Hub with its web console and API, the telemetry stores behind it, and the Agents that run your nodes. It's built for a **closed network** — an air-gapped install where nothing reaches the internet except the nodes' own peer-to-peer traffic. Everything the platform needs arrives in a signed delivery kit you load once per release.

You operate it with the same console and the same node model as [Cloud](https://docs.novacula.io/docs/introduction.md): deploy nodes onto executors, watch their sync and metrics, update them along the supported update path, and serve RPC from them. What changes is who runs the Hub, where binaries come from, and how RPC reaches your clients.

## How it differs from Cloud

| | Cloud | Self-hosted |
| - | - | - |
| **Hub** | Operated by Novacula at `app.novacula.io` / `hub.novacula.io` | Installed and operated by you, at your own `https://` hostname behind your nginx |
| **Access** | Subscription and billing | An offline [license file](https://docs.novacula.io/recipes/self-hosted/license.md) that caps executors and running nodes |
| **Executors** | Agent or Operator | Agent, on Debian or Ubuntu hosts |
| **Client binaries** | Downloaded from each project's public releases | Served from your own [mirror](https://docs.novacula.io/recipes/self-hosted/agent-sources.md#artifact-mirror), loaded from the kit's chain packs |
| **New client versions** | As soon as a release supports them | Only with a new Novacula release — there is no node update outside a release |
| **RPC exposure** | **Local**, **Direct**, **Public domain**, and pools | Depends on the [proxy mode](https://docs.novacula.io/recipes/self-hosted/proxy-and-tls.md#proxy-modes): **Direct** with a source allow-list, or pools served by your nginx |
| **Certificates** | Upload, or automatic issuance over ACME | Upload only, signed by your CA |
| **DNS** | The pool's **DNS** tab checks your records | You publish the records in your internal DNS; the Hub doesn't check them |
| **Sign-in** | Password or SSO | Password, with optional authenticator-app MFA |
| **Alert channels** | Slack, Telegram, Microsoft Teams, Webhook, and Email where the Hub enables it | Webhook — the others need the internet (see [Email and alert channels](https://docs.novacula.io/recipes/self-hosted/email.md)) |
| **Email** | Sent by Novacula | Optional, through your SMTP relay |

## What's in the delivery kit

A release `0.1.N` arrives as one directory:

| File | What it holds |
| - | - |
| `nvcl-platform-0.1.N-linux-x64.tar.gz` | The Hub, the Agent, and telemetry (see below) |
| `nvcl-chain-<chain>-0.1.N-linux-x64.tar.gz` | One pack per chain you run — `bitcoin`, `ethereum`, `tron`. Each holds a `mirror/` tree with that chain's client binaries |
| `SHA256SUMS` and `SHA256SUMS.sig` | The digest of every archive in the release, and its signature |
| `<archive>.sig` | A detached signature next to each archive, for a pack you receive on its own later |

Inside the platform archive:

* **Hub** — `nvcl-hub-0.1.N-linux-x64.tar.gz`, self-contained: its own Java 25 runtime, the Hub, the web console (served at `/`, the admin console at `/admin/`, the API under `/v1`), a launcher, and a `systemd` unit. No Java on the host, nothing from the internet.
* **Agent** — the Agent image, under the platform archive's own `mirror/` tree, so the Agents install and self-update from your mirror.
* **Telemetry** — `nvcl-telemetry-0.1.N-linux-x64.tar.gz`: Grafana Mimir 2.15.0 (metrics and Alertmanager) and Grafana Loki 3.3.2 (node logs) as plain binaries under `systemd`, listening on loopback only.

Every delivery is signed. The release public key, `nvcl-release.pub.pem`, and its fingerprint reach you over **two different channels**; you pin the key once on the Hub host and check every later delivery against that copy, never against a key that arrives with a kit. See [Verify the delivery kit](https://docs.novacula.io/recipes/self-hosted/install.md#verify-the-delivery-kit).

## Architecture

```
                    your internal CA, your internal DNS
 workstations ──https──▶ nginx :443 ──http──▶ Hub 127.0.0.1:9090 ──▶ Postgres 17
                         (Hub host)            │
                                               └──loopback──▶ Mimir :9009, Loki :3100

 Agent hosts ──https (outbound)──▶ nginx on the Hub host
      │
      └── node binaries and Agent updates ◀── your mirror (file:// or http(s))
```

Agents stay **outbound-only** toward the Hub, as on Cloud. Nodes need their peer-to-peer ports open toward their peers; nothing else in the install needs the internet.

## Requirements

| Host | Runs |
| - | - |
| **Hub host** | The Hub, nginx (TLS for the Hub), Mimir and Loki; optionally Postgres and the mirror |
| **Agent hosts** | The Agent and its nodes; in `nginx` [proxy mode](https://docs.novacula.io/recipes/self-hosted/proxy-and-tls.md#proxy-modes) also nginx |
| **Mirror** | A directory or a static http(s) site; may live on the Hub host |

Every host:

* **Debian or Ubuntu**, `x86_64`, with `systemd`, and `sudo`, `curl`, `tar`, `gzip`, `sha256sum`. On the Hub host also `openssl`, `jq`, and the Postgres 17 client (`pg_dump`, `pg_restore`).
* **An apt source pointing at your own apt mirror.** The Agent installs a few packages with `apt-get` (for example `nftables`, `aria2`, `nginx`), and the Novacula mirror doesn't carry them.
* **Your internal CA** in the OS trust store. Prefer a CA name-constrained to your internal domains — see [CA trust](https://docs.novacula.io/recipes/self-hosted/proxy-and-tls.md#ca-trust).

Plus:

* **PostgreSQL 17**, on the Hub host or reachable from it, with an empty database and a role that owns it. The Hub creates its schema on first start.
* **Internal DNS** for the Hub hostname (and the pool domains, in `nginx` mode), and browsers that trust your CA.
* Optionally an **SMTP relay** on your network for account email — see [Email and alert channels](https://docs.novacula.io/recipes/self-hosted/email.md).

### Firewall

Agent hosts need outbound HTTPS to the Hub and, for an http(s) mirror, to the mirror. Nodes need their peer-to-peer ports open both ways to wherever their peers are:

| Chain | Ports |
| - | - |
| Ethereum execution (`geth`, `reth`, `besu`) | `30303` tcp and udp |
| Lighthouse | `9000` tcp and udp |
| `bitcoind` | `8333` tcp (`signet` `38333`) |
| `java-tron` | `18888` tcp and udp |

In `nginx` mode, also open inside the network: the Hub to every Agent host's advertised address on port `80` (its health poll), and RPC clients and the other pool members to each Agent host's port `443`.

## Supported chains

Self-hosted runs the three chains Novacula supports, from the clients the chain packs carry:

| Chain | Clients | Notes |
| - | - | - |
| **Ethereum** | `geth`, `besu`, or `reth`, each with `lighthouse` | Lighthouse checkpoint-syncs from a beacon endpoint you name in [`[[sources.checkpoint]]`](https://docs.novacula.io/recipes/self-hosted/agent-sources#ethereum-checkpoint). `reth` on `mainnet` downloads its database from a snapshot manifest you supply; `reth` on `sepolia` and `hoodi` can't sync on a closed network — run `geth` or `besu` there. Erigon and Nethermind aren't delivered in the chain pack. |
| **Bitcoin** | `bitcoind` | Nothing beyond the mirror: `bitcoind` downloads the chain from its peers. |
| **Tron** | `java-tron`, **Full** or **Lite** | Bootstraps from a snapshot archive you supply in [`[[sources.snapshot]]`](https://docs.novacula.io/recipes/self-hosted/agent-sources#snapshots). |

Under a mirror, an Agent offers for installation only the client versions the chain packs carry — per client, the newest pinned version each network installs. Nodes already on an older version keep running it. Per-chain detail lives on the [Supported chains](https://docs.novacula.io/docs/chains/overview.md) pages.

### Sizing

Size each Agent host for the sum of its nodes. These are the defaults the Agent requests per node (CPU cores / RAM / disk); an Ethereum node is an execution client plus Lighthouse, so add both rows.

| Client | `mainnet` | `sepolia` | `hoodi` |
| - | - | - | - |
| `geth` | 4 / 16 GiB / 2000 GiB | 2 / 8 GiB / 1000 GiB | 2 / 8 GiB / 200 GiB |
| `reth` | 4 / 8 GiB / 2000 GiB | not on a closed network | not on a closed network |
| `besu` | 4 / 16 GiB / 2000 GiB | 2 / 8 GiB / 1000 GiB | 2 / 8 GiB / 200 GiB |
| `lighthouse` | 2 / 12 GiB / 500 GiB | 2 / 8 GiB / 300 GiB | 2 / 8 GiB / 100 GiB |

| Node | CPU / RAM / disk |
| - | - |
| `bitcoind` `mainnet` | 2 / 4 GiB / 1200 GiB (pruned: 200 GiB) |
| `java-tron` `mainnet` Full | 16 / 32 GiB / 4500 GiB |
| `java-tron` `mainnet` Lite | 16 / 32 GiB / 1000 GiB |

The `java-tron` MongoDB event plugin writes to a MongoDB you run; size that separately.

## Next steps

> [card] [Install](https://docs.novacula.io/recipes/self-hosted/install.md)
>
> From bare VMs to a running Hub, Agents, and nodes.

> [card] [Proxy modes and TLS](https://docs.novacula.io/recipes/self-hosted/proxy-and-tls.md)
>
> Decide how RPC reaches your clients before you start.

> [card] [Agent sources](https://docs.novacula.io/recipes/self-hosted/agent-sources.md)
>
> The mirror, snapshots, and checkpoint endpoints.

> [card] [Known limitations](https://docs.novacula.io/recipes/self-hosted/limitations.md)
>
> What a closed network can't do yet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.