All CLI Commands
aptible db:create
This command creates a new Database using the General Purpose container profile by default. The container profile can only be modified in the Aptible dashboard.
Synopsis
Examples
Create a new Database using a specific type
You can specify the type using the --type
option. This parameter defaults to postgresql
, but you can use any of Aptible’s Supported Databases.
For example, to create a Redis database:
Create a new Database using a specific version
Use the --version
flag in combination with --type
to use a specific version:
📘 Use the
aptible db:versions
command to identify available versions.
Create a new Database with a custom Disk Size
Create a new Database with a custom Container Size
Container Sizes (MB)
General Purpose(M): 512, 1024, 2048, 4096, 7168, 15360, 30720, 61440, 153600, 245760
Profiles
m
: General purpose container
c
: Compute-optimized container
r
: Memory-optimized container
Was this page helpful?