Network
PUDA runs as a distributed architecture. Every participant in the system must be able to reach the central NATS server so commands, telemetry, events, and logs can move through the same communication layer.
This includes:
- the PUDA CLI
- all PUDA edge services
- any logger service
- any other service that publishes to or subscribes from NATS
Recommended setup
We recommend using Tailscale to put the machines in your PUDA system on the same private network.
- Sign up for a free Tailscale account.
- Install Tailscale on the machine running the central NATS server.
- Install Tailscale on each machine that needs to be connected.
- Add devices one by one, following the Tailscale instructions for your operating system.
- Confirm that each PUDA CLI, edge service, and logger service can reach the NATS server over the Tailscale network.
Once this is done, you can move on to setting up the communication layer: the NATS server.