Host operations runbook
Enroll compute safely, interpret health reports, drain new placements, and retire hosts without losing ownership.
- Agent reportsHealth, capacity and templates
- Registry recordsNew sequence and observation time
- Report expiresNo fresh heartbeat within 45 seconds
- Placement excludesExisting ownership stays registered
Prepare before enrollment#
An administrator supplies a stable host ID, HTTPS service origin, physical region and coordinates, trusted pool, workspace assignments and approved image profiles. The host needs the configured runtime, host agent and reachable management endpoint. A region label does not relocate a machine.
Use a separate high-entropy enrollment credential for the first registration. The agent's own host service credential authenticates subsequent reports. Workspace API keys, Cloudflare deployment tokens and enrollment credentials are different authorities.
Enrollment and heartbeats#
First enrollment pins the agent instance identity, host origin, pool and location. Keep the host service token and persistent agent data when updating the service. The registry is populated by approved host enrollment rather than by scanning networks for arbitrary VMs.
The agent normally reports about every 15 seconds. Reports include health, available slots, CPU and memory, workspace quotas and ready templates. A persisted increasing sequence protects freshness; replaying the same sequence does not extend the deadline.
A report expires for new placement after 45 seconds. Expiry does not delete the registration or its sandboxes. It means the scheduler cannot rely on that report for new admission.
Read the private console#
Open Nodes to inspect heartbeat freshness, reported health and capacity. Select a node to read its sandbox inventory. Open Sandboxes for the fleet view, then select a row to inspect that exact node, workspace and sandbox.
A heartbeat is not proof that the tunnel or guest works. An inventory read establishes management reachability for that observation, not complete guest readiness. Inventory snapshots have an expiry; stale browser snapshots should not continue to present capacity as current.
Diagnose an unavailable host#
| Observation | What to check next |
|---|---|
| Gateway health fails | Worker deployment, configuration and Cloudflare request status. |
| Heartbeat is stale | Agent process, reporting connectivity and registration identity. |
| Host management is unreachable | HTTPS origin, tunnel and local agent listener. |
| Host authentication fails | Matching host service credentials and workspace assignment. |
| Runtime unavailable | Approved runtime readiness and its supported operator procedure. |
| Template unavailable | Local approved image and the host's reported image readiness. |
| Capacity full | Workspace and host quotas, existing reservations and admitted work. |
Preserve caller request keys, host identity and existing journals while diagnosing. A failed request does not by itself prove no sandbox was created. Do not delete unknown workloads or restart a shared runtime to clear an error message.
Drain new placements#
Use the private console's drain control with recent password confirmation and the current operator revision. A stale revision is rejected instead of overwriting a newer operator decision. Drain blocks new placements; it does not delete or migrate existing sandboxes.
Releasing the administrator drain hold does not override local drain, stale or unhealthy reports, workspace policy, template readiness or resource limits. Heartbeats cannot clear an administrator hold.
Retire or replace a host#
First drain the host, inventory its owned sandboxes and resolve outstanding or uncertain operations. Keep it registered while it still owns sandboxes: their prefixed IDs route back to that identity. Preserve persistent agent data for a replacement agent on the same host.
The console does not currently offer a general Delete node operation. Removing registry data manually is not an approved migration or cleanup procedure. Host replacement and removal need an operator plan that accounts for existing ownership and the runtime's supported recovery contract.
Add capacity#
Prepare and enroll another provider host, grant the intended workspace access, load approved templates and verify fresh reports and authenticated management reads. Use a controlled sandbox creation to validate admission only after setup is complete.
Provisioning requests can be queued when capacity is short. A provider integration must explicitly fulfill them; there is no implicit AWS, GCP or Oracle purchase. See regions and placement.
