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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인