Approval before spend
Billable provisioning requires explicit approval against a current estimate bound to the deployment configuration. Expired, changed, or previously consumed estimates are rejected.
Engineering case study · Private source · In development
A backend control plane for managing deployment records, provider operations, protected inference workloads, and cost-aware lifecycle transitions.
Problem
DeploymentPlatform models the control-plane responsibilities around infrastructure: configuration, secrets, estimates, approvals, state changes, health checks, logs, usage records, and teardown. The goal is to make billable and operational transitions explicit instead of hiding them behind a single deploy action.
Lifecycle
The service tracks deployments from creation through queueing, provisioning, build, startup, health checking, running, stop, restart, failure, and deletion. Invalid transitions are rejected and state changes produce operational events.
Engineering decisions
Billable provisioning requires explicit approval against a current estimate bound to the deployment configuration. Expired, changed, or previously consumed estimates are rejected.
The Runpod adapter provisions a bearer-authenticated gateway that accepts only approved inference routes and the configured model; Ollama remains loopback-only behind the gateway.
Deployment secrets are encrypted at rest and are not returned by the environment API. Events and logs use redaction helpers before persistence.
A deployment becomes running only after provider health checks pass. Stop, restart, delete, failure handling, and idle-stop behavior follow defined lifecycle transitions.