Redshift
IP RESTRICTIONS
Make sure to allow traffic from one of the Paradime IPs in your firewall depending on the data location selected.
👉 See also: Paradime IP addresses.
We advise creating a new Redshift user and grant the suggested access required to create tables and views in your Production database.
Create a Redshift user
In Redshift, you can run the below script to create a new user and grant access to your database/schema. Make sure you run these commands as an Account Admin
.
Suggested permissions
This set of permissions will enable Paradime to read from and create tables and views when running production jobs in you Redshift database.
Maintain privileges
In Redshift after each dbt™️ run in production you need to make sure to grants the correct privileges as Redshift doesn't not support grant on future schemas.
The paradime_prod_user
user should be able to read new schemas created in your production runs.
Check this guide on using grants and hooks.
Add Scheduler Connection
To add the Redshift Scheduler connection, go to account settings > connections, select Scheduler Environment and enter the required fields.
Fields Details
Below are list of fields and example to create a connection.
Field | Description | Example |
---|---|---|
Profile Name | The profile name set in your |
|
Target | The target name used to identify the connection. See more here. |
|
Host Name | The hostname of the Redshift database to connect to. |
|
Port | Usually |
|
Database | The name of your Redshift production database. |
|
Username | The username created with access to the production database. |
|
Password | The password set for the user created in Redshift. |
|
Schema | The default schema used to build dbt™️ objects at runtime. |
|
Threads | The number of threads used in this connection. See more here. |
|
Last updated