The Redshift integration with Indicative is available for Enterprise customers only. If interested, please contact us. You are required to grant Redshift access to Indicative by creating a standalone VPC Security Group, attaching the Security Group to your Redshift Cluster, and creating a read-only Redshift account for Indicative to use.
In order to perform the following steps you must have administrative access to the AWS Console as well as your Redshift database.
Create the VPC Security Group
The first step is to grant access to your Redshift cluster when accessed from Indicative's IP addresses. This involves creating a new Security Group in your VPC.
2. Click "Security Groups" on the left side
3. Click "Create Security Group"
4. Fill out Name tag, Group name, and Description like below. Make sure you choose the VPC that also includes your Redshift cluster. Click “Yes, Create” to continue. We recommend using the values below.
5. Add Indicative's IP addresses to the newly created Security Group
a. Select your newly created Security Group
b. Click the Inbound Rules tab
c. Click the Edit button
d. Add the following three rules to allow access to your Redshift cluster to Indicative's IPs:
- Type: Redshift; Source: 22.214.171.124/32
- Type: Redshift; Source: 126.96.36.199/32
- Type: Redshift; Source: 188.8.131.52/32
Attach the Security Group to Your Redshift cluster
2. Click the name of your Redshift cluster
3. Go to Cluster > Modify
4. Select the Indicative security group, in addition to your existing security groups. Also, set "Publicly accessible" to "Yes".
5. When complete, your cluster status should look like this:
Create a Redshift User for Indicative
1. Connect to your Redshift cluster using your existing administrator username and password
2. Create a new user for Indicative
a. In the following SQL statement, replace ‘INSERT_PASSWORD_HERE’ with a strong password and execute the SQL command.
CREATE USER indicative WITH PASSWORD 'INSERT_PASSWORD_HERE';
3. Grant access to the Indicative user. Replace placeholder values as necessary
a. For your Redshift schema, run:
GRANT USAGE ON SCHEMA YOUR_SCHEMA_NAME TO indicative;
b. For the tables in your schema you'd like Indicative to access run:
GRANT select ON TABLE YOUR_SCHEMA_NAME.YOUR_TABLE_NAME TO indicative;
c. Alternatively to grant access to all tables in a schema, run:
GRANT select ON ALL TABLES IN SCHEMA YOUR_SCHEMA_NAME TO indicative;
d. You can test the user and grants:
i. To test connecting using the Indicative user, run
psql --host YOUR_HOST -p 5439 -U indicative YOUR_DATABASE
ii. To list all schemas, run
iii. To list all tables in a given schema, run
iv. To verify that Indicative can query your tables, run
SELECT count(*) FROM YOUR_SCHEMA.YOUR_TABLE;
4. Share the following information with Indicative:
JDBC URL: jdbc:redshift://YOUR_HOST:YOUR_PORT/YOUR_DATABASE
You can access this information from the Redshift cluster information page:
5. Contact your Indicative account manager to verify that your Redshift cluster is properly configured for Indicative access.