Architecture

Architecture

How Bytstack works, from your repository to a live URL, managed data, and observability in the dashboard.

This page explains what happens when you connect a repo, deploy, and operate your app. It is the customer view of the product, not an operator runbook.

Hierarchy

Everything you manage rolls up in three layers:

LayerWhat it is
WorkspaceYour team: members, billing plan, GitHub App connections
ProjectOne stack tied to a repo (or blueprint): services and optional managed data
Services & dataWeb, static, worker, and cron services per deployment environment, plus managed Postgres, Redis, and Buckets

Shared Variables and custom domains attach at the project level and apply per environment.

End-to-end flow

GitHub push  ·  CLI  ·  Dashboard
              │
              ▼
         Build (detect stack, install, compile)
              │
              ▼
         Release (container image or static assets)
              │
              ▼
    Live URL on the edge  +  private network to data
  1. Connect: Install the GitHub App and import a repo (classic single service or monorepo checklist).
  2. Configure: Service type, root directory, build/start commands or Dockerfile, path filters, and Variables.
  3. Build: Bytstack clones the branch, detects language and package manager, runs your build, and produces a release artifact (container for web/worker/cron, or static files for SPAs).
  4. Release: Traffic moves to the new version with rolling updates for web services. You can roll back without rebuilding.
  5. Edge: Each public web or static service gets a platform hostname (*.bytstack.app) or your custom domain with automatic TLS.
  6. Data: Managed Postgres, Redis, and Buckets live on a private network reachable from your services in the same project and environment, not exposed on the public internet by default.

Statuses you will see: queued → cloning → building → publishing → releasing → live.

What you see in the dashboard

SurfacePurpose
Pipeline / OverviewServices per environment, last deploy, Promote between stages
DeploymentsTimeline, build output, artifact details, CLI equivalents
MetricsCPU, memory, restarts, request rate and latency (web)
LogsBuild stream and live runtime tail (including cron run selector)
AlertsCustom rules on health, restarts, CPU, and memory, see Alerts
RollbackPoint production at a previous successful release

Optional customer tracing lets your app export OpenTelemetry to a collector you operate (OTEL_EXPORTER_OTLP_ENDPOINT on new releases). Bytstack does not require a specific vendor.

Isolation and environments

Each deployment environment (production, staging, testing, PR previews) has its own services and data bindings. References like ${{service.api.URL}} resolve inside the current environment only: staging URLs do not leak into production config.

Preview deployments get disposable hosts and overlay Variables without copying production secrets. See Preview deployments.

Architecture | Bytstack Docs