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:
| Layer | What it is |
|---|---|
| Workspace | Your team: members, billing plan, GitHub App connections |
| Project | One stack tied to a repo (or blueprint): services and optional managed data |
| Services & data | Web, 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- Connect: Install the GitHub App and import a repo (classic single service or monorepo checklist).
- Configure: Service type, root directory, build/start commands or Dockerfile, path filters, and Variables.
- 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).
- Release: Traffic moves to the new version with rolling updates for web services. You can roll back without rebuilding.
- Edge: Each public web or static service gets a platform hostname (
*.bytstack.app) or your custom domain with automatic TLS. - 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
| Surface | Purpose |
|---|---|
| Pipeline / Overview | Services per environment, last deploy, Promote between stages |
| Deployments | Timeline, build output, artifact details, CLI equivalents |
| Metrics | CPU, memory, restarts, request rate and latency (web) |
| Logs | Build stream and live runtime tail (including cron run selector) |
| Alerts | Custom rules on health, restarts, CPU, and memory, see Alerts |
| Rollback | Point 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.
Related
- Deploy apps, service types, stack detection, build tiers
- Core concepts, workspaces vs environments
- Managed databases · Redis · Buckets