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.0 at a known port such as 3000. Services bound only to 127.0.0.1 or localhost are 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).

  1. Select or create an organization in the left sidebar.
  2. Open Projects, choose New project, and name your environment (for example production).
  3. 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

  1. Select Connect under Git sources if no GitHub connection exists yet.
  2. 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.
  3. Choose the target repository from the picker. Use Configure on GitHub if a newly created repository is missing from the installation list.

GitLab

  1. Choose Connect and sign in once on gitlab.com or your self-managed GitLab instance.
  2. Pick a group or personal namespace. Connecting a group as an Owner creates a permanent group access token rotated automatically by Formatio.
  3. Select a project where your connection holds at least the Maintainer role.

Bitbucket

  1. Choose Connect, sign in once to Bitbucket Cloud, and pick your workspace.
  2. Select a repository you administer. Formatio registers the deployment webhook automatically.
  3. If your repository list appears empty, check the workspace owner list shown in the UI to grant repository admin permission.

Azure DevOps

  1. Choose Connect, sign in with Microsoft, and pick your Entra-backed organization (organizations backed by personal Microsoft accounts connect via a personal access token).
  2. 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.
  3. Formatio adds webhooks automatically (requires Project Administrator on the repository's Azure DevOps project).

Prebuilt container image

  1. Switch the source selector to Custom image.
  2. Enter an immutable registry reference such as ghcr.io/acme/api:v1.4.2 or a sha256: digest rather than :latest.
  3. 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

  1. 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.
  2. Select an available resource plan size for your workload.
  3. 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 ARG values available at build metadata) from Secret (mounted safely via BuildKit --mount=type=secret and 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.

  1. Choose Deploy to enqueue the initial deployment.
  2. Open the Deployments tab and select Build under Logs to watch checkout, image build, OTel instrumentation status (formatio: tracing compiled in or formatio: tracing added with ...), and rollout progress.
  3. Switch to Runtime logs once the rollout succeeds to verify healthy startup output on stdout/stderr.

6. Expose an HTTP domain and verify

  1. Open the application's Networking tab and choose Add domain.
  2. Pick an instant platform subdomain (automatic TLS) or enter your custom domain and configure the shown DNS record.
  3. Set the Target port to match the container's listening port (for example 3000).

Verify it works

  1. Request your live HTTPS endpoint with curl -i https://your-app.example.com/healthz and confirm HTTP/2 200 (or expected app response).
  2. Open Metrics on the application to confirm CPU, memory, and ingress HTTP rates are arriving.
  3. 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.

Further reading