Configuring worker zones
Last updated
Was this helpful?
Required global permission: Manage environment settings
On a self-hosted instance, you can configure a list of zones to assign Structural workers to. Each zone can contain one or more workers.
When zones are available, each workspace can be assigned a zone. When a workspace is assigned to a zone, then the workspace jobs are always routed to a worker in that zone. Workspaces that are not assigned to a zone are routed to a worker that is not in a zone.
Worker zones allow you to manage the job traffic on your instance.
The list of zones is on the Zones tab of Structural Settings.

For each zone, the list includes:
The zone identifier. You use the identifier to assign workers to the zone.
The zone name.
The zone description.
The number of workspaces that use the zone.
When the zone was added.
To add a worker zone:
Click Create Zone.

On the zone details panel:
In the Zone Name field, provide a name for the zone.
In the Description field, provide a longer description of the zone.
Click Save.
Structural generates an identifier for the zone and adds the zone to the list.
For an existing zone, you can edit the name and description. The identifier does not change.
To edit a zone:
In the zone list, click the edit icon for the zone.
On the zone details panel, make the edits to zone configuration.
Click Save.
On each worker, to assign the worker to a zone, set the environment setting TONIC_WORKER_ZONE_ID to the identifier of the zone.
The zone identifier is displayed on the Zones list.
To delete a zone:
In the zone list, click the delete icon for the zone.
On the confirmation panel, click Yes, delete zone.
When you delete a zone, any workspaces that used that zone are updated to not use a zone.
Last updated
Was this helpful?
Was this helpful?