Builders & Runtimes

Cloud Infrastructure

VPS, sandbox, registry, volume, API key, heartbeat, and platform provider management.

Cloud Infrastructure

Urmate includes infrastructure management for running generated projects and builder runtimes. The infra layer is designed around managed VPS providers, sandbox connections, volumes, registries, API keys, snapshots, and heartbeat checks.

Routes And APIs

AreaAPIWhat it manages
Platform options/api/infra/platform-vps-optionsAvailable VPS/provider options shown to admins or runtime selectors.
Sandbox connections/api/infra/sandbox-connectionsExternal sandbox credentials and runtime connection records.
Sandboxes/api/infra/sandboxesRuntime sandboxes for generated projects.
VPS/api/infra/vps, /api/infra/vps/[id]Registered VPS machines, state, ownership, and configuration.
Registration/api/infra/vps/registerRegisters a server with Urmate.
Volumes/api/infra/vps/volumesPersistent volumes available for runtimes.
Registries/api/infra/vps/registriesContainer registries or image sources.
API keys/api/infra/vps/api-keysSecrets used by agents/runtimes to authenticate.
Snapshots/api/infra/vps/snapshotsRuntime images or saved workspace snapshots.
Heartbeat/api/infra/vps/heartbeatServer liveness and runtime health.
Install command/api/infra/vps/install-commandScript generator for attaching a VPS.

Runtime Health

Infrastructure is considered healthy when:

  • the VPS heartbeat is recent;
  • workspace storage is reachable;
  • runtime ports are mapped correctly;
  • secrets are present but never exposed to users;
  • snapshots can be created and restored;
  • project previews respond within an acceptable time.

Admin Checklist

  1. Add provider credentials in the admin infrastructure settings.
  2. Register at least one VPS or sandbox provider.
  3. Verify heartbeat and capacity.
  4. Run a builder project through preview and terminal commands.
  5. Test snapshot restore before allowing production users to rely on it.

Security Rules

Runtime credentials must be stored server-side only. Users can start, stop, preview, and publish projects through Urmate APIs, but they should not receive raw infrastructure API keys, registry secrets, or internal host credentials.

Copyright © 2026