With the CLI
It can can be installed with homebrew by running:
brew install CrunchyData/brew/cb
You can update to newer versions with:
brew upgrade cb
You can also find packaged releases available on GitHub
The Crunchy Bridge CLI offers tab completion so you can easily find the syntax for line completion. The CLI works best when used with the Fish (Friendly Interactive Shell) shell.
The CLI will connect to your Bridge account via an API key. You can create and access API keys in your Account Settings. You'll need to create an API key before you can login to the CLI for the first time. This API key will remain part of your account until you delete it.
After creating your API key, run:
Paste the application ID and application secret into the terminal when prompted.
To confirm that you are logged in, or to see your username, run
A CLI tutorial is available on YouTube at https://www.youtube.com/watch?v=tZNfZ-rl65I.
|Show this help||no|
|Plan (server vCPU+memory)||yes|
|Cluster name||no||Cluster date+time||You can create custom cluster names with standard ASCII characters|
|Cluster region||yes||GCP: |
|Size of cluster in GB||yes||Any number from |
|Team ID||yes||To get your list of team ids, use |
|Network||no||New network||To get the network of an existing cluster, use the |
|Command to create replica of existing cluster||no||Input the ID of the cluster you want to replicate. Cluster IDs can be found with |
|Command to create a fork / point-in-time recovery of an existing cluster||no||Input the ID of the cluster you want to fork, Cluster IDs can be found with |
|Time for create fork/PITR||no||Current time||Recovery point in RFC3339 for the last 10 days. Example UTC: |
cb create --platform aws --plan standard-8 --region us-east-2 --ha false --storage 100 -t fb545b7f7jfbhfrrdnnupz6qvm
Which would produce something like:
Created cluster vz72xkaswnbhpaxddxzfhzgimq "Cluster 2021-10-19 15_02_09"
Or to create a replica:
cb create --platform aws --plan hobby-2 --region us-east-2 --ha false --storage 10 --replica vz72xkaswnbhpaxddxzfhzgimq --team fb545b7f7jfbhfrrdnnupz6qvm
Which would produce:
Created cluster ojmu5tgjj5cn5gm763oto6irf4 "Replica of Cluster 2021-10-19 15_02_09"
For a full list of available commands, see the
CLI documentation page or run
cb --help on the command line.