- Void Platform deployment runs on your own Cloudflare account with CLI plus dashboard control.
- Two phases: install the platform first, then connect and deploy application projects.
- Core workflow:
void setupconnects a project;void deploybuilds and ships it. - Recovery controls cover interrupted deploys, cancellation, and rollback to a stable state.
- Self-hosting means you control domains, authentication, users, and platform resources.
What Void Platform Deployment Covers
Void Platform deployment is the process of installing a self-hosted deployment platform into your Cloudflare account and then using the Void CLI to connect, build, and ship application projects to it. Unlike fully managed hosts, you own the platform layer: the application domain, login methods, database and storage resources, and team access all live under your Cloudflare account. The official docs walk through this in two documents: the first deployment guide and the platform installation reference.
Deployment involves three distinct layers that beginners often confuse:
| Layer | What It Is | Controlled By |
|---|---|---|
| Platform | The installed Void Platform environment in Cloudflare | Administrator |
| Project | An application connected to the platform for deployment | Developer or CI |
| Deployment | A specific build-and-release run of a project | CLI or pipeline |
Cloudflare Runtime
- Applications deploy into your Cloudflare account
- Configurable application domains
- Workers Dev test mode available
CLI + Dashboard
void deployfor builds and releases- Web dashboard for administration
- Status and log visibility
Self-Hosted Control
- You choose login and identity providers
- User, team, and project permissions
- Database and storage resources
Treat platform installation and project deployment as separate tasks. Install and configure the platform once, then deploy many projects against it. Mixing the two phases is the most common beginner mistake.
Platform Installation Prerequisites
Before any Void Platform deployment can succeed, the platform itself must be installed and correctly configured. Installation can be completed interactively, with guided prompts, or through the command line for a repeatable, scriptable setup. The self-hosted platform guide details the full process.
| Configuration Item | Purpose | Notes |
|---|---|---|
| Platform name | Identifies the installation in your Cloudflare account | Choose a stable, recognizable name |
| Application domain | Hostname for the platform management interface | Plan DNS and HTTPS coverage |
| Login method | Controls how users sign in | GitHub, Google, OIDC options |
| Workers Dev test mode | Temporary test addresses | Good for validation before custom domains |
| Database resources | Platform data layer | Sized during installation |
| Storage resources | Application storage (R2) | Configured as part of setup |
Decide your production hostname before installation. Changing domains later requires coordinated updates to DNS, certificates, OAuth callbacks, and webhooks. Add and validate the new domain before removing the old one whenever possible.
Before You Deploy Anything:
- Platform installed in your Cloudflare account
- Application domain chosen and DNS configured
- Login and authentication method selected
- Database and storage resources provisioned
- Administrator access confirmed
First Deployment: Step-by-Step
Once the platform is installed, your first application deployment follows a consistent order: prepare the project, connect it, review settings, then build and release. The workflow below mirrors the official first deployment walkthrough.
Create or prepare a project
Start from the application directory you intend to deploy. Confirm project files and application configuration are ready before connecting anything to the platform. Use a dedicated project directory to keep deployment context clean.
Connect the project with void setup
Run void setup from the project directory. Complete the requested authentication steps and select the intended platform account and project when prompted. This establishes the project context every later command relies on.
Review deployment settings
Before releasing, verify the selected application, target platform, project name, and related resources. A wrong project or platform selection here is the easiest error to catch and the hardest to undo after deployment.
Run void deploy
Execute void deploy to build and ship the application. Keep the terminal session open while the deployment runs and review the CLI output and platform status until the process completes.
Verify and monitor
Check the deployment status and platform logs. If anything fails, inspect logs with void logs before retrying, so the same error does not repeat silently.
After the first successful release, subsequent deployments reuse the established project context. The same void deploy command also works in CI pipelines once credentials and project context are configured for non-interactive use.
Core CLI Commands for Deployment
The Void CLI is the primary tool for the entire deployment lifecycle. Commands group naturally by task: initialization and connection first, then deployment, then observability and resource management. Full references live at the CLI platform docs and CLI overview.
| Category | Command | Purpose | Typical Use Case |
|---|---|---|---|
| Project Initialization | void init | Initialize project configuration | Starting a new project or repo |
| Authentication | void auth login | Create an interactive user session | Local development, admin work |
| Platform Connection | void platform connect | Link local project to platform | Targeting an existing project |
| Deployment | void deploy | Build and deploy the current project | Manual releases and CI pipelines |
| Logs | void logs | Inspect app and deployment logs | Debugging failures and runtime issues |
| Database | void db | Database operations | Coordinating migrations with releases |
| Secrets | void secrets | Manage sensitive configuration | Keeping credentials out of the repo |
| Domains | void platform installation | Configure domain routing | Custom domains, DNS, HTTPS |
Always authenticate and connect before deploying. Running void deploy without an established platform connection and project context is a common cause of first-run failures.
Deployment Recovery, CI, and Security
Deployments do not always go to plan, and Void Platform provides explicit controls for the messy cases: interrupted deployments, cancellation, and rollback to a previous stable state. When a deployment fails or ships a bad build, stop or cancel the active workflow first, then use rollback controls rather than attempting to overwrite a broken state blindly.
For automated pipelines, credential hygiene is the difference between a secure workflow and a leaked one. The CI installation guide and credentials guide define the separation rules.
| Credential Type | Scope | Storage Guidance |
|---|---|---|
| User login session | One individual | Local interactive use only; never shared |
| Project credentials | One project or environment | CI secret store, scoped per repo |
| Platform credentials | Platform-wide operations | Restricted admin-controlled storage |
| Database config | One environment | Environment-specific secrets, never in logs |
| Encryption keys | Project-managed data | Protected config; rotate with a migration plan |
Store Cloudflare, database, JWT, and R2 values in the CI provider's encrypted secret store, exposed only to the deployment job. Prefer project-scoped credentials for ordinary deployments and reserve platform credentials for tasks that genuinely need broader access.
Pre-Production Deployment Checklist:
- CI credentials stored in encrypted secrets, not the repo
- Staging and production values kept separate
- Rollback target identified before each release
- Domain and HTTPS configuration verified
- Deployment logs reviewed after every release
FAQ
Q: What is Void Platform deployment?
Void Platform deployment is the two-part process of installing the self-hosted Void Platform into your Cloudflare account, then using the Void CLI to connect application projects and release them with commands like `void setup` and `void deploy`.
Q: What happens if a deployment fails or is interrupted?
You can stop or cancel the active deployment workflow through the platform controls. For a bad release, use rollback controls to revert to a previous stable state instead of redeploying over a broken build.
Q: Can I run Void Platform deployment in CI?
Yes. After configuring non-interactive credentials and project context, the same `void deploy` command runs in CI jobs. Store credentials in the CI provider's encrypted secret store and expose them only to the deployment step.
Q: Do I need my own Cloudflare account?
Yes. Void Platform is self-hosted: the platform, its domains, authentication, users, and resources run in your own Cloudflare account rather than on shared managed infrastructure.