rebase cloud
Everything to do with Rebase Cloud, which is in private beta. See the Rebase Cloud guide for what it is and what the beta does not include.
Every group answers --help, and --help never runs the command. Most commands
act on the linked project in .rebase/cloud.json; --project <id> operates on
one without linking.
Three options apply everywhere: --json for machine-readable output (also the
default when piped, or with REBASE_JSON=1), --url <origin> to target a
specific control plane (or REBASE_CLOUD_URL), and --project, -p <id>.
rebase cloud login # sign in to the control planerebase cloud logout # sign outrebase cloud whoami # the current session, or what REBASE_TOKEN may dorebase cloud tokens create --can deploy,logs # a token for CI, shown onceProject link
Section titled “Project link”rebase cloud link # link this directory to a cloud projectrebase cloud link [url] # or straight at a backend: no control plane, no login, and the rest of the family refuses until you unlinkrebase cloud unlink # remove the linkrebase cloud use [org] # select the active organizationrebase cloud open # open the dashboard in a browserProjects
Section titled “Projects”rebase cloud projects listrebase cloud projects create [--link]rebase cloud projects info [id]rebase cloud projects delete [id]Deploy and observe
Section titled “Deploy and observe”rebase cloud deploy [app] [--source .] # deploy an app and stream build logsrebase cloud logs [--runtime] [-f] # build logs, or the running process'srebase cloud deployments list [--limit N|--all]rebase cloud rollback [id] [-y] # back to a successful deployrebase cloud cancel [-y] # cancel the in-flight buildrebase cloud start | stop | restart [-y] # stop and restart need -yrebase cloud status # one-glance project statusrebase cloud metrics # live CPU / memory / diskrebase cloud debug [health|logs|…] # diagnose a deployment, read-onlydeploy with no app name deploys the backend. A backend bundle
deploy also uploads the project’s source — what git tracks, never a .env — so a
platform upgrade can rebuild it; --no-source skips that once, and cloud settings set --platform-rebuilds off stops it and deletes the stored copy. --allow-downgrade deploys an older release.
Config
Section titled “Config”rebase cloud env list | set | unset | reveal | pullrebase cloud domains list | add <domain> | verify [domain] | remove <domain>rebase cloud extensions list | enable | disablerebase cloud settings show | set # name, branch, repo, subdomain, rebuildsOrganizations
Section titled “Organizations”rebase cloud orgs list | create | membersDatabases
Section titled “Databases”rebase cloud db list | create | info | connect | testrebase cloud db backup list | create | restore | status | downloadrebase cloud db pitr status | restore | cutover | discarddb connect opens a local port that is the managed database (no public
endpoint) until Ctrl-C; --reveal adds the password. Owner or admin only.
Resources
Section titled “Resources”What the platform holds for the project, against what its code declares.
rebase cloud resources # each database and bucket: declared? provisioned?rebase cloud resources prune database <key> # remove one the code no longer declaresA deploy never removes a provisioned database when its declaration goes — that would be data deleted by a push. It keeps, binds and bills it until somebody prunes it by name.
Compute
Section titled “Compute”What the project reserves, and what that costs.
rebase cloud compute # the current reservation and its monthly costrebase cloud compute set # change itcompute set takes --cpu, --memory, --replicas, --spot,
--scale-to-zero, --db-instances, --db-cpu, --db-memory,
--storage, --autoscale-max, --autoscale-cpu-target and --no-autoscale.
There are no plan tiers: everything is priced per resource. See
Rebase Cloud.
Storage, webhooks, clusters and billing
Section titled “Storage, webhooks, clusters and billing”rebase cloud storage # list storage bucketsrebase cloud storage create # provision platform-managed storagerebase cloud storage attach # attach your own S3-compatible bucketrebase cloud webhooks list | create | deleterebase cloud clusters list | add | verify # the clusters tenants run on; `add` registers one from a kubeconfigrebase cloud billing # the billing account and card on filerebase cloud billing setup # attach a card, one-time, opens a browserrebase cloud billing checkout # a Stripe session for one project