Send data from Amazon Redshift to your entire stack.
Amazon Redshift is one of the fastest cloud data warehouse services. It lets you handle large analytical workloads with best-in-class performance, speed, and efficiency.
RudderStack supports Amazon Redshift as a source from which you can ingest data and route it to your desired downstream destinations.
Granting permissions
RudderStack requires you to grant certain user permissions on your Amazon Redshift warehouse to successfully access data from it.
Run the queries listed in the following sections on Amazon Redshift Console in the exact order to grant these permissions:
Step 1: Creating a new user in Redshift
Create a new user rudder with a password <strong_unique_password>.
The password set in the above command must meet the following conditions:
It should be 8-64 characters in length.
It must contain atleast one upper case, one lower case, and one number.
It can contain any ASCII characters with the ASCII codes 33-126, with the exception of ' (single quotation mark), " (double quotation mark), \, /, and @.
From the left navigation bar, go to Source > New Source > Reverse ETL. Then, select Redshift:
Assign a name to the source.
Configuring the connection credentials
Choose from the Table or Model option to sync data from either a warehouse table or a model.
For more information on the Table and Model options, refer to the FAQ section.
If you chose the Model option, skip the next steps and refer to the Schedule settings section directly.
Enter the relevant settings in the Connection Credentials section as listed below:
Host: Enter the host name of your Redshift service.
Port: Enter the port number associated with the Redshift database instance.
Database: Enter the database name in your Redshift instance where RudderStack should send the data.
User: Enter the user name of your Redshift cluster created in Step 5 of this section.
Password: Enter the password for the above user.
SSL Mode: Select the SSL mode as disable or require depending on how RudderStack should connect to your Redshift instance.
If you have already configured a destination in RudderStack, choose the Use Existing Destination option which will take you to the Schema tab in the source settings. To add a new destination from scratch, select the Create New Destination option which will take you to the destination configuration page.
Specifying the data to import
While connecting a destination to your Reverse ETL source, you can use the default JSON mapping or the Visual Data Mapping feature.
Based on the option(Table/Model) you chose while setting up the Reverse ETL source, follow the relevant guide for detailed steps:
What are the SSL mode options when setting up the Redshift source in RudderStack?
When setting up a Redshift source, RudderStack provides the following two SSL options:
disable: SSL mode is disabled when you select this option. Use it in cases where security is not an issue and you don’t want any encryption overhead.
require: When you select this option, your data is encrypted and sent to RudderStack. Use it in cases where security is important and you can deal with the resulting encryption overhead.
What do the three validations under Verifying Credentials imply?
When setting up a Reverse ETL source, once you proceed after entering the connection credentials, you will see the following three validations under the Verifying Credentials option:
These options are explained below:
Verifying Connection: This option indicates that RudderStack is trying to connect to the warehouse with the information specified in the connection credentials.
If this option gives an error, it means that one or more fields specified in the connection credentials are incorrect. Verify your credentials in this case.
Able to List Schema: This option checks if RudderStack is able to fetch all schema details using the provided credentials.
Able to Access RudderStack Schema: This option implies that RudderStack is able to access the _RUDDERSTACK schema you have created by successfully running all commands in the User Permissions section.
If this option gives an error, verify if you have successfully created the _RUDDERSTACK schema and given RudderStack the required permissions to access it. For more information, refer to Creating the RudderStack schema and granting permissions section.
What is the difference between the Table and Model options when creating a Reverse ETL source?
When creating a new Reverse ETL source, you are presented with the following two options from which RudderStack will sync the data:
When you choose Table, RudderStack imports all data associated with the specified table during the sync.
When you choose Model, RudderStack imports the data by running the query specified in the connected model, during the sync.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.