azure - 如何使用私有(private)IP访问Azure PostgreSQL

标签 azure azure-sql-database

在 Azure 环境中,我使用 Azure Database for PostgreSQL 服务器添加了一项 PostgreSQL 服务。当我尝试从 Azure VM 之一连接此 PostgreSQL 实例时,它正在使用公共(public) IP 网络。我需要通过以下方式进行连接。

  1. PostgreSQL 实例没有任何公共(public) IP
  2. 需要仅使用专用 IP 网络从 Azure 虚拟机连接此实例

我们怎样才能实现它?

最佳答案

不幸的是,您目前无法实现这一目标。

因为目前无法将 Postgre SQL 加入 VNet。 但是 Azure Database for PostgreSQL 团队已经开始研究它:

  1. VNET service end point GA target is H1 CY2018.
  2. Public preview for read replicas in a subset of the regions is expected around the service GA date.

详情可以在 this Uservoice page 中查看.

希望这有帮助!

关于azure - 如何使用私有(private)IP访问Azure PostgreSQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48222388/

相关文章:

python - 尝试使用 MSI 身份验证从 Azure ML 服务连接 Azure SQL 数据库(无需用户名和密码即可连接 Azure 数据库)

c# - 在云端生成唯一 ID

azure - 如何通过组织帐户或 Active Directory 访问 Azure Server

azure - 可用性测试摘要小部件显示 1 个 Application Insights 中每个单独测试的结果

azure - 如何在 Azure 表存储中进行自由文本搜索?

sql - Azure SQL 复制

asp.net - 如何编辑 Azure 中的区域设置?

azure - 是否可以通过 REST API 列出 Azure 中的所有数据库

azure - 逻辑应用在 Blob 上传时触发两次

azure - 取消构建时执行任务 - Azure DevOps Pipelines