The Ranger database user in Amazon RDS PostgreSQL Server should be created before installing Ranger and should be granted an existing role which must have the role CREATEDB.
Using the master user account, log in to the Amazon RDS PostgreSQL Server from master user account (created during RDS PostgreSQL instance creation) and execute following commands:
a.
CREATE USER $rangerdbuser WITH LOGIN PASSWORD 'password'b.
GRANT $rangerdbuser to $postgresrootWhere
$postgresrootis the RDS PostgreSQL master user account (for example: postgresroot) and$rangerdbuseris the Ranger database user name (for example: rangeradmin).If you are using Ranger KMS, execute the following commands:
a.
CREATE USER $rangerkmsuser WITH LOGIN PASSWORD 'password'b.
GRANT $rangerkmsuser to $postgresrootWhere
$postgresrootis the RDS PostgreSQL master user account (for example: postgresroot) and$rangerkmsuseris the Ranger KMS user name (for example: rangerkms).
