Overview
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
The Nomatron Network Agent exists to connect Nomad clusters in private networks back to Nomatron without requiring the Nomatron control plane to reach those clusters directly.
This is the right model when:
- the Nomad API is not publicly reachable;
- the cluster sits inside a private VPC, VNet, or datacenter network;
- you do not want to expose the Nomad API to the public internet; or
- network policy makes direct server-to-cluster connectivity the wrong design.
In those cases, the agent gives Nomatron a controlled path into the private network.
What Problem The Network Agent Solves
Nomatron supports two broad connectivity models for Nomad clusters:
- direct connectivity
- agent connectivity
Direct connectivity means the Nomatron server can call the Nomad HTTP API directly.
Agent connectivity exists for clusters where that is not possible or not desirable.
With the agent model, the request path becomes:
Nomatron Server -> Network Agent -> Nomad APIThat keeps the Nomad cluster private while still allowing Nomatron to perform the work it needs to do.
How The Connection Works
The Network Agent initiates an outbound gRPC connection to Nomatron and keeps a long-lived bidirectional stream open.
That is an important design choice because it means:
- the private network does not need to accept inbound connections from the Nomatron control plane;
- the agent reaches out to Nomatron instead of Nomatron reaching in;
- private clusters can stay behind their own network boundaries; and
- operators can expose a much smaller surface area than they would with direct Nomad API access.
In practice, the network flow is usually:
- the agent starts inside the private network;
- it authenticates to Nomatron with a network agent token;
- it opens an outbound gRPC stream to the Nomatron server;
- Nomatron routes eligible cluster requests through that stream; and
- the agent talks locally to the Nomad API inside the private network.
What The Agent Actually Connects To
The agent is responsible for two main relationships:
1. Control Plane Connectivity
The agent connects back to Nomatron over gRPC.
That uses:
- one or more Nomatron server gRPC addresses;
- one or more HTTP base URLs for Nomatron;
- a network agent ID; and
- a network agent token.
2. Private Nomad Cluster Connectivity
The agent also needs the local details for the Nomad clusters it will reach on behalf of Nomatron.
That includes cluster-facing information such as:
- cluster ID;
- Nomad API address;
- ACL token if required;
- TLS settings for the Nomad API; and
- certificate material if the cluster uses private trust or mTLS.
This is why most of the Nomad-cluster-specific configuration lives in the Network Agent config file rather than on the Nomatron server itself.
Why Most Cluster Config Lives On The Agent
The Network Agent is intentionally placed close to the private infrastructure it needs to reach.
Because of that, the agent config file is usually the most natural place to hold:
- the private Nomad API address;
- Nomad TLS settings;
- Nomad ACL token;
- cluster-specific certificate material; and
- other local network details.
That keeps the private-network details near the runtime that actually uses them.
The Nomatron server still knows that a cluster uses agent connectivity, but the low-level connection details typically belong on the agent side.
Network Agent Token
To connect successfully, the agent needs a valid network agent token.
That token is what authenticates the agent to the Nomatron server.
Operationally, this means:
- you must create and activate the network agent in Nomatron;
- you must capture the token when it is issued or rotated;
- you must place that token into the agent config file or another approved secret delivery path; and
- you should treat the token as sensitive material.
Without a valid agent token, the agent cannot establish its control-plane session.
When Teams Should Use The Agent Model
The network agent is a strong fit when:
- the Nomad cluster is private;
- the cluster is inside a customer, regulated, or isolated network;
- outbound-only connectivity is preferred;
- a site-to-site direct path from Nomatron to the cluster is too broad or too costly to manage; or
- the organization wants a smaller exposed surface than direct Nomad API access.
It is usually not necessary when the Nomatron server can safely and directly reach the Nomad API already.
What Changes In The Operating Model
Using the network agent changes the operational model in a few important ways.
Instead of asking:
- can the Nomatron server reach the Nomad API directly?
you start asking:
- can the agent reach the Nomad API locally?
- can the agent reach Nomatron over outbound gRPC?
- is the agent token valid?
- is the agent healthy and connected?
That shifts part of the deployment responsibility from pure control-plane networking to an explicit private-network connector.
What The Agent Does Not Replace
The network agent does not replace:
- the Nomatron server;
- the Nomad cluster itself;
- PostgreSQL;
- normal RBAC and operator access controls; or
- careful TLS and secret handling.
It is a connectivity component, not a second control plane.
Recommended Placement
The Network Agent should usually run:
- inside the same private network as the Nomad cluster it needs to reach; or
- at least in a network location that has clean, private connectivity to that cluster.
The best placement is usually as close as practical to the Nomad API, while still allowing outbound connectivity back to the Nomatron server.
Recommended Mental Model
The simplest mental model is:
- Nomatron stays the control plane;
- the Network Agent is the private-network connector;
- the Nomad cluster stays private; and
- the agent config file is where most private-cluster connection details belong.
What To Read Next
After this overview, the natural next pages are: