Connecting to Amazon Redshift
Introduction
Section titled “Introduction”In this article, we show you how to connect your Astrato workspace to Amazon Redshift. It’s designed to be a quick process and easy to follow.
Creating the data connection to Amazon Redshift
After you create the connection
Connection data required
Section titled “Connection data required”When setting up your data connection, you’ll need to know:
-
Connection details: Host and Port (5439 by default)
-
Authentication: Username and Password
-
SSL mode: set to
requireby default. Change it if your organization’s security policy needs another mode. -
Access to information schema: to build a data model, the user in the data connection must have read access to information_schema.
To validate access, run this query and confirm that you get the list of schemas in the database you are connected to. Replace %s in the code below with the database name.SELECT schema_nameFROM information_schema.schemataWHERE schema_name !~ '^pg_'AND schema_name <> 'information_schema'AND catalog_name = '%s'ORDER BY LOWER(schema_name); -
Firewall access: your cluster must accept connections from the addresses Astrato connects from, on the cluster’s port.
-
With a Deployment Region selected, the form names that region’s addresses under the region, as “Allow traffic from … at your database.” Allow those addresses.
-
Without a Deployment Region (Legacy / not selected), allow Astrato’s Cloud NAT addresses:
prod-astrato-io-prod-nat-ip-0 34.142.11.11prod-astrato-io-prod-nat-ip-1 34.142.68.232
-
Creating the data connection to Amazon Redshift
Section titled “Creating the data connection to Amazon Redshift”-
Open Data & AI → Data Connections and select New connection.
-
Under Source, select Amazon Redshift. The panel title changes to New Amazon Redshift connection.
-
Under Authentication, enter the Username and Password.
-
Under Connection details, enter the Host, check the Port and choose an SSL mode. If your workspace offers a Deployment Region, choose one; see Data connections.
The screenshot below is from an earlier version of the connection form; the fields are now grouped under Authentication and Connection details.

-
Select Validate Connection. It stays unavailable while a required field is empty; the form lists those fields after “Still needed:”. When validation succeeds, a Validation result section says “Connected to Amazon Redshift in n ms.”
-
In the same panel, under Data to use, choose the Database. Schema stays unavailable until the connection is saved; you can choose one in step 9.
-
Under Name, check the suggested Connection name and change it to something people will recognise.
The screenshot below shows the earlier, separate database step, which had a Next button. Today the database and name are chosen in the same panel, below Validate Connection.

-
Select Save connection.
-
The panel shows Connection created with “Choose a schema now, or finish to use this connection.” If the database has schemas, choose a Schema or leave it as Choose later. Then select Finish.
Who else can use the connection is set afterwards, on its Manage Access tab; see Manage resource access. The screenshot below shows the earlier Add Members step of the setup flow, which is no longer part of creating a connection.
After you create the connection
Section titled “After you create the connection”-
After Finish, the connection is in the Data Connections list, and you can use it when creating a semantic layer.
In the semantic layer, select the tables you need.
-
Later, you can create additional semantic layers that use the same data connection.
