Why structure a compute estate
If you run HashiCorp Nomad at any real size, you will know a thousand-node compute estate is rarely tidy. Capacity is usually a mix of public-cloud VMs, private datacentre VMs, and bare metal. Footprints are spread across EU, US, and APAC. Linux and Windows sit side by side. Docker hosts share the same operational world as GPU boxes and specialist hardware that only a handful of jobs can use. At that scale, informal placement habits stop working: the same jobspec pattern either pins work deliberately or scatters it across domains that were never meant to share load.
Structure is required because eligibility must be said out loud. Without shared labels for where clients live and what those clients are for, jobs are registered against hope. Capacity is labelled so work lands where it is intended: near the right users or data, inside the right failure thinking, and on the right intent band of machines.
This article walks through that labelling on Nomad. Regions, datacenters, and node pools are treated as the placement layers operators actually use. Nomad schedules and runs the workloads. This is how we at Nomatron think about structuring estates like this.
Throughout, one running example is used: about 1,000 Nomad clients supporting workloads for users in EU, US, and APAC. Continent names belong in ops language for users and data. Nomad’s region field still means the cluster (scheduling authority), not a geography API.
Three layers: region, datacenter, node pool
Three placement layers answer three different questions.
A region is the Nomad cluster: one scheduling authority and region membership. Clusters are often deployed per geographical location (hence the name region), while Nomad’s region field still means that cluster, not a continent, cloud geography label, or latency zone. When “region” appears below, the cluster is meant unless geography is named explicitly in operator language.
A datacenter is a named scheduling domain inside a region. Clients are joined by associating each with a datacenter string. Jobs are registered with a list of datacenters they are eligible to run in. Placement is evaluated only where that list allows.
A node pool is a named group of clients that jobs can target with a single string. Capacity is segmented by intent (environment, team, function, or a dedicated sensitive-workload band) without replacing datacenters.
A region contains clients. Each client carries both a datacenter and a node_pool. A job filters with a list of datacenters and a string node pool. Those two filters are independent; both apply at placement time and combine. They are not nested in the Nomad API.
For the ~1,000-node EU/US/APAC estate, two topologies are both valid. Pattern A: three Nomad regions (clusters) roughly aligned to EU, US, and APAC footprints, each with its own datacenters and pools. Pattern B: fewer Nomad regions, each holding many datacenter labels that cover sites or metros across a wider footprint. In both cases, continent names in ops language are not Nomad region values. If a Nomad region is named eu because that cluster serves European traffic, that remains an operational choice. The Nomad concept is still “this cluster,” not “Europe as geography.”
What is a Nomad datacenter?
A Nomad datacenter is not “a building” by itself. It is a string label that defines a scheduling domain. Clients are associated with that string through agent configuration. Jobs declare eligibility with a datacenters list. The scheduler considers only clients whose datacenter is in that list (subject to wildcards and other jobspec constraints).
Useful labels look like names that can be reasoned about in version-controlled jobspecs: eu-west, eu-central, us-east, us-west, ap-southeast. They can map to availability zones, sites, or metros as labels for placement.
Across the thousand clients, capacity is partitioned into datacenter labels that match the scheduling domains operators care about. A job that sets datacenters = ["eu-west"] is eligible only on clients that joined as eu-west. Clients labelled us-east or ap-southeast sit outside that job’s eligibility set, even though they belong to the same estate. The placement decision is eligibility.
Placing work near users and data
Geographic latency is sometimes addressed by running workloads closer to users or data. In Nomad, that pattern is expressed by pinning datacenter labels, not by renaming Nomad regions after continents.
Colloquial talk about “regional traffic” or “regional latency” is fine in ops language. It is not the same thing as Nomad’s region field. When those two are confused, poorly named clusters and fighting jobspecs follow.
Sending user traffic to the right geography is typically a load balancer or DNS concern. That traffic-steering layer is out of scope here; this article prepares the estate so Nomad can place work in the right scheduling domains.
EU datacenter labels are preferred for workloads that should sit near EU users or EU data; US labels for US-facing work; APAC labels for APAC-facing work, via each job’s datacenters list. Nomad regions are not renamed after continents in the hope that alone places allocations correctly. Inside a region, the job’s eligibility list is what Nomad evaluates.
Datacenters as failure domains
When datacenters are treated as independent scheduling domains, blast radius can be reasoned about deliberately. If an incident impairs clients in one datacenter, jobs whose eligibility includes only that datacenter are constrained to that domain. Jobs allowed across multiple datacenters carry a wider eligibility set.
That is eligibility design and operational thinking. It is not a high-availability claim, not a zero-downtime guarantee, and not a promise that work survives an outage.
Two behaviours are worth separating clearly:
- Within one Nomad region (cluster): when a job lists multiple datacenters and clients in one of those datacenters are lost, Nomad replaces unmet allocations onto remaining eligible clients in the other listed datacenters when capacity and constraints allow. That is replacement inside the job’s eligibility set, not geographic failover invented by continent names.
- Across Nomad regions (clusters): continent naming and federation alone do not move work from an EU cluster onto a US or APAC cluster. Cross-region availability is an operator design, covered under federation below.
Failure-domain labels are chosen to match how capacity actually fails:
- Cloud: different availability zones (for example
us-east-1avsus-east-1bas distinct Nomad datacenter strings, or coarser metro labels that still separate AZ blast radius when that is the operator model). - On-prem: different physical datacenters or sites (for example
eu-west-dc1vseu-west-dc2). - Within one physical DC: different racks, electrical phases or power supplies, and physical network separation, when those boundaries matter for blast-radius thinking and are reflected as separate datacenter labels.
Suppose clients in us-east are impaired inside a region that also has healthy us-west clients. A job pinned only to us-east stays constrained to that eligibility set. A job allowed on both us-east and us-west can have replacements placed on remaining eligible us-west clients when desired count is unmet and capacity exists. Those lists are designed on purpose.
Multi-datacenter job targeting
A single Nomad job can list multiple datacenters:
job "eu-facing-api" {
datacenters = ["eu-west", "eu-central"]
# ...
}That list is an eligibility set, not a second orchestrator. One job is registered in one Nomad region; placements may land across the allowed datacenters within that region. When clients in one listed datacenter are lost and desired count is unmet, Nomad schedules replacements onto remaining eligible clients in the other listed datacenters if capacity and constraints permit. Placement preferences such as binpack or spread still operate inside the eligible set. New regions are not invented, and a cross-cluster scheduler is not created.
An EU-facing service allowed across eu-west and eu-central inside the EU Nomad region is multi-datacenter placement in one cluster. Spanning separate Nomad regions (clusters) for EU, US, and APAC is a federation concern, covered later. A longer datacenters list does not invent that span on its own.
What is a node pool?
A node pool is a named group of Nomad clients. Jobs target a pool with the node_pool attribute. Clients are joined to a pool via client configuration. Without pools, allocations for a job can land on any eligible client in the cluster; affinities and constraints can express preferences, but a clean reservation of a set of nodes is not obtained the way a pool provides it.
Nomad ships two built-in pools that cannot be deleted:
default, when node_pool is omitted on the client or the job, default is used (unless a Nomad Enterprise namespace sets a different default, covered below).all, a job-only built-in that always includes every client in the cluster. It cannot be used in client configuration. It is reached for when a job must consider every client regardless of pool membership (for example some system-wide infra patterns); its use is kept intentional so day-to-day intent segmentation is not blurred.
A strong production pattern reserves dedicated clients for a sensitive workload so no other workloads share those machines unless they target that pool. For example, a pool named payments-prod holds only the clients that run payment-processing jobs. Neighbouring clients in the same datacenter remain in other pools (default, apps-prod, batch). A payments job that targets payments-prod is not placed on those neighbours, even though they share the same DC label and the same ~1,000-node estate total.
Independent filters that combine
Every client has both a datacenter and a node pool. Jobs that care about both dimensions must state both. Pools are not nested under datacenters in the Nomad API. There is no “pool child of DC” object hierarchy, only two filters that combine at placement time.
A payments-prod client in eu-west and a payments-prod client in ap-southeast share a pool name but differ by datacenter. If EU payment capacity is needed, the right datacenter must be allowed and payments-prod must be targeted. Sharing the pool name across continents does not make those clients interchangeable for locality-sensitive work. Production jobs that must stay in eu-west still list eu-west even when the same pool name exists in ap-southeast.
Job targeting with node_pool
In the jobspec, node_pool is a string (one pool, not a list):
job "payments-api" {
datacenters = ["us-east"]
node_pool = "payments-prod"
# ...
}The named pool must exist when the job is registered; otherwise registration fails. If node_pool is omitted, Nomad uses “default” (or the namespace default under Nomad Enterprise governance). Omitting the field does not mean “any pool.” Neighbours in the same datacenter but a different pool are ineligible for that job.
Pool definitions are treated as operator-managed objects (created and updated via Nomad’s node-pool APIs/CLI, and replicated from the authoritative region when federation is in use; see federation below). A job is not assumed to invent a pool name at register time.
With node_pool = "payments-prod" and datacenters = ["us-east"], placements skip apps-prod, batch, and default neighbours in us-east. Same rack, same DC label, wrong pool: ineligible.
Intent isolation within a datacenter
Node pools shine when dedicated capacity is needed within the same datacenter so sensitive work does not share machines with other workloads unless they target that pool. The payments-prod pattern is the clearest production example: a fixed set of clients is joined only to that pool; payment jobs target that string; everything else targets other pools.
Other intent bands remain useful (apps-prod, batch, soft hardware-oriented bands such as gpu when GPU clients are truly reserved that way), without inventing hardware capabilities Nomad does not infer from the pool name alone.
This is intent segmentation for placement. Pools shape where eligible work may land. They are not an ACL substitute and not a network isolation guarantee. Real isolation between payments-prod and apps-prod clients is enforced at the network, firewall, and routing layer. If a payments VM must not communicate with an apps VM, firewall rules and routes are managed accordingly, while Nomad is still able to reach those clients so scheduling continues. Authorization for who may register which jobs remains Nomad ACL and namespace controls (and organisational process).
The same eu-west datacenter can host both payments-prod and apps-prod pools so EU capacity is shared physically while jobs stay intent-separated by pool string. A staging or apps job that forgets to set node_pool and silently lands on default is a common operational footgun. The string is set explicitly in reviewed jobspecs (preferably kept in Git).
DC and pool intersection
When a job lists allowed datacenters and a node pool, placement is evaluated at the intersection of those filters: clients that match a listed datacenter and belong to that pool.
job "eu-payments-api" {
datacenters = ["eu-west"]
node_pool = "payments-prod"
# ...
}Two false conclusions are avoided: that pools replace datacenters, or that pools are nested under datacenters in the API. They are independent filters that combine. Capacity (and job eligibility) is minted only at the cells that are intended.
| Datacenter / pool | default | payments-prod | apps-prod | batch |
|---|---|---|---|---|
| eu-west | eligible | |||
| eu-central | ||||
| us-east | ||||
| us-west | ||||
| ap-southeast |
A job aimed at EU-west payments capacity is eligible only at the highlighted cell: eu-west and payments-prod. Across the thousand clients, most cells will have some capacity; jobs name the cell rather than hoping the scheduler guesses intent.
The same pool name may exist in eu-west and ap-southeast. A production payments job that must stay near EU users still requires both datacenters = ["eu-west"] and node_pool = "payments-prod". The shared pool name alone does not pull capacity from the other continent.
Federation across regions
When the estate spans more than one Nomad region (cluster), federation is the relationship that lets those clusters work together for management and request forwarding. Federation is not one shared Raft log, not one global state store, and not one omniscient global scheduler. Each federated region continues to schedule independently for its own clients and jobs. Federation alone does not deliver DR or zero downtime.
What federation provides
API calls can include a region query parameter. If the request targets a remote federated region, the request can be forwarded. When the parameter is omitted, the local region handling the request is used.
A designated authoritative region is the write home for a set of replicated objects. Those objects are pulled by other regions in a hub-and-spoke replication design (with rate limiting so busy clusters are not degraded by aggressive sync). Writes for those objects are forwarded to the authoritative region.
The authoritative region writes and replicates:
- ACL policies, roles, auth methods, binding rules, and global tokens
- Namespaces
- Node pools
- Quota specifications (Nomad Enterprise)
- Sentinel policies (Nomad Enterprise)
Local ACL tokens stay in the region where they are created and are not replicated. Full job and allocation state is not merged into a single worldwide scheduler view: each region schedules its own work.
Federation failure scenarios (EU / US / APAC example)
Assume three federated Nomad regions named for the footprints they serve: eu (authoritative), us, and apac. Soft failure means regional servers have lost quorum but processes remain reachable. Hard failure means the regional servers are unreachable.
Non-authoritative impairment (us or apac soft or hard):
- Local scheduling and running workloads continue in regions that still have leadership (
eu, and the other healthy peer). - Jobs without a
multiregionblock can still be deployed to healthy regions. - Writes of replicated objects (namespaces, node pools, ACL policies, quotas, Sentinel policies) still succeed because they go to the authoritative
euregion. - API calls into the impaired region fail (or require stale reads on soft failure). Jobs that use a
multiregionblock fail to deploy while any required region is impaired. - What continues: local placement and scheduling in healthy regions. What stalls for the impaired region: management API into that region, and any coordinated multi-region rollout that needs it.
Authoritative impairment (eu soft or hard):
- Local scheduling and running workloads continue in
usandapac(and ineuclients that are still up, when servers are only soft-failed). - Jobs without a
multiregionblock can still deploy to regions that have leadership. - Writes of replicated objects stall: new or updated namespaces, node pools, ACL policies, quotas, and Sentinel policies cannot be committed while the authoritative region cannot accept writes.
- Non-authoritative regions can still read previously replicated data (often via stale reads on soft failure) but cannot advance the replicated set.
- What continues: local scheduling in healthy regions, local ACL token creation in those regions. What stalls: authoritative writes of pools, namespaces, ACLs, and related replicated objects;
multiregioncoordinated deploys.
In short: federation impairment rarely stops every local scheduler at once. It does stall the management plane for objects that must be written in the authoritative region, and it blocks coordinated multi-region job rollouts that require every participating region.
multiregion jobs (Nomad Enterprise)
Federated clusters can use a job multiregion block so coordinated copies are registered and run across specified regions, instead of separate jobspec copies being maintained by hand. The multiregion block is a Nomad Enterprise feature. That coordination is about multi-region registration and rollout knobs. Multiregion jobs do not provide regional failover when a region fails. multiregion is not cross-region HA.
Designing cross-region availability (operator responsibility)
If active capacity is required in more than one geography when a Nomad region fails, that design is owned by operators, not by federation or by the multiregion block alone:
- Active (or warm) capacity is kept in more than one Nomad region, with jobs registered where they should run.
- User traffic is steered with load balancer or DNS controls toward healthy geographies.
- Runbooks cover promotion, drain, and recovery when a region is impaired.
That is eligibility and operational design across clusters. It is not a product promise of zero downtime or automatic DR.
EU, US, and APAC footprints are modelled as three federated Nomad regions (clusters). Node pools such as payments-prod are defined in the authoritative region so pool names replicate consistently to the others, while placement still happens per region. A payments-prod job in the US region is placed on US-region payments-prod clients; it is not silently scheduled onto EU clients because the pool name matches. Geo traffic steering for end users remains a load-balancer or DNS concern (see locality above). Federation keeps management objects aligned; three schedulers are not collapsed into one.
Enterprise node pool governance
Node Pool Governance (Nomad Enterprise)
Namespaces group jobs; node pools group clients. Node Pool Governance (Nomad Enterprise) ties them together with a namespace node_pool_config block so:
- A default node pool can be set for jobs registered in that namespace (jobs may omit
node_pooland inherit the default). - Overrides can be restricted with an
allowedlist or adeniedlist so a namespace cannot target pools outside policy.allowedanddeniedare mutually exclusive; one or the other is chosen, not both.
Production-shaped example using default with allowed (allow-list style):
namespace "payments" {
description = "Payment-processing jobs."
node_pool_config {
default = "payments-prod"
allowed = ["payments-prod"]
}
}Equivalent deny-list style (still valid; do not combine with allowed):
namespace "payments" {
description = "Payment-processing jobs."
node_pool_config {
default = "payments-prod"
denied = ["apps-prod", "batch", "default"]
}
}A job in that namespace that tries to set node_pool = "apps-prod" fails registration when policy excludes that pool. Jobs may still override the namespace default to another allowed pool when policy permits. This is governance of placement eligibility by namespace, not a multi-tenant security guarantee and not a claim that compliance follows because pools exist.
In federated estates, multi-region jobs (Nomad Enterprise) can override node pools per region block inside multiregion. Pool definitions still replicate from the authoritative region; per-region overrides select which replicated pool name applies where.
Per-pool scheduler configuration (Nomad Enterprise)
Nomad Enterprise also allows a node pool specification to carry scheduler_config, including a per-pool scheduler_algorithm such as binpack or spread, and related scheduler overrides on the node pool specification. Different client bands can then standardise on different packing behaviours, for example denser packing on elastic capacity versus wider spread on longer-lived capacity, scoped to the pool.
node_pool "payments-prod" {
description = "Dedicated clients for payment-processing workloads."
scheduler_config {
scheduler_algorithm = "spread"
}
}Contrast with the job-level spread stanza: job spread expresses how that job’s allocations should spread across attributes; per-pool scheduler_config (Nomad Enterprise) adjusts scheduler behaviour for work landing in that pool. They are related placement concepts, not the same control.
When a job uses the built-in all pool, the global scheduler configuration applies rather than a per-pool override.
In the ~1,000-node EU/US/APAC estate, Nomad Enterprise Node Pool Governance is the control that can say, for example, that the payments namespace defaults to payments-prod and must not target apps-prod or batch, consistently across federated regions once pool names and namespace configs are in place.
Putting it together: walking through the example 1,000-node estate
The full stack is walked once against the running example: mixed VMs and bare metal, Linux and Windows, Docker and GPU and specialist hardware, spread across EU, US, and APAC footprints.
- Region topology is decided. Either three Nomad regions (clusters) aligned to EU/US/APAC footprints, or fewer regions with more datacenters. Nomad region means cluster (often placed near a geography, still not a geography API).
- Datacenters are labelled for scheduling domains operators care about (for example
eu-west,eu-central,us-east,us-west,ap-southeast), including failure-domain choices (AZs, physical sites, racks or power domains where needed), and clients are joined accordingly. - Node pools are defined for intent (for example
default,payments-prod,apps-prod,batch) and clients are assigned. Dedicated sensitive-workload pools reserve machines so other jobs do not land on them unless they target that pool (or the built-inallpool). Job-onlyallis used sparingly for true cluster-wide jobs. Network and firewall controls sit beside pools when real traffic isolation between pools is required. - Jobs are written that state eligibility.
datacenters = [...]for the scheduling domains;node_pool = "..."for intent.node_poolis omitted only when"default"is truly wanted. Within a region, multi-datacenter eligibility allows replacement onto remaining eligible clients when one listed DC loses clients; that is not automatic cross-region failover. - Federation is applied when more than one Nomad region is operated. An authoritative region is picked for replicated objects (including node pools). Per-region scheduling is expected, not one global scheduler.
multiregion(Nomad Enterprise) is treated as coordinated copies, not failover HA. Cross-region availability, when required, is designed with active capacity in more than one region, traffic steering, and runbooks. - Nomad Enterprise pool governance is applied where the edition and policy require it: namespace
node_pool_configdefaults and allow or deny lists; optional per-poolscheduler_config. - User-traffic geo is kept on the load-balancer / DNS side; Nomad stays focused on placing work in the right estate cells.
Operators who keep labels consistent are less likely to fall into the usual traps: treating a Nomad region as geography, nesting pools under datacenters in the API, omitting node_pool and expecting any pool, equating placement segmentation with network isolation, or reading federation / multiregion as automatic cross-region failover. Jobspecs and agent configs stay version-controlled (preferably in Git) so the estate’s labels remain reviewable.
Keeping the labels honest
Everything above depends on labels and jobspecs staying the way they were reviewed. That’s the problem we’re building Nomatron to solve. Nomatron is a deployment control plane for HashiCorp Nomad: jobspecs stay in Git, approvals, RBAC and audit history sit above the cluster, and Nomad stays the scheduler. It doesn’t replace Nomad, and the Nomatron server runs in your own environment.
If you run Nomad and this is a problem you recognise, you can join the Nomatron early access programme here: https://nomatron.io/waitlist/
HashiCorp and Nomad are trademarks of HashiCorp. Nomatron is not affiliated with or endorsed by HashiCorp.






