Azure VNet Peering
Your Dedicated VPC can be peered with other networks that you own on Azure. It will enable private connectivity to your databases and other APIs from Hasura Cloud and you will not have to expose them publicly.
You can view all the requests and active peerings in the Peering tab.
Create a peering request
Step 1: Create a new peering request
To create a new peering request, click on the Initiate Peering Request button.
Fill in the form with the following details:
|Display Name||The name you'll see in the Hasura Cloud dashboard.|
|Azure Tenant ID||Represents an organization in Azure Active Directory. You can find this value in the Azure Portal under Azure Active Directory||Azure Active Directory|
|Azure Subscription ID||The unique identifier for your Azure subscription. You can find this in the Azure Portal on the Overview section of your Azure Virtual Network||your Azure Virtual Network|
|Azure VNet resource group name||The identifier for the Azure resource group that the virtual network belongs to. You can find this in the Azure Portal on the Overview section of your Azure Virtual Network||Overview section of your Azure Virtual Network|
|Azure VNet Name||The name of your Azure virtual network. You can find this in the Azure Portal on the Overview section of your Azure Virtual Network||Overview section of your Azure Virtual Network|
Once you fill in these details and submit your request, you'll be taken to the next screen where you will have to grant access to Hasura Cloud to initiate the peering.
Step 2: Grant access to Hasura Cloud
Go to the linked URL and approve. This creates a service principal on your Azure AD Tenant against our application. This step does not grant us any access on your Azure Account yet.
Run the command shown with your subscription ID to create a new role with only the required permissions. Alternatively, you may skip this step and grant the default
Network Contributorrole in the next step.
Verify your subscription ID, VNet resource group name and VNet Name in the command and run it to assign the role to the service principal to grant Hasura access to initiate a VNet peering to the virtual network that was specified
Once this is done, we will initiate the VNet peering to the virtual network specified by you. The status of the peering
request will turn to
Active when this is completed. You should be able to use private IP addresses as database URLs or
webhook URLs after this.
Reach out to support if you face any issues.
If the status is shown as
Failed, or if the status is stuck as
reach out to support.