Databases¶
Althost provisions managed PostgreSQL, MySQL, and Redis on your computers. It exposes them to external clients through a database proxy on the control plane. Clients connect with the engine's normal wire protocol.
Provisioning¶
Create a database (Databases → New). Pick an engine, version, and tier. Pick a target computer. The control plane generates the database name, username, and password. The runner starts a per-engine container on the node. It waits for the container to accept connections. It then creates the client database and role.
Connecting¶
Point your client at the control plane's standard port for the engine — 5432
(Postgres), 3306 (MySQL), 6379 (Redis). Use the generated credentials. The
proxy identifies the target database from the connection (database name +
username). It forwards the raw TCP stream over the runner's tunnel to the engine
on the host.
psql "postgresql://<user>:<pass>@api.althost.dev:5432/<database>"
IP allow-list¶
Each database has an optional allowedIps list (IPs / CIDRs). Empty means
allow all. Otherwise only listed clients may connect.
Backups¶
Databases have automatic rolling backups. They also support on-demand download.