简体   繁体   中英

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? 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. so you can access S3 bucket.


S3 Endpoint / Nat Gateway

s3 vpc endpoint is to access a s3 bucket from private subnet. 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. Before the endpoint concepts in AWS if you need to access s3 it required Nat Gateway for Subnet.

Nat Gateway or Nat Instance is to access the internet from private subnet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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