Your first deployment
Connect a repository or image, release your first service onto infrastructure you own, expose HTTPS, and verify live traces.
This walkthrough takes a service from Git repository or container image to a live HTTPS endpoint with deploy-linked logs, metrics, and OpenTelemetry traces.
[!NOTE] Prerequisites: You need a Formatio account (starts with a 14-day free trial, or SSO if configured for your organization), a project inside your workspace, and a service configured to listen on
0.0.0.0at a known port such as3000. Services bound only to127.0.0.1orlocalhostare unreachable from platform ingress.
1. Create your workspace and project
Sign in at formatio.cloud/dashboard with your organization's SSO identity provider or email and password (entering a new email provisions a workspace with a 14-day free trial).
- Select or create an organization in the left sidebar.
- Open Projects, choose New project, and name your environment (for example
production). - Keep the default cluster/platform target selected unless your administrator assigned a dedicated Docker Swarm, Kubernetes, AWS ECS, or Google Cloud Run target.
2. Select a deployment source
Open Applications › New application, choose your project, and pick either a Git repository or an existing container image.
Tabs
GitHub
- Select Connect under Git sources if no GitHub connection exists yet.
- Approve Formatio once on GitHub. If the GitHub App is already installed on an accessible account, connection completes immediately; otherwise follow the prompt to install it.
- Choose the target repository from the picker. Use Configure on GitHub if a newly created repository is missing from the installation list.
GitLab
- Choose Connect and sign in once on
gitlab.comor your self-managed GitLab instance. - Pick a group or personal namespace. Connecting a group as an Owner creates a permanent group access token rotated automatically by Formatio.
- Select a project where your connection holds at least the Maintainer role.
Bitbucket
- Choose Connect, sign in once to Bitbucket Cloud, and pick your workspace.
- Select a repository you administer. Formatio registers the deployment webhook automatically.
- If your repository list appears empty, check the workspace owner list shown in the UI to grant repository admin permission.
Azure DevOps
- Choose Connect, sign in with Microsoft, and pick your Entra-backed organization (organizations backed by personal Microsoft accounts connect via a personal access token).
- If you are a Project Collection Administrator, Formatio registers its application directly; otherwise copy the admin approval link shown in the wizard for one-click admin consent.
- Formatio adds webhooks automatically (requires Project Administrator on the repository's Azure DevOps project).
Prebuilt container image
- Switch the source selector to Custom image.
- Enter an immutable registry reference such as
ghcr.io/acme/api:v1.4.2or asha256:digest rather than:latest. - Image sources skip repository builds and roll straight onto your runtime target once deployed.
Leave Deploy when <branch> is pushed checked to create an automatic deploy-on-push workflow on the repository's default branch.
3. Configure builder, size, and telemetry
- For repository builds, choose Railpack (default), Nixpacks, or Dockerfile. Pick a monorepo Directory or Build context when your service lives under a subpath such as
apps/api. - Select an available resource plan size for your workload.
- Leave Tracing enabled (default for new applications) so Railpack injects instrumentation automatically on supported runtimes or accepts spans from a 2–3 line Formatio SDK hook. See builds and images.
4. Add environment variables and secrets
Open the environment step to enter keys manually or paste a complete .env file via Paste .env.
- For Dockerfile builds, distinguish Variable (plain Docker
ARGvalues available at build metadata) from Secret (mounted safely via BuildKit--mount=type=secretand sealed at runtime). - For Railpack and Custom image apps, mark API keys, database URLs, and credentials as secrets in the secrets editor.
[!WARNING] Never embed server secrets into
VITE_*,NEXT_PUBLIC_*, or browser JavaScript bundles—any value bundled into client assets becomes public regardless of secret storage on the server.
5. Deploy and monitor the build
Creating an application saves configuration; it does not start the first release automatically.
- Choose Deploy to enqueue the initial deployment.
- Open the Deployments tab and select Build under Logs to watch checkout, image build, OTel instrumentation status (
formatio: tracing compiled inorformatio: tracing added with ...), and rollout progress. - Switch to Runtime logs once the rollout succeeds to verify healthy startup output on
stdout/stderr.
6. Expose an HTTP domain and verify
- Open the application's Networking tab and choose Add domain.
- Pick an instant platform subdomain (automatic TLS) or enter your custom domain and configure the shown DNS record.
- Set the Target port to match the container's listening port (for example
3000).
Verify it works
- Request your live HTTPS endpoint with
curl -i https://your-app.example.com/healthzand confirmHTTP/2 200(or expected app response). - Open Metrics on the application to confirm CPU, memory, and ingress HTTP rates are arriving.
- Open Tools › Traces in the workspace sidebar to inspect the live span waterfall tagged with your deployment SHA.
[!TIP] Expecting stateful uploads or database writes? Attach persistent storage before relying on disk state across deployments, and review Error groups to enable AI SRE triage.