...
In your RDS dashboard, click Launch a DB instance.
Info NOTE: The RDS instance must be launched in the same Amazon region as the
.D s node - For Select Engine: Select PostgresSQL.
- For Production?: Choose Yes if you are deploying the database for a production instance of the
. Otherwise, select No.D s platform - DB Engine:
postgres
For the DB details, see below:
Info NOTE: Except as noted below, properties should be specified according to your enterprise requirements.
Instance Specifications:
- License Model:
postresql-license
- DB Engine Version: For more information on the supported versions of PostgreSQL, see System Requirements.
Allocated Storage: at least
10 GB
- License Model:
For Advanced Settings, please apply the following settings:
Network and Security:
VPC security group must allow for access from the
.D s platform
Database Options:
Database Name:
trifacta
Database Port:
5432
The port number can be changed as needed. See System Ports.
Populate other properties according to your enterprise requirements.
To complete the set up click Launch DB Instance.
Create a master username and password for the DB instance.
Info NOTE: In the configuration instructions listed below, this master username is referenced as:
trifacta_rds
.- When the RDS DB instance is up and running, please collect the following information, which is used later:
- Public DNS
- Port Number
- Admin username
- Admin password
...
Switch to the Postgres user. Launch psql.
Code Block sudo su - postgres
Info NOTE: Unless the port number for postgres has been modified, it should be listening at the default value:
5432
.Launch psql using the following command, applying the admin password when prompted:
Code Block psql --host=${RDS_HOST_NAME} --port=${RDS_PORT} --username=${RDS_ADMIN_USERNAME} --password=${RDS_ADMIN_PASSWORD}
where:
Parameter Description host
Public DNS value for the RDS instance port
Port number value for the RDS instance username
Admin username for the RDS instance password
Password for admin username Execute the following commands using the
postgres
user.Info NOTE: The values in platform configuration must match the values that you use below. Below are the default values.
For
:D s item item database Code Block CREATE ROLE trifacta LOGIN ENCRYPTED PASSWORD '<pwd_trifacta>'; GRANT trifacta TO trifacta_rds; CREATE DATABASE trifacta WITH OWNER trifacta;
For Jobs database:
Code Block CREATE ROLE trifactaactiviti WITH LOGIN ENCRYPTED PASSWORD '<pwd_trifactaactiviti>'; GRANT trifactaactiviti TO trifacta_rds; CREATE DATABASE "trifacta-activiti" WITH OWNER trifactaactiviti;
For Scheduling database:
Code Block CREATE ROLE trifactaschedulingservice LOGIN ENCRYPTED PASSWORD '<pwd_trifactaschedulingservice>'; GRANT trifactaschedulingservice TO trifacta_rds; CREATE DATABASE trifactaschedulingservice WITH OWNER trifactaschedulingservice;
For more information on scheduling, see Configure Automator.
For Time-based Trigger database:
Code Block CREATE ROLE trifactatimebasedtriggerservice LOGIN ENCRYPTED PASSWORD '<pwd_trifactatimebasedtriggerservice>'; GRANT trifactatimebasedtriggerservice TO trifacta_rds; CREATE DATABASE trifactatimebasedtriggerservice WITH OWNER trifactatimebasedtriggerservice;
For more information on scheduling, see Configure Automator.
For Configuration Service database:
Code Block CREATE ROLE trifactaconfigurationservice LOGIN ENCRYPTED PASSWORD '<pwd_trifactaconfigurationservice>'; GRANT trifactaconfigurationservice TO trifacta_rds; CREATE DATABASE trifactaconfigurationservice WITH OWNER trifactaconfigurationservice;
For Artifact Storage Service database:
Code Block CREATE ROLE trifactaartifactstorageservice LOGIN ENCRYPTED PASSWORD '<pwd_trifactaartifactstorageservice>'; GRANT trifactaartifactstorageservice TO trifacta_rds; CREATE DATABASE trifactaartifactstorageservice WITH OWNER trifactaartifactstorageservice;
Exit:
Code Block \q exit
...