Databases and caches
Create Postgres, MySQL, MariaDB, Redis and Valkey, connect apps to them, and open access from outside.
Databases run as managed services in your account's private network, next to your apps. Fullsea creates the storage, the credentials and the connection strings; you pick the engine and the size.
Engines
| Engine | Versions | Good for | Plans |
|---|---|---|---|
| PostgreSQL | 16, 17 | Most apps, SaaS starters, n8n | All |
| MySQL | 8.4 | Ghost, Laravel, existing MySQL apps | Starter, Pro, Scale |
| MariaDB | 11.4 | WordPress, WooCommerce, PrestaShop | Starter, Pro, Scale |
| Redis | 7 | Caches, sessions, queues (BullMQ, Celery, RQ, Sidekiq) | All |
| Valkey | 8 | The same as Redis, open-source licence | All |
Available to create right now: PostgreSQL 16 / 17, MySQL 8.4, MariaDB 11.4, Redis 7, Valkey 8. The console and the catalog (GET /api/v1/catalog) always show what is live.
Create a database
- Console — Databases → New database, then pick the engine, version, size and storage.
- AI — “Add a Postgres database for this app.” The agent creates it and wires it into the app.
- API —
POST /api/v1/databaseswith{"name": "shop-db", "engine": "postgres", "version": "16"}; size and storage default to the smallest your plan allows.
Provisioning takes under a minute. The database's page shows its status until it is available.
Connect an app
Every database has two addresses:
- Internal — used by apps in your account, for example
postgres://app:…@shop-db:5432/shop. Pass it to an app as an environment variable such asDATABASE_URL. The AI does this for you. - External — for tools on your own machine, shown only once you open access from outside.
Credentials are shown on the database's page (masked until you reveal them) and from GET /api/v1/databases/{id}/credentials. Passwords are generated for you and stored encrypted.
Access from outside
External access is off by default: nothing outside your account can reach the database. On paid plans you can open it, optionally only to a list of IP ranges (CIDRs), and close it again at any time. When the AI opens access for you, it asks for your approval first.
Connections from outside are always encrypted (TLS), and each database has its own host name, such as shop-4c5d6e.db.fullsea.io, on its engine's usual port: 5432 for PostgreSQL, 3306 for MySQL and MariaDB, 6379 for Redis and Valkey. The external URL already asks for TLS (?sslmode=require, ?ssl-mode=REQUIRED, rediss://); a client that tries without it is refused with "TLS required".
Fullsea finds your database by the host name your client sends during the TLS handshake. Most clients send it; two need a flag:
mysql(the MySQL command-line client): add--tls-sni-servername=<host>, or log in asapp@<first part of the host>, for exampleapp@shop-4c5d6e.redis-cliandvalkey-cli: add--tls --sni <host>.
The allowed IP ranges are checked against the address your client connects from. Closing access, or narrowing the ranges, disconnects clients it no longer allows within seconds.
Sizes and tuning
Databases use the same sizes as apps, and count toward your plan's memory, CPU, storage and database limit. Small sizes run with conservative settings (fewer connections, small buffers) so they stay inside their memory; pick a larger size for heavier workloads.
Backups and deletion
On paid plans databases are backed up every day and kept for your plan's retention; see Backups. Deleting a database deletes its storage straight away; its backups are kept until their retention ends.