【发布时间】:2021-12-21 00:24:58
【问题描述】:
我有 2 个 Aws RDS 实例(在 Postgresql 上运行)。两者都在不同的帐户和不同的地区。我想使用 AWS DMS 在它们之间设置数据复制。 我尝试进行 VPC 对等互连。 我看到以下视频来启用 VPC 对等:-
https://www.youtube.com/watch?v=KmCEFGDTb8U
问题:-
当我尝试创建 AWS DMS 服务时,我为源添加了主机名、用户名和密码等(存在于另一个帐户上),当我点击 Test Connection 时,我收到以下错误。
Test Endpoint failed: Application-Status: 1020912, Application-Message: Failed to connect Network error has occurred, Application-Detailed-Message: RetCode: SQL_ERROR SqlState: 08001 NativeError: 101 Message: [unixODBC]timeout expired ODBC general error.
令我惊讶的是,当我为同一帐户中的 Target RDS 实例点击 Test Connection 时,我遇到了类似的错误。即:-
Test Endpoint failed: Application-Status: 1020912, Application-Message: Cannot connect to ODBC provider Network error has occurred, Application-Detailed-Message: RetCode: SQL_ERROR SqlState: 08001 NativeError: 101 Message: [unixODBC]timeout expired ODBC general error.
Google 建议我们有某种防火墙,但查看 NACL,我可以看到我们允许两个 VPC 使用 0.0.0.0/0。
【问题讨论】:
标签: postgresql amazon-web-services amazon-rds amazon-vpc aws-dms