Product preview
How Zero works.
The model is short: organization, project, environment and services. On top of it the platform deploys, promotes, addresses, configures, scales, observes, connects and identifies who signs in.
1The model
Four levels, each answering for one thing only. The control plane decides and stores the state; the data plane runs the build and the runtime. You never declare an infrastructure object.
| Level | What it is | What is decided there |
|---|---|---|
| Organization | The limit for people, credentials and integrations. | Members, application credentials, integrations, alerts and the governance ceiling. |
| Project | The application and its origin. | Origin, public or internal exposure, domains, pull request previews. |
| Environment | The project's execution stage. | Route and network of the environment. production is born with the project. |
| Service | What runs: web, private_service, worker or scheduled_job. | Scaling, instance size, variables, capabilities and access policy. |
Creating a service records an intent: it does not publish anything yet. A project created with --internal gets no public address, and the project exposure can be public or internal.
2Deploy and roll back
Deploying is always the same shape: a build from the origin, an artifact stored by digest, and a release that points the service at that artifact. The request answers 202 with an operation, and progress arrives as a stream of events — there is no polling loop.
Rolling back deletes nothing. rollback --to creates a new release over an earlier artifact; the history stays whole, and the release list tells you which target is eligible.
zero deploy svc_… # 202 + operation, tracked as a stream zero logs svc_… --build # the build log, start to finish zero releases svc_… # the ROLLBACK column is the eligible target zero rollback svc_… --to rel_… --reason "login regression"
3Promote without rebuilding
The artifact is the unit that travels. Promotion moves the same digest to another environment and does not compile again: what went through the test environment is bit for bit what goes live. In the CLI the origin is named with --from; in the SDK the same holds when deploying with the artifact identifier.
zero artifacts svc_staging # shows the eligible digest zero promote svc_prod --from svc_staging
4Domains
Every project has a canonical address, and it can be replaced by a company domain. The path is the usual one: check availability, register, prove ownership through a record at the DNS provider and, if you want, delegate the zone.
- The canonical address belongs to the project, not to the service.
- Verification runs at the edge and returns the state of the proof.
- Delegation is optional: whoever already runs the DNS can just point the record.
5Configuration and secrets
Variables and secrets exist in three scopes — organization, project and environment — and inheritance is resolved on the server. The value that reaches the application is the result of that calculation, and config effective shows exactly which it is, without exposing a secret.
The value always comes in through standard input (--value-stdin), never as an argument: an argument stays in the shell history and in the process list. A stored secret is not read back by the API — the platform only confirms that it exists.
printf '%s' "$VALUE" | zero config set DATABASE_URL --env env_… --value-stdin zero config effective --env env_… # inheritance resolved, scope by scope zero config unset DATABASE_URL --env env_…
DATABASE_URL is the name of a variable in your application: the value comes in through standard input and is never read back.
6Scaling and instance size
Scaling is one of two modes: fixed, with a number of instances, or automatic, with a minimum and a maximum — the ceiling is 50. Deciding to add an instance is the platform's job, not a loop inside the process.
The instance size comes from a catalogue of profiles. Loose CPU and memory are refused: asking for resources outside the catalogue returns LEGACY_RESOURCES_RETIRED. That is what keeps cost predictable and comparison between services honest.
7Observability
Four signals, all tied to the service or the project: the build log, the application log, operation events and metrics — runtime and request metrics. Alerts exist per organization and per project.
- The application log keeps 7 days and up to 50 thousand lines per service per day.
zero logsfilters by level, searches by text, cuts the window (30m,24h,7d), follows live and prints JSON.- The build log belongs to the deployment: it answers why a deployment did not go up.
zero logs svc_… --follow --level error --from 1h zero logs svc_… --search "timeout" --from 24h --json
8Image security
What goes live is an artifact identified by digest, and that digest is what gets scanned. Findings live on the service and on the project, with severity, and zero security prints the summary — --findings opens the list.
Scanning the published digest, instead of the repository, solves the right problem: what matters is the image serving requests.
9Network between projects
Two projects can talk without going through the internet. Access is granted by an explicit permission, service by service, with the port declared; the service gets an internal name and the environment edge accepts an internal entry with that name.
Private Connect takes this to the company network. It exists and has been operable from the CLI since November 2026, but it is conditional on the installation: the organization must have the capability enabled and the two credentials issued in the Private Connect Console. It is not a universal feature, and the MCP server only reads its state — turning it on or off does not go through there.
- Network, permission per service and port, internal name and internal entry: the
networks,entries,private-connectionandprivate-endpointscommands. - An internal project (
--internal) gets no public address — the service is reachable only through the network.
10Zero Git and pull requests
Besides GitHub, GitLab, Bitbucket and images, the project can use Zero's own repository. zero git setup prepares access, and the change cycle happens there: request, review, merge.
zero pr list | show | create | merge | close— the change request from the CLI.- Pull request previews: each request can get its own environment to be seen before the merge.
11Organization login and data
The published application can use the organization login instead of keeping its own accounts. The capability is called organization-iam and takes effect on the next deployment; the service access policy decides whether it is private, organization-wide or public.
With login enabled, the querymesh capability lets the application query the organization's data on behalf of the person who signed in — the data policy applied is that person's, not a service account's. This one takes effect immediately.
zero services enable organization-iam svc_… # takes effect on the next deployment zero deploy svc_… zero services enable querymesh svc_… # takes effect immediately zero services doctor querymesh svc_… # says what is missing and who fixes it
Seeing it work beats reading about it.
Create a project in the console, point it at a repository and follow the build until the address answers.