Azure PostgreSQL Virtual Network Rule

Overview

The Virtual Network Rule allows you to connect your Azure PostgreSQL server to a virtual network (VNet) in your Azure subscription. This enables you to access your PostgreSQL server from resources within the VNet, such as virtual machines, Azure App Service, and other services.

Requirements

Before you can create a virtual network rule, you need the following:

Steps to Create a Virtual Network Rule

Follow these steps to create a virtual network rule:

  1. Create the virtual network rule using PowerShell.
  2. Verify the virtual network rule is created and associated with your PostgreSQL server.
Related Resources