Redshift - Why does Node of redshift cluster in private subnet has public IP.

0

Why does Node of redshift cluster in private subnet has public IP. Computer - 0 Computer - 1 Leader They have both public and private IP.

已提問 2 年前檢視次數 400 次
1 個回答
0

First, when a Redshift cluster is made private, it is not accessible via internet but instead is accessible from any resources within the VPC via private IP addresses (provided the the resourced connection is whitelisted in the Security Group).

The public IP address you see in the Redshift console is different from the Elastic IP assigned to the cluster when the cluster is made public. This public IP address is present regardless of the cluster being public or private and is used in certain scenarios such as ingesting the data into the cluster from an EC2 instance or EMR cluster via SSH. For more information, please see https://docs.aws.amazon.com/redshift/latest/dg/loading-data-from-remote-hosts.html.

You can check it by performing a dig or nslookup on your Redshift cluster endpoint. You will receive the private IP if the cluster is private or an Elastic IP in case of public cluster.

dig +short [endpoint of cluster]

or

nslookup [endpoint of cluster]

AWS
已回答 2 年前

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

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

回答問題指南