Void Platform: Cloudflare Setup & Deployment Guide - guide

Void Platform: Cloudflare Setup & Deployment Guide

Learn Void Platform setup, CLI deployment, authentication, domains, secrets, and self-hosted Cloudflare workflows for modern web apps.

2026-10-17
Void Platform Wiki Team
Quick Guide
  • Void Platform is a cloud deployment and platform management tool built on Cloudflare, controlled via CLI and dashboard.
  • Two control modes: use the Void CLI for scripted workflows or the web dashboard for interactive administration.
  • Self-hosted option: install the platform into your own Cloudflare account with custom domains and resources.
  • Credential hygiene: keep user sessions, project credentials, and administrator tokens strictly separated.
  • Start here: run void setup to connect a project, then void deploy for your first release.

What Is Void Platform?

Void Platform is a developer-oriented deployment and platform management tool within the Void ecosystem. It runs on Cloudflare infrastructure and unifies project deployment, user and project administration, authentication, domains, and operational monitoring into a single environment. You can deploy it into your own Cloudflare account and customize it to your team's needs.

The platform is organized around a few core building blocks:

Cloudflare Deployment

  • Cloudflare-based application deployment
  • Configurable application domains
  • Interactive or CLI installation

Project & Access Management

  • Project creation and association
  • Platform login configuration
  • Team-oriented app management

Data & Operations

  • Database and storage resources
  • Deployment logs and status
  • Rollback and cancellation controls
Scope Check

This wiki covers Void Platform, the deployment and platform management tool. It is not VoidBox, Void Linux, or other same-named software. Official documentation lives at void.cloud.

The platform architecture ties together the CLI, the platform API, projects, deployment resources, and the Cloudflare runtime. Understanding how these pieces relate helps you debug deployment failures and design CI pipelines correctly.

LayerRoleManaged Through
Void CLILocal project control, deploy, logsTerminal commands
Platform APIDeployment orchestration, project dataPlatform services
ProjectsLogical grouping of applicationsCLI or dashboard
Cloudflare runtimeCompute, storage, networkingCloudflare account
DomainsPublic routing and HTTPSInstallation config

Installation: Deploying the Platform to Cloudflare

Installing Void Platform establishes the Cloudflare-based environment used for all application deployments. You can complete setup interactively or through a repeatable CLI workflow. The key installation decisions are summarized below.

SettingWhat It ControlsNotes
Platform nameIdentifies the installationUsed in admin workflows
Application domainAccess hostname for the platformPlan DNS and HTTPS early
Login methodHow users authenticateGitHub, Google, OIDC supported
Workers Dev test modeTemporary test addressesReserve for validation only
Database & storagePlatform resource allocationConfigure during install
1

Choose the installation method

Pick interactive installation for guided prompts, or command-line installation when you need a scriptable, repeatable setup. The CLI path is recommended for teams that manage multiple environments.

2

Set the platform name and Cloudflare context

Define the name that identifies this Void Platform installation inside your Cloudflare account. Use a convention that distinguishes staging from production installations.

3

Configure the application domain

Specify the hostname used to reach the platform and its management interface. Confirm DNS control over the zone before continuing.

4

Select login and authentication settings

Choose how users sign in, such as external identity providers or platform-native authentication. Verify the configuration before completing installation.

5

Review test mode and resources

Decide whether Workers Dev test mode should be enabled, and confirm database and storage resources. Full details are in the platform installation reference.

Domain Planning

Enable HTTPS and confirm certificate coverage before sending production traffic. Wildcard certificates are needed when multiple nested hostnames share a parent domain.

Void CLI Commands Reference

The CLI is the primary interface for connecting projects, deploying, and operating applications. Commands fall into clear categories: initialization, authentication, platform connection, deployment, observability, data, secrets, and domains.

