简体   繁体   English

从子网中的Redshift集群连接到S3存储桶

[英]Connecting to a S3 bucket from a Redshift Cluster in Subnet

If the Redshift cluster resides in a public subnet with an internet gateway, do I need an S3 VPC endpoint, NAT gateway or a NAT instance to be able to UNLOAD data from Redshift cluster to a S3 bucket? 如果Redshift群集位于具有Internet网关的公共子网中,我是否需要S3 VPC端点,NAT网关或NAT实例才能将数据从Redshift群集卸载到S3存储桶? I would appreciate it if you could briefly explain. 如果您能简要解释,我将不胜感激。

When your cluster resides in a public subnet you do not need anything. 当群集位于公共子网中时,您不需要任何东西。

Because When Internet Gateway attached to your subnet. 因为Internet网关连接到您的子网时。 so you can access S3 bucket. 这样您就可以访问S3存储桶。


S3 Endpoint / Nat Gateway S3端点/ Nat网关

s3 vpc endpoint is to access a s3 bucket from private subnet. s3 vpc端点用于从专用子网访问s3存储桶。 For example when you launch your resources in private subnet and you want to access s3 bucket you do not need Nat Gateway to access the S3 bucket. 例如,当您在专用子网中启动资源并想要访问s3存储桶时,您不需要Nat Gateway即可访问S3存储桶。 Before the endpoint concepts in AWS if you need to access s3 it required Nat Gateway for Subnet. 在AWS中的端点概念之前,如果您需要访问s3,则需要使用Nat Gateway for Subnet。

Nat Gateway or Nat Instance is to access the internet from private subnet. Nat Gateway或Nat Instance是从私有子网访问Internet。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM