Skip to content

Deployment layouts ​

Spalto has three roles: the control plane, the inspection service and the Envoy data plane. You can run them together, run them as separate services, or run two complete nodes as a pair.

LayoutRolesChoose it when
Single nodeAll three in one serviceYou want the simplest install.
Split rolesThree services on one host (or three containers)You want to restart or limit each role separately.
High-availability pairTwo single nodesYou cannot accept the loss of one host.

Roles share a host

Today the roles of one node share a host and the directory /run/waap. Splitting them across several hosts is not a supported layout.

Single node ​

The waap service runs the control plane, the inspection service and the pinned Envoy in one package. It is the default of the package install.

  • Where roles run: one service, one host.
  • How they talk: local sockets in /run/waap (xDS, ext_proc, Envoy admin). No TCP port is used between roles.
  • Management: the console and API listen on their own address (default 127.0.0.1:9443), never on the data-plane listener.
  • Setup: Install a node.

Split roles ​

The package ships waap-control, waap-inspect and waap-envoy as separate services, and deploy/compose/compose.yaml runs the same three as containers (control, inspect, envoy). Use one set of units, not both: the single-node unit conflicts with them.

  • Where roles run: three services on one host sharing /run/waap (sockets and the Envoy bootstrap) and /var/lib/waap (state). With containers, two named volumes do this.
  • How they talk: local sockets only. The control plane writes the Envoy bootstrap; Envoy waits for it, then connects.
  • Management: unchanged from a single node.
  • Choose it when: you want each role restarted, limited or monitored on its own.
  • Limits: the units pass systemd-analyze checks, but a live split-role run is not part of the package test yet. Containers do not support a high-availability pair.
  • Setup: Install a node (split-role units) and Run in containers.

High-availability pair ​

A pair is two nodes of the single-node layout, one active and one standby. The active node serves traffic and takes changes. The standby is read-only, applies every configuration version to its own inspection service and Envoy, and takes over within about 1.5 seconds.

  • Where roles run: every node runs all roles. Each node keeps its own store.
  • How they talk: each node uses local sockets inside. Between nodes, a dedicated peer link (for example port 9444) carries a 200 ms heartbeat and replication, secured with mutual TLS 1.3 and the pair's own CA. Firewall it from everything else: replicated data includes password hashes and private keys.
  • What is copied: configuration versions with their files, accounts, bans and lists. Events and audit records flow both ways. Login sessions and rate-limit counters are not copied. For details, see Replication.
  • What fails over: the role and the virtual address, which moves to the new active node (or an external load balancer follows the role). A recovered node does not take the role back unless failback is on. For details, see Failover and the virtual address.
  • Versions: both nodes run the same software version when you form the pair. During an upgrade a newer standby follows an older active node, but an older node does not follow a newer one until it is upgraded. For details, see Switchover and maintenance.
  • Choose it when: one host failure must not stop protection and delivery.
  • Setup: Form a pair.