CategoryCommandPurpose
Project Initializationvoid initInitialize project configuration in the current directory
Authenticationvoid auth loginCreate an interactive CLI login session
Platform Connectionvoid platform connectConnect a local project to a platform environment
Deploymentvoid deployBuild and deploy the current project
Logsvoid logsInspect application or deployment logs
Databasevoid dbDatabase-related project operations
Secretsvoid secretsManage sensitive configuration values
Domainsvoid platform installationConfigure domains, DNS, and routing
Command Order

Always complete initialization and authentication before running deployment or operational commands. Verify the active account and project context with platform status checks before confirming a deployment.

A typical first deployment follows this sequence:

StepCommandExpected Result
1void setupProject connected to the platform
2void deployDeployment workflow started
3Confirm promptsPlatform and project selected
4Monitor outputDeployment status visible
5void logsRuntime behavior verified

Deployment controls also cover interruption handling, cancellation, and rollback to a previous stable state. Keep the terminal session open while a deployment runs so you can react to failures immediately.

Authentication Models Explained

Void Platform authentication has several distinct layers, and confusing them is a common source of security problems. A user login session identifies a person; a platform connection associates a project; project credentials support automation on behalf of a project; administrator tokens grant platform-wide access.

Credential TypeScopeBest For
User login sessionIndividual personLocal development, manual work
Platform connectionOne project/environmentLinking a repository to the platform
Project credentialsProject-scopedApp integrations, per-project automation
Administrator tokenPlatform-wideInstallation and access management
CI credentialsJob-scoped, non-interactiveAutomated deployment pipelines
Never Share or Commit Credentials

Store CI credentials in your CI provider's encrypted secret store, expose them only to the deployment job, and separate credentials by repository, project, or environment. Rotate them when team ownership changes.

Supported login options include GitHub, Google, OIDC for organization-managed identity, and Cloudflare Access for an additional identity-aware access layer. External login determines user identity but does not replace project or CI deployment credentials.

Authentication Hygiene Checklist:

  • Separate administrator credentials from CI variables
  • Use the smallest permission scope required for each task
  • Store CI credentials only in encrypted secret stores
  • Rotate project credentials when ownership changes
  • Verify active account and project context before deploying

CI, Secrets, and Security

Automated deployments require a clear separation between source code, environment variables, project credentials, and platform credentials. Every value injected into a CI job should be classified before storage.

Secret CategoryExamplesHandling Rule
Cloudflare configAccount IDs, API credentialsDedicated credential, narrowest permissions
Database configURLs, hosts, passwordsNever print connection strings in build logs
JWT configSigning secrets, issuer settingsRotate through a planned process
R2 configBucket name, access keysSeparate credentials per environment
Project encryption keyKey material for protected dataNever commit or expose in logs
Environment variablesFeature flags, service URLsClassify each value before storage
CI Best Practice

Use project-scoped credentials for ordinary deployments and reserve platform-level credentials for administrative tasks that genuinely require broader access. Keep staging and production values fully separated.

For domain changes, treat the update as a coordinated DNS, certificate, routing, and application configuration task: add and validate the new domain before removing the old one, and update OAuth callbacks, webhooks, and environment variables that reference the previous hostname.

FAQ

Q: What is Void Platform used for?

Void Platform is a cloud deployment and platform management tool that runs on Cloudflare. It handles project deployment, user and project administration, authentication, domains, databases, storage, logs, and rollback through a CLI and web dashboard.

Q: Can I self-host Void Platform in my own Cloudflare account?

Yes. Installation deploys the platform into your Cloudflare account, with configurable platform name, application domain, login method, Workers Dev test mode, and resource settings. Both interactive and command-line installation paths are supported.

Q: Which credential type should CI pipelines use?

CI jobs should use non-interactive, project-scoped credentials stored in the CI provider's encrypted secret store. Avoid administrator tokens for routine deployments; reserve them for administrative workflows that require broader access.

Q: How do I handle a failed or interrupted deployment?

Use the platform's deployment controls to cancel an active workflow, then apply rollback to return to a previous stable state. Inspect `void logs` output to diagnose the failure before retrying.