Skip to content

Virtual Network Peering Connection with Azure

This document describes how to create a Virtual Network peering connection between EMQX Cloud and Microsoft Azure to enable private network communication between your Azure Virtual Network (VNet) and the EMQX Cloud deployment.

Create a Virtual Network Peering Connection

  1. Log in to the EMQX Cloud Console and enter your deployment.

  2. Click Network Management from the left menu. In the VPC Peering Connection area, click the + VPC Peering Connection button.

  3. A pop-up window will appear and ask for information on Subscription ID, Tenant ID, Resource Group Name, and VNet Name.

  4. Go to the Virtual Networks section in your Microsoft Azure workplace. Find the network you plan to build a VPC peering connection, and copy and paste the Subscription ID, Resource Group Name, and VNet Name into the pop-up window in the EMQX Cloud console.

  5. In your Microsoft Azure workplace, go to the Azure Active Directory section, and copy and paste the Tenant ID into the pop-up window in the EMQX Cloud console.

  6. After providing all the required information, click on the Next button.

  7. Follow the guidelines shown on the page to set up the Vnet.

  8. After doing all the steps, click on the Validated button to validate the setting of the connection, and then click on Initiate Peering.

  9. If all the provided information is correct, after several minutes, when the status of the VPC peering connection turns to "running," the VPC peering connection with your Azure services is created successfully.

Delete a VPC Peering Connection

To delete a peering connection, you need to ensure that the status of the peering connection is Running.

TIP

Before deleting the peering connection, please make sure that there are no associated resources in the deployment; otherwise, there will be unpredictable risks.

  1. Go to the VPC Peering Connection area on the Network Management page in your deployment.

    vpc-list

  2. Click the "delete" icon in the Actions column of the peering connection.

    vpc-delete