AWS Redshift data source

Updated at:

Add an AWS Redshift data source to connect your Redshift database to Quick BI. After the connection is established, you can analyze and visualize your data in Quick BI.

Procedure

  1. Add IP addresses to the allowlist.

    Before you connect to Redshift over the internet, you must add the Quick BI IP addresses to the Redshift allowlist.

    When connecting through a VPC network, the system automatically adds the IP addresses to the allowlist if the provided AccessKey has Write permissions. Otherwise, you must add them manually.

  2. Go to the page to create a data source.

  3. On the AWS Databases tab, select the Redshift data source.image

  4. In the Configure Connection dialog box, configure the following parameters.image

    Parameter

    Description

    Display name

    The display name of the data source as it appears in the list of data sources.

    Enter a valid name. The name cannot contain special characters or leading or trailing spaces.

    Database address

    The address of the database cluster where Redshift is deployed. Enter the public address for an internet connection. If you select VPC Data Source, enter the private address.

    Log on to the Amazon RDS console. In the list of databases, click the target database to open its details page. On the Connectivity & security tab, find the endpoint name, which is the database address. For example, xxxxxxxx.redshift.amazonaws.com.

    Port

    The database port. The default value is 5439. If you select VPC Data Source, enter the private port.

    Database

    The name of the database that you want to connect to.

    Schema

    The name of the schema that you want to connect to. The default value is public.

    Username and password

    The username and password used to log in to the Redshift database.

    Note

    Make sure that the database user has create, insert, update, and delete permissions on the tables in the database.

    VPC Data Source

    If your database uses an Alibaba Cloud VPC, select VPC Data Source.

    Select Instance if you connect through an Alibaba Cloud ECS instance. Select CLB if you connect through a Classic Load Balancer (CLB).

    • Instance

      • AccessKey ID: The AccessKey ID of the Alibaba Cloud account that owns the ECS instance.

        For more information, see Create an AccessKey.

        Note

        Make sure this AccessKey ID has Read permissions on the target instance. In addition, if the AccessKey has Write permissions on the corresponding security group, the system automatically adds the IP addresses to the allowlist. Otherwise, you must add them manually. For more information, see Create a custom policy.

      • AccessKey Secret: The AccessKey Secret that corresponds to the AccessKey ID.

        For more information, see Create an AccessKey.

      • Instance ID: The ID of the ECS instance. Log on to the ECS console and find the Instance ID on the Instances tab.

        For more information, see View instance information.

      • Region: The region where the ECS instance is located. Log on to the ECS console and find the region in the upper-left corner.

        For more information, see View instance information.

    • CLB

      • Purchaser Access ID: The AccessKey ID of the CLB purchaser. Ensure that this account has read permissions on CLB. Log on to the RAM console to obtain the AccessKey ID.

        For more information, see View the AccessKey information of a RAM user.

      • AccessKey Secret: The AccessKey Secret that corresponds to the AccessKey ID. The AccessKey Secret is displayed only when you create it and cannot be retrieved later. If you lose it, create an AccessKey.

      • Instance ID: The ID of the CLB instance. Log on to the Server Load Balancer console and find the Instance ID from the instance list.

      • Region: The region where the instance is located. Log on to the Server Load Balancer console and find the region in the upper-left corner of the Instance Management page.

    SSL

    If your Redshift data source requires SSL, select this option to encrypt the connection.

  5. Click Test Connection to test the data source connection.image

  6. After the test succeeds, click OK to add the data source.

Next steps

After you create the data source, you can create a dataset and analyze your data.