(我担心我可能会暴露出自己完全不适合做手头的工作!)
我正在尝试建立一个Redshift集群和数据库来帮助管理一个类/组项目的数据。我有一个运行dc2.large集群的默认选项,或者是我被迫输入的几个位置中看起来最通用的选项。我已经下载了代理(Win64),因为它被描述为专门用于红移。也就是说,我找不到任何连接使用它的说明。连接对话框请求执行以下操作:
Server: using the endpoint for my cluster (less :57xx at the end).
UserID: the Master username for the database defined for the cluster.
Password: to match the UserID
SSL Mode (Disable, Allow, Prefer, Require): trying various options
Database: as named in cluster setup
Port: as defined in cluster setupMessage: Failed to establish a connection to 'abc1234-smtm.crone7m2jcwv.us-east-1.redshift.amazonaws.com'.
Type : Npgsql.NpgsqlException
Source : Npgsql
Trace : at Npgsql.NpgsqlClosedState.Open(NpgsqlConnector context, Int32 timeout)
at Npgsql.NpgsqlConnector.Open()
at Npgsql.NpgsqlConnection.Open()
at Aginity.MPP.Common.BaseDataProvider.get_Connection()
at Aginity.MPP.Common.BaseDataProvider.CreateCommand(String commandText, CommandType commandType, IDataParameter[] commandParams)
at Aginity.MPP.Common.BaseDataProvider.ExecuteReader(String commandText, CommandType commandType, IDataParameter[] commandParams)
--- Inner Exception: ---.
似乎没有足够的信息进入Aginity来授权连接到我的群集-没有提供帐户凭据。对于UserID,我是否需要输入有效用户的ID?我可以使用root账号吗?ID会是什么样子的?
在这方面我能找到/做的唯一的培训/教程是https://qwiklabs.com/focuses/2366上的Intro AWS,它使用了一个基于web的客户端,在教程(pgweb)之外我找不到它。
有什么建议吗,我做错了什么,以及如何做对?
发布于 2018-03-23 07:08:44

嗯,我想我让它工作了-我还没有机会看看我是否真的可以创建表,但它似乎是连接的。根据上面的快照,我必须允许来自VPC外部的入站流量。
我猜有一种比向所有IP地址开放更好的方法,但我不知道用户(团队成员)的IP地址,他们不都会根据连接设备的不同而发生变化吗?
如何才能进入VPC内部,以实现更安全的连接?
https://stackoverflow.com/questions/49439356
复制相似问题