Platform administration and reference
Understand Formatio architecture, connect bare-metal hosts or Kubernetes, ECS, and Cloud Run targets, and operate the HTTP API and MCP endpoints.
Formatio combines a Go control plane, a React/Inertia web console, PostgreSQL/Timescale telemetry storage, and pluggable runtime orchestrators across Docker Swarm, Kubernetes, AWS ECS, and Google Cloud Run.
Control plane and workspace isolation
- Web console and JSON APIs: the Go HTTP server delivers session-authenticated Inertia pages and bearer-authenticated JSON endpoints under
/api/.../, plus Streamable HTTP MCP access atPOST /mcp. - Desired vs. runtime state: organizations and projects govern permissions and private DNS boundaries, while applications store build, domain, secret, and resource specs applied to the target runtime upon deployment.
- Encrypted inventory and secrets vault: platform SSH keys, cloud IAM/service-account credentials, registry logins, and application secrets are encrypted with AES-256-GCM before storage.
Deployment and runtime path
- A Git push webhook (GitHub, GitLab, Bitbucket, or Azure DevOps), UI click, MCP deploy call, or
POST /api/application/{id}/build/enqueues a serialized deployment job. - Deployment workers check out the Git revision (or verify an existing container image reference) and build using Railpack, Nixpacks, or Dockerfile.
- Built images push to the platform's configured container registry (OCI registry, Amazon ECR, or Google Artifact Registry).
- The runtime adapter reconciles the workload, secrets, ingress routing, and volumes on the project's assigned Docker Swarm, Kubernetes, AWS ECS, or Google Cloud Run platform.
Telemetry and AI SRE loop
| Signal | Collection and query path |
|---|---|
| Runtime and host metrics | Node agents or runtime scrapers → telemetry collector → Timescale-backed metrics store |
| HTTP request metrics | Ingress proxy scrape → metrics store (grouped by public route and status code) |
| Build and runtime logs | Build runner / container log drivers → live log stream and 30-day retained store |
| Distributed traces | Automatic Railpack OTel or 2–3 line Formatio SDK → POST /otlp/v1/traces → trace store |
| Grouped error advisor & fix PRs | Exception spans → error grouping + suspect commit ranking → AI advisor / sandboxed fix PR |
In this section
- Hosts and credentials inventory — Seal infrastructure secrets, register servers with pinned SSH host keys, and bootstrap Swarm nodes.
- Platforms, runtimes and registries — Configure Docker Swarm, Kubernetes, AWS ECS, Google Cloud Run, and container registries.
- Cluster administration — Run Swarm reconcile sweeps (
RECONCILE_DRY_RUN), restore offline services, and resolve recovery claims. - Git providers — Connect GitHub, GitLab, Bitbucket, and Azure DevOps or migrate legacy
GH_APP_*apps. - Coding agents (MCP) setup — Connect Cursor, Claude Code, Codex, and GitHub Copilot to
POST /mcp. - HTTP API reference — Authenticate and call all 41 REST endpoints across applications, inventory, platforms, networks, workflows, and cluster ops.
- Troubleshooting — Step-by-step diagnostics for builds, ingress TLS, telemetry, SSH hosts, MCP, and multi-runtime deployments.