Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. In your RDS dashboard, click Launch a DB instance. 


    NOTE: The RDS instance must be launched in the same Amazon region as the

    D s node

  2. For Select Engine: Select PostgresSQL.
  3. For Production?:  Choose Yes if you are deploying the database for a production instance of the 
    D s platform
    .  Otherwise, select No
  4. DB Engine: postgres
  5. For the DB details, see below:


    NOTE: Except as noted below, properties should be specified according to your enterprise requirements.

    1. Instance Specifications:

      1. License Model: postresql-license
      2. DB Engine Version: For more information on the supported versions of PostgreSQL, see System Requirements in the Planning Guide.
      3. Allocated Storage: at least 10 GB

  6. For Advanced Settings, please apply the following settings:

    1. Network and Security:

      1. VPC security group must allow for access from the 

        D s platform

    2. Database Options:

      1. Database Name: trifacta

      2. Database Port: 5432

        1. The port number can be changed as needed. See System Ports in the Planning Guide.

  7. Populate other properties according to your enterprise requirements.

  8. To complete the set up click Launch DB Instance.

  9. Create a master username and password for the DB instance.


    NOTE: In the configuration instructions listed below, this master username is referenced as: trifacta_rds.

  10. When the RDS DB instance is up and running, please collect the following information, which is used later:
    1. Public DNS
    2. Port Number
    3. Admin username
    4. Admin password


  1. In the RDS console, you must find the Public DNS endpoint for the RDS instance you created: 

    1. Under Instances, expand the name of the instance you created.

    2. The DNS endpoint should be listed under the name in the Endpoint section.

  2. Set the host for each database to the Public DNS endpoint for the RDS instance:

    Jobs database
    Scheduling database
    Time-based Trigger database
    Configuration Service

    Artifact Storage Service database
    Job Metadata Service

    For more information, see Database Parameter Reference.

  3. To set custom database names, usernames, and passwords:

    1. Edit 

      D s triconf

    2. For each database, you can review the database name, username, and password

      DatabaseParameter area
      Main databasewebapp.database.*
      Jobs databasebatch-job-runner.database.*
      Scheduling databasescheduling-service.database.*
      Time-Based Trigger databasetime-based-trigger-service.database.*
      Configuration Service databaseconfiguration-service.database.*

      Artifact Storage Service database

      Job Metadata Service databasejob-metadata-service.database.*

    3. Make changes in the file as needed and save.


Create the databases


NOTE: For the host, port, username, and password values in the following configuration, use the public DNS value for the RDS instance.


From the 

D s item
, switch to the Postgres user and run the following commands against the RDS Host for the master username:

Code Block
su - postgres
psql -H <endpoint of RDS Instance> -U trifacta_rds postgres


NOTE: postgres is the name of the existing/default database.

Please do the following for each database, which initializes the DB and assigns the trifacta role to the trifacta_rds master username:

D s item

Code Block
GRANT trifacta TO trifacta_rds;
CREATE DATABASE "trifacta" WITH OWNER trifacta;

Jobs database:

Code Block
CREATE ROLE trifactaactiviti LOGIN ENCRYPTED PASSWORD 'trifactaactiviti';
GRANT trifactaactiviti TO trifacta_rds;
CREATE DATABASE "trifacta-activiti" WITH OWNER trifactaactiviti;

Time-based trigger service database:

Code Block
CREATE ROLE trifactatimebasedtriggerservice LOGIN ENCRYPTED PASSWORD 'trifactatimebasedtriggerservice';
GRANT trifactatimebasedtriggerservice TO trifacta_rds;
CREATE DATABASE "trifactatimebasedtriggerservice" WITH OWNER trifactatimebasedtriggerservice;

Scheduling service database:

Code Block
CREATE ROLE trifactaschedulingservice LOGIN ENCRYPTED PASSWORD 'trifactaschedulingservice';
GRANT trifactaschedulingservice TO trifacta_rds;
CREATE DATABASE "trifactaschedulingservice" WITH OWNER trifactaschedulingservice;

Configuration Service database:

Code Block
CREATE ROLE trifactaconfigurationservice LOGIN ENCRYPTED PASSWORD '<pwd_trifactaconfigurationservice>';
GRANT trifactaconfigurationservice TO trifacta_rds;
CREATE DATABASE trifactaconfigurationservice WITH OWNER trifactaconfigurationservice;

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;

Job Metadata Service database:

Code Block
CREATE ROLE trifactajobmetadataservice LOGIN ENCRYPTED PASSWORD '<pwd_trifactajobmetadataservice>';
GRANT trifactajobmetadataservice TO trifacta_rds;
CREATE DATABASE trifactajobmetadataservice WITH OWNER trifactajobmetadataservice;

Configure non-default connections