Core concepts
Projects, deployments, environments and releases.
Project
A project is one site or app. It owns its deployments, domains, environment variables, firewall rules and analytics. A project can be connected to a GitHub repository, or created from a folder with vtx link.
Deployment
A deployment is one build of a project: an immutable snapshot, with its own URL. A deployment is created by a push to a connected branch, or by vtx deploy. Its status moves through queued, building and ready, or ends as an error or cancelled.
Environments
| Environment | What it is |
|---|---|
| Production | The deployment your real domain points at. |
| Preview | Every other deployment: branches, pull requests and CLI deploys without --prod. |
| Development | Used for local development values of your environment variables. |
Release
A release is the moment production moves to a deployment. It is atomic: production switches only when the new build is ready, so there is never a half-deployed state. Because deployments are immutable, you can point production back at an earlier one at any time. See Rollbacks.
Edge, functions and static files
Static files are served from the edge. Server-side code, such as a Next.js route or an Astro endpoint, runs as a function. The edge also applies routing, the cache and your firewall before a request reaches that code.