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
asked 3 years ago1081 views
2 Answers
0
Accepted Answer

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
answered 3 years ago
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
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions