db.m4.large
sizing on AWS.
Create the database settings
Option 1: Use the same server for all modules
In this example, you’ll set up a configuration for a PostgreSQL cluster that will be used only by theformance-dev
stack but will apply to all the modules of this stack.
Thus, the different modules of the Stack will use this PostgreSQL cluster while being isolated in their own database.
This database is created following the format:
{stackName}-{module}
Option 2: Use different servers for each module
In this example you’ll set up a configuration dedicated Postgres cluster for theledger
and payments
modules of the formance-dev
stack.
Option 3: Use PostgreSQL on AWS RDS with an IAM role
In this example, you’ll use an AWS IAM role to connect to the database. Theformance-dev
stack will use this configuration.