Vercel · Fly.io · Heroku · Daytona · Unikraft · Helm
Six real-host guides, one screen each
Every guide below follows the same pattern: one prompt to paste in chat, an illustrative status summary, your single approval command, and copy-ready step-by-step terminal commands so you never need to bounce to raw GitHub files.
Choose your way in: Hands-on lab · Step-by-step tutorial · Guides by host (this page)
Jump to: Vercel & Stripe · Fly.io · Moving off Heroku · Daytona Sandbox · Unikraft MicroVM · Self-Hosted Helm + SSO | New here? Deploy your first app · Bring your own app · Going back
1. Next.js on Vercel (with Stripe test vs. live keys)
Connect a linked Vercel project and Stripe test defaults so your agent updates preview and staging freely while live payment keys and production cache stay gated behind your approval.
Try a 30-second price cache and Stripe test mode in Vercel preview and staging for the sale. Keep production at 60s until I approve it.shop)
Production waiting approval
- Preview
EDGE_CACHE_SECONDS=30·STRIPE_MODE=test(Vercel preview)Updated- Staging
EDGE_CACHE_SECONDS=30·STRIPE_MODE=testUpdated by agent- Production
EDGE_CACHE_SECONDS=60· live keys kept; runcub mini approve BASE/ORDERWaiting for you
Prerequisites: Vercel CLI (vercel link in your app folder), Python 3 (used by the provider helper scripts), then /confighub:staging in Claude Code (or download and start the local hub via ~/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub mini get on Claude Code or ~/.codex/confighub/bin/confighub mini get on Codex; see install ConfigHub). Set CUB_MINI_STARTERS=on when enabling built-in YAML starters; pass --live to cub mini adopt when connecting direct live delivery. Replace ORDER_ID with the exact ID from cub mini waiting --card. (Stripe payment defaults · Full walkthrough)
Step-by-step terminal commands (stay on-site; --fleet updates staging immediately and queues production for approval)
1. Adopt the app, test in staging, queue production, and print pending orders:
vercel link && cub mini adopt . --name shop --live
cub mini set shop EDGE_CACHE_SECONDS=30 STRIPE_MODE=test --variant staging --change-desc "Sale preview + test keys"
cub mini set shop EDGE_CACHE_SECONDS=30 --variant base --fleet --change-desc "Promote to staging and queue production approval"
cub mini waiting --card2. After replacing ORDER_ID with the exact order ID printed above, approve and deliver in one gated chain:
ORDER_ID="replace-with-order-id"
cub mini approve "shop-base/$ORDER_ID" && cub mini deliver shop && cub mini deliver shop --compare --card2. Fly.io (Rails, Node/Express, or fly.toml apps)
Roll approved settings across Fly Machines on the same image while keeping secrets on Fly. Plugin hooks hold direct fly secrets set on production; local-hub rollover reads non-secret keys from .env and fly.toml [env] (keep FLY_* out of adopted config). Verified on single-Machine Rails and Node apps; multi-Machine groups remain untested. Running /confighub:staging sets autoAllowBashIfSandboxed: true unless CUB_MINI_MODE=team.
Set APP_SUPPORT_HOURS to Daily in staging on Fly. Propose the same change for production and show me the approval command.- Staging
APP_SUPPORT_HOURS="Daily"Updated by agent- Production
- Previous hours preserved on live Fly app; gate:
cub mini approve BASE/ORDERWaiting for you
Prerequisites: flyctl auth whoami, a fly.toml with an [env] block, and /confighub:staging. Replace ORDER_ID with the exact ID from cub mini waiting --card before approving and running deliver in your own terminal. Full guide
Step-by-step terminal commands (single app or separate staging + production Fly apps)
Single Fly app (Rails, Node/Express, Go, or Python reading [env] in fly.toml):
cub mini adopt . --name support-api --live
cub mini set support-api APP_SUPPORT_HOURS=Daily --variant staging --change-desc "Weekend support hours"
cub mini set support-api APP_SUPPORT_HOURS=Daily --variant base --fleet --change-desc "Promote to staging + wait on prod"
cub mini waiting --cardAfter setting ORDER_ID from cub mini waiting --card, approve and deliver:
ORDER_ID="replace-with-order-id"
cub mini approve "support-api-base/$ORDER_ID" && cub mini deliver support-api && cub mini deliver support-api --compare --cardTwo separate Fly apps (when each folder has its own fly.toml + .env):
cub mini adopt ./app-stg --name api-staging --approve && cub mini deliver api-staging
cub mini adopt ./app-prd --name api-production --approve && cub mini deliver api-production --compare --card3. Moving off Heroku to Fly, Vercel, or Unikraft (compare settings before moving anything)
Compare Heroku config vars against Fly or Vercel from the cub mini CLI (packaged with the ~300 MB local hub download; comparison reads host CLIs locally without needing a running hub server and changes neither host). It generates a safe credential-copy command that never prints secret values. (The Unikraft compare and shared-base adoption steps below use a local hub.)
Compare my Heroku app HEROKU_APP with Fly app FLY_APP without changing anything, and show me the safe secret copy command.APP_SUPPORT_HOURS- Heroku:
"Daily"vs. Fly: missingDiff WEB_CONCURRENCY- Heroku:
"4"vs. Fly:"4"Match - Secrets (example)
- Safe credential-copy command generated without printing valuesSafe
Prerequisites: Heroku CLI (heroku auth:whoami) plus flyctl or vercel CLI. Substitute your real app names for HEROKU_APP, FLY_APP, VERCEL_PROJECT, and UK_SERVICE. Full Heroku move guide
Step-by-step terminal commands (stay on-site)
Read-only host compare (no running hub needed):
cub mini deliver --compare --heroku HEROKU_APP --fly FLY_APP
cub mini deliver --compare --heroku HEROKU_APP --vercel VERCEL_PROJECTLocal-hub Unikraft compare and shared-base adoption:
cub mini deliver HEROKU_APP --unikraft UK_SERVICE --compare --card
cub mini adopt . --name migrated-api --pattern base-api && cub mini waiting --card4. Daytona & Ephemeral Sandboxes (guard boot & keep what worked)
Let your agent run load tests and tune settings inside a disposable Daytona or nono OS sandbox while keeping tuned settings after teardown and blocking live production keys before boot.
Run my queue load test inside a Daytona test sandbox with Stripe test mode only, block any live production keys, and save any batch-size change before deleting it.shop)
Captured diff waiting
- Boot check
--mode testenforces test-mode configLive keys blocked- Teardown
- Daytona container and local ephemeral disk deletedWiped
- Captured diff
BATCH_SIZE: 120 -> 240Preserved- Hub state
staging=240,prod=120; inspect withcub mini waiting --cardWaiting for you
Under the hood: Attached folders pull non-secret settings from <app>-staging at boot (--pull/--no-pull), resolve .confighub/connections.yaml in test mode (shop and .confighub/connections.yaml below are example names from the Daytona guide), and capture diffs even on SIGTERM preemption via "$BIN" env exec (alias of mini exec) or persistent shells (eval "$("$BIN" env shell --capture-on-exit)"). Verified live on a real EU Daytona sandbox syncing directly into cub mini waiting --card. Safe nono + Daytona guide · Daytona / Unikraft / Google AX templates · Full Daytona walkthrough
Step-by-step terminal commands (stay on-site; resolves your Claude or Codex plugin binary)
Lock Stripe test mode and run one command under nono + Daytona:
BIN="$HOME/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub"
[ -x "$BIN" ] || BIN="$HOME/.codex/confighub/bin/confighub"
"$BIN" mini lock STRIPE_MODE --reason "Keep test mode"
nono run -- "$BIN" env exec --app shop --mode test --connections .confighub/connections.yaml --capture -- daytona exec -- npm run load-testOr run in a persistent sandbox shell (captures on EXIT / SIGTERM), then inspect or dry-run revert:
BIN="$HOME/.claude/plugins/marketplaces/confighub/plugins/confighub/bin/confighub"
[ -x "$BIN" ] || BIN="$HOME/.codex/confighub/bin/confighub"
eval "$("$BIN" env shell --app shop --env sandbox --mode test --capture-on-exit)"
cub mini waiting --card
"$BIN" mini undo --dry-run5. Unikraft Cloud MicroVM (same image, gated config rollover)
Rehearse an incident notice or flag in staging on the exact same immutable image; approving rolls Unikraft production instances over without rebuilding the image.
Turn on the incident banner in Unikraft staging on the same image and propose it for production.- Staging
INCIDENT_BANNER="Delayed"Updated by agent- Production
INCIDENT_BANNER="Normal"; gate:cub mini approve BASE/ORDERWaiting for you
Prerequisites: Unikraft CLI (kraft), local hub (/confighub:staging, or /confighub:staging --unikraft SERVICE when binding an existing Unikraft service directly). Replace ORDER_ID with the exact ID from cub mini waiting --card; approving and running deliver rolls Unikraft instances over on the same digest-pinned image and deliver --compare checks 1:1 parity. Full Unikraft walkthrough
Step-by-step terminal commands (stay on-site)
1. Adopt the app, test staging, queue live, and list pending orders:
cub mini adopt . --name shop-uk --live
cub mini set shop-uk INCIDENT_BANNER=Delayed --variant staging --change-desc "Incident notice"
cub mini set shop-uk INCIDENT_BANNER=Delayed --variant live --change-desc "Incident notice for live"
cub mini waiting --card2. After setting ORDER_ID from above, approve and deliver cleanly:
ORDER_ID="replace-with-order-id"
cub mini approve "shop-uk-base/$ORDER_ID" && cub mini deliver shop-uk && cub mini deliver shop-uk --compare --card6. Platform & GitOps Teams: Self-Hosted Helm + OIDC
For 40+ Helm releases on Argo CD or Flux, start with the PR gate: run the standalone inventory binary (no hub, no 12-chart cap) or type /confighub:inventory yourself in Claude Code, and add the GitHub PR review Action + CODEOWNERS so PRs show layered value diffs and reasons while Argo CD / Flux deploy from Git (review@v0 renders up to 12 Applications per ApplicationSet and counts the rest). For deeper governance, classify releases (cub helm OCI delivery for Kustomize/safe-to-flatten charts vs. render-late) or deploy a self-hosted hub. 3-stage architecture · Flux, Argo CD & Sveltos packs
Inspect what changed in values-prod.yaml or propose a Kustomize overlay change for approval.- Git to Hub
replicas: 2 -> 4uploaded with recorded reasonRecorded- Approval
- Production stays at 2; gate:
cub variant approve BASE/ORDERWaiting for you - Argo CD
- Pulls signed OCI bundle only after owner approvalSigned sync
Self-hosted Helm + OIDC (zero outbound data): Install charts/confighub-hub with your OIDC issuer (Okta, Entra ID, Dex, Keycloak, or GitHub OIDC), then approve production changes via cub mini approve BASE/ORDER (or cub variant approve + cub release publish on a shared hub; every approval binds to an exact revision hash). Self-hosted Helm chart guide · Hub security review · Shared Hub overview
Step-by-step terminal commands (prepare ./charts/confighub-hub + values-oidc.yaml per self-hosted Helm guide first)
After obtaining the Helm chart and configuring your OIDC values file (values-oidc.yaml), install and publish:
helm upgrade --install confighub ./charts/confighub-hub -n confighub --create-namespace -f values-oidc.yaml
cub auth login --server https://confighub.internal.example.com
cub mini record-pr --space platform-audit --repo ORG/REPO --pr 412 --base main --head HEAD --from-github
cub variant approve APP-base --change-order APP-base/ORDER --note "Approved under OIDC/SSO"
cub release publish APP-live --revision ChangeOrder:APP-base/ORDERPlatform team workflow: CLI vs. Web UI
Query live resources, inspect field lineage, guard sensitive settings, and approve or publish ChangeOrders from Terminal:
cub resource list --where "Labels.cluster = 'prod-eu'"
cub unit blame app --space APP-live
cub unit set-guard app --space APP-live --guard ":app:spec.template.spec.containers.*.image=Compliance=Locked"
cub variant approve APP-base --change-order APP-base/ORDER --note "Approved under OIDC/SSO"
cub release publish APP-live --revision ChangeOrder:APP-base/ORDERReviewers and platform leads inspect the same OIDC/SSO-protected hub in the ConfigHub Web UI:
- Spaces tree: Navigate base, staging, and cluster Spaces with inherited defaults and per-environment overrides.
- Rendered diff & approval ChangeOrder card: Inspect the rendered manifest/setting diff, recorded prompt reason, and revision hash before approving.
- Live target status: Check Argo CD / Flux signed OCI digest sync and delivery health across targets.
Note: Local 127.0.0.1 mini hubs stay CLI-first (cub mini); shared hubs (hosted on confighub.com or self-hosted via charts/confighub-hub) add the Web UI.