Amazon Redshift connection
To access your data in Amazon Redshift, create a connection asset for it.
Amazon Redshift is a data warehouse product that forms part of the larger cloud-computing platform Amazon Web Services (AWS).
Create a connection to Amazon Redshift
To create the connection asset, you need these connection details:
- Database name
- Hostname or IP address
- Port number
- Username and password
- SSL certificate (if required by the database server)
For Credentials and Certificates, you can use secrets if a vault is configured for the platform and the service supports vaults. For information, see Using secrets from vaults in connections.
Choose the method for creating a connection based on where you are in the platform
- In a project
- Click Assets > New asset > Data access tools > Connection. See Adding a connection to a project.
- In a catalog
- Click Add to catalog > Connection. See Adding a connection asset to a catalog.
- In a deployment space
- Click Add to space > Connection. See Adding connections to a deployment space.
- In the Platform assets catalog
- Click New connection. See Adding platform connections.
Next step: Add data assets from the connection
Where you can use this connection
You can use Amazon Redshift connections in the following workspaces and tools:
Projects
-
Data quality rules (Watson Knowledge Catalog)
-
Data Refinery (Watson Studio or Watson Knowledge Catalog)
-
DataStage (DataStage service). See Connecting to a data source in DataStage.
-
Metadata import - discover (Watson Knowledge Catalog). Metadata import - lineage. For information about the supported product versions and other prerequisites when connections are based on MANTA Automated Data Lineage for IBM Cloud Pak for Data scanners, see the Lineage Scanner Configuration section in the MANTA Automated Data Lineage on IBM Cloud Pak for Data Installation and Usage Manual. This documentation is available at https://www.ibm.com/support/pages/node/6597457.
For metadata import (lineage), advanced metadata import must be enabled and a MANTA Automated Data Lineage license key must be installed. See Installing Watson Knowledge Catalog and Enabling lineage import.
In addition, a specific driver must be uploaded to the manta-admin-gui pod for lineage import. See Uploading JDBC drivers for lineage import.
-
Notebooks (Watson Studio). Use the insert-to-code function to get the connection credentials and load the data into a data structure. See Load data from data source connections.
-
SPSS Modeler (SPSS Modeler service)
Catalogs
- Platform assets catalog
- Other catalogs (Watson Knowledge Catalog)
- Watson Query service
- You can connect to this data source from Watson Query.
Amazon Redshift setup
See Amazon Redshift setup prerequisites for setup information.
Running SQL statements
To ensure that your SQL statements run correctly, refer to the Amazon Redshift documentation for the correct syntax.
Learn more
Parent topic: Supported connections