简体   繁体   中英

Best way to connect to a private redshift cluster

I am trying to optimize my Redshift cluster for security, so I set 'publicly accessible' to 'no', however after this I was unable to query off of it or upload to it. I have the security group set to allow connections from my IP, but still nothing. I have looked into using an EC2 instance as a bastion host, however I have been unable to sort out how to do that. Does anyone know the best way to connect to a private cluster or have any suggestions?

I'm assuming you've created your cluster in a VPC, in private subnets.

You have a couple of options for getting access.

Option one is to set up a bastion server. This has to be in a public subnet (the difference between a public subnet and a private subnet is that the routing table for the public subnet has a target for an internet gateway). Further, you would need to make sure that the redshift cluster grants access to the bastion server.

Option two would be to set up direct access to your VPC - either by creating a VPN, or setting up Direct Connect. These would be more complex, but wouldn't need a bastion server.

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