Void Platform Deployment: Setup & CLI Step-by-Step Guide - features

Void Platform Deployment: Setup & CLI Step-by-Step Guide

Learn Void Platform deployment from scratch: platform installation, CLI setup, project connection, first deploy, and rollback workflows on Cloudflare.

2026-10-17
Void Platform Wiki Team
Quick Guide
  • 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 setup connects a project; void deploy builds 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:

LayerWhat It IsControlled By
PlatformThe installed Void Platform environment in CloudflareAdministrator
ProjectAn application connected to the platform for deploymentDeveloper or CI
DeploymentA specific build-and-release run of a projectCLI or pipeline

Cloudflare Runtime

  • Applications deploy into your Cloudflare account
  • Configurable application domains
  • Workers Dev test mode available

CLI + Dashboard

  • void deploy for 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
Start With the Right Mindset

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 ItemPurposeNotes
Platform nameIdentifies the installation in your Cloudflare accountChoose a stable, recognizable name
Application domainHostname for the platform management interfacePlan DNS and HTTPS coverage
Login methodControls how users sign inGitHub, Google, OIDC options
Workers Dev test modeTemporary test addressesGood for validation before custom domains
Database resourcesPlatform data layerSized during installation
Storage resourcesApplication storage (R2)Configured as part of setup
Domain Planning Matters

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.

1

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.

2

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.

3

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.

4

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.

5

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.

Deployment Is Repeatable

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.

CategoryCommandPurposeTypical Use Case
Project Initializationvoid initInitialize project configurationStarting a new project or repo
Authenticationvoid auth loginCreate an interactive user sessionLocal development, admin work
Platform Connectionvoid platform connectLink local project to platformTargeting an existing project
Deploymentvoid deployBuild and deploy the current projectManual releases and CI pipelines
Logsvoid logsInspect app and deployment logsDebugging failures and runtime issues
Databasevoid dbDatabase operationsCoordinating migrations with releases
Secretsvoid secretsManage sensitive configurationKeeping credentials out of the repo
Domainsvoid platform installationConfigure domain routingCustom domains, DNS, HTTPS
Order of Operations

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 TypeScopeStorage Guidance
User login sessionOne individualLocal interactive use only; never shared
Project credentialsOne project or environmentCI secret store, scoped per repo
Platform credentialsPlatform-wide operationsRestricted admin-controlled storage
Database configOne environmentEnvironment-specific secrets, never in logs
Encryption keysProject-managed dataProtected config; rotate with a migration plan
Never Commit Credentials

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.