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
demandé il y a 3 ans1132 vues
2 réponses
0
Réponse acceptée

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
répondu il y a 3 ans
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
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions