Adding a RedShift data source enables you to connect RedShift databases with Quick BI. After establishing the connection, you can analyze and visualize data in Quick BI. This topic describes how to add a RedShift data source.
Procedure
Add IP addresses to the whitelist.
Before connecting to RedShift, you need to add the IP addresses of Quick BI to the RedShift whitelist.
When connecting over a VPC internal network, if the purchaser's AccessKey has Write permissions, the system automatically adds the whitelist; otherwise, you need to add it manually.
Access the create data source interface from the create data source entry.
On the AWS Database tab, select RedShift data source.

In the Configure Connection dialog box, complete the configuration based on your business scenario.

Name
Description
Display name
The name of the data source. The name is displayed in the data source list.
The name cannot contain special characters or start or end with spaces.
Database address
The address of the deployed RedShift database cluster. For public network connections, enter the public endpoint. After you select VPC Data Source, enter the internal endpoint.
Log on to the Amazon RDS console, click the corresponding database in the database list to access the details page, and obtain the endpoint name from the "Connectivity & security" tab. This is the database address, for example: xxxxxxxx.redshift.amazonaws.com.
Port
The port number of the database. The default port is 5439. After you select VPC Data Source, enter the internal port.
Database
The name of the database to be connected.
Schema
The name of the schema to be connected. The default schema is public.
Username and Password
The username and password used to log on to the RedShift database.
NoteMake sure that the user who logs on to the RedShift database has the create, insert, update, and delete permissions on tables in the database.
VPC Data Source
If the database uses an Alibaba Cloud VPC network, select VPC Data Source.
If the database is deployed on Alibaba Cloud ECS, select Instance; if you access the database through Classic Load Balancer (CLB), select CLB.
Instance
Purchaser AccessId: the AccessKey ID used to purchase this instance.
See Create an AccessKey.
NoteMake sure that the AccessKey ID has the Read permission on the target instance. In addition, if it has the Write permission for the corresponding security group, the system automatically adds the whitelist; otherwise, you need to add it manually. For related operations, see Create a custom policy.
Purchaser AccessKey: the AccessKey Secret used to purchase this instance.
See Create an AccessKey.
Instance ID: the ECS instance ID. Log on to the ECS console and obtain the instance ID on the Instances tab.
Region: the region where the ECS instance resides. Log on to the ECS console and obtain the region in the upper-left corner.
CLB
Purchaser AccessId: the AccessKey ID of the CLB purchaser. Make sure that the account has the Read permission on CLB. Log on to the RAM console to obtain the AccessKey ID.
Purchaser AccessKey: the AccessKey Secret corresponding to the AccessKey ID. The AccessKey Secret is displayed only once when it is created and cannot be viewed later. If you lose it, Create an AccessKey pair.
Instance ID: the CLB instance ID. Log on to the Server Load Balancer console and obtain the instance ID from the instance list.
Region: The region where the instance is located. Log on to the Server Load Balancer console and obtain the region in the upper-left corner of the Instance Management page.
SSL
If the target data source has SSL configured, you can select the SSL security protocol to protect data security.
Click Test Connection to test the connectivity of the data source.

After the test is successful, click OK to complete adding the data source.
What to do next
After you add a data source, you can create a dataset and analyze data.
To add data tables from the data source or custom SQL statements that you create to Quick BI, seeCreate a Dataset.
To add visualization charts and analyze data, see Create a dashboard and Overview of visualization charts.
To drill down and perform in-depth data analysis, see Drill-down settings and display.