Amazon Redshift

Last modified: 11 October 2024

This topic presents a general procedure on how you can create a data source for the connection to your Amazon Redshift database in CLion, and run a test connection. It is assumed that you already have the necessary prerequisites and the database is up and running.

In case you want to access a private Amazon Redshift cluster from your local machine, consider using an Amazon Elastic Compute Cloud (Amazon EC2) instance and then creating an SSH tunnel from CLion to this instance. For more information about configuring Amazon EC2, refer to this tutorial at aws.amazon.com.

In CLion, you can work with shared databases:

  • Shared databases, and the datashares that these databases are created on, can be introspected and displayed in Database tool window.

  • You can modify both datashares and shared databases. To do that, right-click the corresponding object in Database tool window and select Modify <object>. Alternatively, select the object and press .

  • Code editor supports all the related statements.