fly postgres create
Create a new Postgres cluster
Usage
fly postgres create [flags]
Options
--autostart Automatically start a stopped Postgres app when a network request is received
--consul-url string Opt into using an existing consul as the backend store by specifying the target consul url.
--detach Return immediately instead of monitoring deployment progress
--enable-backups Create a new tigris bucket and enable WAL-based backups
--flex Create a postgres cluster that's managed by Repmgr (default true)
--fork-from string Specify a source Postgres application to fork from. Format: <app-name> or <app-name>:<volume-id>
-h, --help help for create
--host-dedication-id string The dedication id of the reserved hosts for your organization (if any)
--image-ref string Specify a non-default base image for the Postgres app
--initial-cluster-size int Initial cluster size
-n, --name string The name of your Postgres app
-o, --org string The target Fly.io organization
-p, --password string The superuser password. The password will be generated for you if you leave this blank
-r, --region string The target region (see 'flyctl platform regions')
--snapshot-id string Creates the volume with the contents of the snapshot
--stolon Create a postgres cluster that's managed by Stolon
--vm-cpu-kind string The kind of CPU to use ('shared' or 'performance')
--vm-cpus int Number of CPUs
--vm-gpu-kind string If set, the GPU model to attach (a100-pcie-40gb, a100-sxm4-80gb, l40s, a10, none)
--vm-gpus int Number of GPUs. Must also choose the GPU model with --vm-gpu-kind flag
--vm-memory string Memory (in megabytes) to attribute to the VM
--vm-size string The VM size to set machines to. See "fly platform vm-sizes" for valid values
--volume-size int The volume size in GB
Global Options
-t, --access-token string Fly API Access Token
--debug Print additional logs and traces
--verbose Verbose output
See Also
- fly postgres - Manage Postgres clusters.