Private Mesh
Every Tabbify supervisor and running application joins a userspace WireGuard overlay. Tenant policy limits which peers are visible, and each application gets a stable IPv6 ULA derived from its UUID. Public application traffic enters through the managed edge rather than exposing the workload port.
WireGuard packets between peers travel directly when a direct path can be established and through the managed relay otherwise; see Production transport below.
Coordinator and joiner
The mesh has two roles, both run by the platform. The coordinator registers peers, assigns peer addresses, and returns an ACL-filtered roster. The joiner runs on each platform host and workload runner, opens a TUN device, and maintains the WireGuard session used for direct or relayed transport. You do not install or configure either: your apps, databases, dev machines and runners are placed on the network when they start.
Peer and per-app ULAs
Addresses come from two blocks. Platform peers get fd5a:1f00::/32. Apps get
their own address fd5a:1f02:XXXX:XXXX:XXXX:0:0:1, where the three XXXX groups
are the first six bytes of blake3(app_uuid) taken as three big-endian u16s —
for example, UUID 0191e7c2-1111-7222-8333-444455556666 derives
fd5a:1f02:44a5:240b:121a::1. That is the address of the app's first instance
generation; redeploys keep it, and moving the app to another host starts a new
generation with a new address.
Supervisors advertise the app-ULAs they host on each heartbeat
(POST /v1/mesh/heartbeat), and receiving peers install /128 routes so dialing
[app_ula]:8730 reaches the right host.
{"peer_id":"<uuid>","ula":"fd5a:1f00:0000:0001::1","display_name":"supervisor-01",
"tags":["supervisor"],"hosted_app_ulas":["fd5a:1f02:44a5:240b:121a::1"]}
The node keeps the active address of every app in its registry and sends public
traffic to [app_ula]:8730; the installed mesh route carries it to the host
that runs the app.
Reaching other apps from an app
Inside its microVM an app does not join the mesh itself. There are two ways out, depending on what it calls:
Another app in the same environment: ${apps.<name>.mesh_url}. Put the
reference in [env]:
[env]
BACKEND_URL = "${apps.backend.mesh_url}"
At deploy time it renders to http://[<address>]:8730, the target's active
address. Rules:
- only apps of the same environment resolve; an app in another environment, even of the same account, is treated as not found;
- use the app's UUID instead of its name when two apps share a name;
- the address is fixed when the caller deploys: if the target later moves to another host, redeploy the caller;
- the target accepts the call only on the ports it serves to the mesh, and still has to authenticate the caller itself;
- the caller must run on a host that supports guest IPv6 routing. On a host without it, the deploy is refused with an explanation rather than started with an address it cannot dial.
Write the reference, not a literal fd5a: address: a literal keeps pointing at
the old address after the target moves.
A sibling service in the same container deployment: ${services.<name>.mesh_url}.
In a container document, the platform wires sibling services for you; the
reference renders the sibling's address the same way.
Managed data resources are reached through their own links; see Managed data.
Production transport
Peers first try a direct WireGuard path to each other, including NAT
hole-punching, and fall back to the managed relay at https://relay.tabbify.io
when a direct path cannot be established. A few platform components are pinned
to the relay. Whether a given pair of peers runs direct or relayed depends on
their networks and can change; include the relay in latency, capacity, and
failure planning, and do not design for either path specifically.
Your own machines
A machine of your own can join the network as a mesh-only host. To run apps on your own server as well, see Run apps on your own machine.
Install with Docker
A machine of your own joins the network with the console's Add host form (the environment's settings under Workspaces, the Hosts tab). Where the machine has no systemd (Alpine, a NAS, a box that runs everything in containers) the form offers a Docker tab next to Linux and NixOS. It shows up when your site has a public registry.
Choose Mesh only, issue the join pass and run the command on the machine:
docker run -d --name tabbify-mesh --restart unless-stopped \
--network host --cap-add NET_ADMIN --device /dev/net/tun \
-v tabbify-mesh:/var/lib/tabbify-mesh \
-e TABBIFY_JOIN_PASS='<one-time pass>' \
<registry host>/platform/ddfc8169-4983-5279-9946-2c2a6c51a144:current
- The pass works once and expires in one hour. The container trades it for the
host's own credential on its first start and keeps that in the
tabbify-meshvolume, sodocker restart tabbify-meshis the same host, not a new one. - The container needs the host network and
/dev/net/tun: it creates the mesh interface on the host. The image is for x86_64 machines. - The image is published under the platform's namespace by its fixed app id
(the long name above). Anyone may pull from
platform/anonymously; no registry login is needed. - If the pass is refused (used, expired, or issued for another network) the
container stays running but does nothing, so a restart never spends the pass
again, and
docker logs tabbify-meshsays why. Remove it withdocker rm -f tabbify-mesh, issue a new pass and run the command again.
Cost
Traffic on the private network between your own apps, databases, dev machines and runners is free. Only traffic that leaves Tabbify for the internet is billed as egress.
Encryption and access control
WireGuard encrypts mesh packets. Tag-based ACL policy determines which peers share a tenant environment and which roster entries they can see. A policy change causes peers to refresh their visible roster.
Certificate use is not uniform across every platform hop today. Do not treat mesh encryption or peer visibility as application-level authorization; services must still validate callers and protect sensitive routes. See Auth & join tokens.