VPC Peering and DNS resolution of a public Amazon Redshift cluster

0

Hi,

I have a following situation: We have a Redshift cluster publicly accessible in our legacy VPC. When we try to connect to it from within a peered VPC we get an issue that it resolves to a PUBLIC IP address and not the private IP address accessible via VPC peering. If I remove the "public" tag and it becomes pure private then it resolves the private IP and it's all fine. What I want is to access the VPC privately.. The route table works - if I manually type the IP of the redshift cluster I can access it - but the DNS is not resolving to the private IP.

Question: How can we change this? Is there a private dns name for the redshift cluster?

AWS
已提問 3 年前檢視次數 1132 次
2 個答案
0
已接受的答案

If you want VPC A accesses the private IPv4 addresses of VPC B through VPC peering, you can enable DNS resolution support for a VPC peering connection. After that, you can resolve to the private DNS IP address of redshift

link:https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html#vpc-peering-dns

AWS
已回答 3 年前
0

Now that Amazon Redshift supports cross-VPC access using Amazon Redshift-managed VPC endpoints, you can configure Amazon Redshift clusters to expose additional endpoints running on public or private subnets within the same VPC, different VPC, or different AWS accounts, which enables you to add an additional layer of security to access your clusters regardless of where they run, with no infrastructure to manage

https://aws.amazon.com/cn/blogs/big-data/enable-private-access-to-amazon-redshift-from-your-client-applications-in-another-vpc/

AWS
已回答 7 個月前

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

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

回答問題指南