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-appDeploy 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.yamlvolcano 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 changesProtect data with row-level security before going live.
Custom domain
volcano cloud frontends domain create my-site --domain app.example.comObserve
volcano functions logs hello
volcano cloud frontends logs my-siteBefore you launch
- Work through the security checklist.
- Review your plan against plans and limits — upgrade to Pro for higher caps and scheduled functions.