Does the redshift_connector work with Serverless?


I am continuing to get timeouts with this configuration:

conn = redshift_connector.connect(

I am attempting to make the connection from a SageMaker Notebook (publicly accessible, not vpconly) to the Serverless cluster and have ensured that the security groups for both resources allow inbound and outbound traffic for each other.

First, does redshift_connector work with serverless? I am assuming so because there are optional parameters that would indicate this, such as 'serverless_work_group'. If that is the case, can someone please provide an example of a configuration that worked for you to connect to your serverless workgroup?

gefragt vor 10 Monaten573 Aufrufe
1 Antwort

Hello there, yes. redshift serverless is supported by redshift_connector.

For code snippets on redshift_connector to serverless , please refer tutorial examples which has those details.

Amazon Redshift Serverless runs in a VPC and is publicly accessible false by default. I would suggest you to review the below documentation guide for more context on connecting to redshift serverless

Alternatively, you can use DataAPI which is a preferred way of programmatic access to redshift/redshift-serverless

beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen