You need a SabaothCloud account with a plan that has room for another service. See Plans and pricing.
1
Install the CLI
2
Create an API key
In the dashboard, open API Keys, click Create API Key and copy the key. It starts with
mpg_ and is shown only once. See API keys.3
Log in
4
Create a service
Choose a name and the resources to give it. CPU is in millicores (The CLI shows exactly what it will create and asks you to confirm, because a service is billable:Note the service ID (
500 is half a vCPU), memory in MiB and storage in GiB.clu_abc here). You’ll use it in the next steps.5
Wait until it is ready
Status shows ready. Provisioning usually takes a couple of minutes. To list every service instead, run sabaoth postgres list.6
Get the connection details
Once the service is ready, The CLI never shows passwords. Create a database user and get its password in the dashboard; see Database users. To connect from outside SabaothCloud, see Networking.
sabaoth postgres get shows its host, port, database and username:7
Follow the logs
sabaoth postgres logs for filtering by severity and replaying history.8
Take a backup
y. The backup is queued, then runs in the background. Check on it with:Clean up
If you created the service just to try things out, delete it so it stops costing money:Next steps
Scripting and CI
Use
--json, exit codes and SABAOTH_API_KEY in pipelines.Command reference
Every flag for every command.