Volcano/ Docs

Deploy to production

Take a Volcano project to production: deploy functions and frontends, set secrets, add a custom domain, and watch logs.

Once your project works locally (see the Quickstart), ship it to the cloud with the Volcano CLI. Everything below targets your cloud project — select it first:

volcano projects create my-app
volcano use my-app

Deploy your project

Deploy resources individually, or apply your whole project from one manifest:

volcano cloud functions deploy --all      # functions
volcano cloud frontends deploy            # frontend
volcano config deploy                     # everything in volcano-config.yaml

volcano config deploy is the recommended path for production — it applies functions, variables, schedules, and frontend settings from a single reviewed manifest.

Configure secrets and variables

Store configuration and secrets as project variables (available to functions and frontend builds; NEXT_PUBLIC_* also reaches the browser):

volcano variables deploy DATABASE_URL=... STRIPE_SECRET_KEY=...

Never hard-code secrets in source. See environment variables.

Databases and migrations

volcano databases create app
volcano migrations deploy                 # apply schema changes

Protect data with row-level security before going live.

Custom domain

volcano cloud frontends domain create my-site --domain app.example.com

Observe

volcano functions logs hello
volcano cloud frontends logs my-site

Before you launch

On this page