CloudHostSettings
Settings a cloud host needs to create a worker machine.
Nebula.Hosting · Packages/com.1by3.nebula/Runtime/Orchestrator/Hosting/HetznerWorkerHost.cspublic sealed class CloudHostSettingsSettings a cloud host needs to create a worker machine. Provider-neutral names so that a second provider reads the same switches. Read from -nebula-cloud-* flags with environment fallbacks.
Fields
Location
public string Location = "ash";Provider region/location code ("ash" for Hetzner Ashburn).
MachineType
public string MachineType = "cpx21";Provider machine size ("cpx21").
Image
public string Image = "ubuntu-24.04";Base OS image ("ubuntu-24.04").
Network
public string Network = "nebula";Name of the private network every machine joins; worker-to-worker traffic stays on it.
SshKey
public string SshKey = "nebula";Name of the SSH key installed on every machine (for log access).
Firewall
public string Firewall = "nebula-worker";Optional provider firewall applied to worker machines.
BuildUrl
public string BuildUrl = "";URL the machine downloads the Linux server build from (served by the orchestrator over the private network).
MeshId
public string MeshId = "nebula";Groups every machine this orchestrator owns so a new run can sweep leftovers of the previous one.
ApiToken
public string ApiToken = "";Provider API token. Never logged.
Methods
FromCommandLine
public static CloudHostSettings FromCommandLine(string meshId, string orchestratorPrivateAddress, ushort dashboardPort);SanitizeLabel
public static string SanitizeLabel(string s);Hetzner label values and server names: letters, digits, '-' '_' '.'