Does Redshift Serverless Support Load from Remote Host via SSH?

0

Redshift Provisioned has this capability as documented here: https://docs.aws.amazon.com/redshift/latest/dg/loading-data-from-remote-hosts.html I can't find a way to make that Step 1 work with serverless. I need to add a public key to my host in order to make this work. Where do I get the key with serverless? Thanks!

已提問 3 個月前檢視次數 116 次
2 個答案
1

To retrieve the cluster public key and cluster node IP addresses for your cluster using the Amazon Redshift CLI, run the describe-clusters command

aws redshift describe-clusters --cluster-identifier <cluster-identifier> 

And then you securely store the SSH public key in AWS KMS. This ensures that the key is encrypted at rest and can only be accessed by authorized entities. Then implement AWS Lambda functions to handle authentication tasks, retrieving the public key from KMS when needed.

profile picture
專家
已回答 3 個月前
  • But "describe-clusters" and "cluster-identifier" applies to the provisioned redshift, not serverless? The question is about serverless. There are no "cluster" - but "namespaces" and "workgroups". I spent a lot of time looking for the key for those things. Could not find it.

0

Hello Poliakov.

According to the documentation, you can connect to Redshift Serverless via JDBC and DATA API (CLI commands). Maybe you can adapt what you're doing to use the Data API. Hope this helps.

RS Connection Types: Connecting to Amazon Redshift Serverless

Data API: getting-started-with-amazon-redshift-data-api

Hope this helps.

profile picture
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南