db
manage SphereDB databases
🐘 Manage SphereDB databases.
Create a database, get its connection details, and reach it from your
laptop through an authenticated tunnel. Databases have no public address
unless you turn one on: use csph db tunnel for GUI clients and migrations,
csph db connect for psql, or csph db public for BI tools and integrations
that can't tunnel (IP allowlist, verified TLS).
Subcommands
| Command | Description |
|---|---|
| list | list databases |
| get | show a database |
| create | create a PostgreSQL database |
| delete | delete a database |
| instance-types | list database instance types and prices |
| resize | change a database's instance type, high availability or storage |
| connection-string | print a connection string |
| credentials | manage database credentials |
| connect | open psql on a database |
| tunnel | open a local port to a database |
| public | manage the public endpoint (IP allowlist) |
See also
- csph — ComputeSphere CLI