fly postgres create command. The command will walk you through the creation with prompts for name, region, and VM resources.
Because we keep adding shorter aliases, you can use any of the following and get the same result:
flyctl postgres, fly postgres, flyctl pg, and fly pg.You might need to configure any apps that connect to your Postgres app to scale to zero as well, otherwise your Postgres database will never have zero connections and will never scale down. Your app might also need to be able to wait for the database to start back up. Learn more about the scale to zero feature, including how to turn it off.
fly.toml file in the working directory. This means that when you use flyctl commands that would otherwise look for an app name in fly.toml, you’ll have to specify the app, like so: