ConceptsDatastores
Create a datastore
One command creates a datastore. It is ready when its status is available.
Terminal
$ ferry db create app-db --waitWaiting for postgres 'app-db' to become available…Created postgres datastore 'app-db' (dbs-be901a454ec7413aa1a2) — availableInternal URL: postgresql://app_db:6dd99f93338045919b9e682913c3c6a4@app-db:5432/app_dbThe command creates a Postgres 16 datastore. The line Internal URL is the internal URL for your services.
Without --wait, the command returns while the status is creating.
More examples
ferry db create cache --kind redis --wait # Redis 7
ferry db create reports --version 17 --database reports --user analyst
ferry db create big-db --memory 2G --cpu 2 # own resource limitsOptions of a datastore lists each option and its default.