Amazon 500150:无法连接到Redshift Cluster [英] Amazon 500150 : Unable to connect to Redshift Cluster

查看:157
本文介绍了Amazon 500150:无法连接到Redshift Cluster的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循了此处 通过Workbench J连接到Redshift.

I followed all the steps mentioned on here to connect to Redshift through Workbench J.

我没有使用SSH进行连接,因此请单独保留SSH设置.

I am not using SSH to connect, so have left SSH settings alone.

在选择Redshift后选择安全性"时,我看到:

When I select Security after selecting Redshift, I see :

您的帐户在该区域不支持EC2-Classic平台.仅当支持EC2-Classic平台时,群集安全组才可用.而是使用VPC安全组来控制对群集的访问.转到EC2控制台以查看您的VPC安全组.有关更多信息,请参阅受支持平台上的Amazon Redshift文档和VPC中的管理集群.

Your account does not support the EC2-Classic Platform in this region. Cluster Security Groups are only available when the EC2-Classic Platform is supported. Instead, use VPC Security Groups to control access to your clusters. Go to the EC2 Console to view your VPC Security Groups. For more information, see Amazon Redshift Documentation on Supported Platforms and Managing Clusters in VPC.

我的群集位于具有以下入站规则的安全组下:

My cluster is under a Security Group which has the following Inbound rule :

Type: Redshift

Protocol: TCP

Port Range: 5439

Source: Custom 0.0.0.0/0 (Experimental, just to test, 
                          I will replace this with my IP address)

当我使用-Pn从计算机上的主机上执行Netstat时.我得到

When I do a Netstat on the host from my machine with -Pn. I get a

Host is up.
PORT     STATE    SERVICE
5439/tcp filtered unknown
Nmap done: 1 IP address (1 host up) scanned in 2.22 seconds

我已经经历了几个类似的问题,这些都不对我有用.

I have already gone through several similar questions and none of these is working for me.

推荐答案

仔细检查您的安全组设置:

Double check your Security Group settings:

  1. 在Redshift控制台中,转到Configuration标签.
  2. 单击VPC security groups旁边的链接
    • 应该将您带到EC2控制台中的Security Groups,并选择正确的安全组.
  1. In the Redshift console, go to the Configuration tab.
  2. Click on the link next to VPC security groups
    • Should take you to Security Groups in the EC2 console with the correct security group selected.
查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