Azure Networking: VNet Peering
To set up a private connection between an Astro Virtual Network (VNet) and an Azure VNet, you can create a VNet peering connection. VNet peering ensures private and secure connectivity, reduces network transit costs, and simplifies network layouts.
-
Retrieve the following information from the target Azure environment that you want to connect with:
- Azure Tenant ID and Subscription ID.
- VNet name.
- Resource Group name.
-
Prepare the
astro-vnet-peering-creator-role.jsonJSON file with the following permissions. Replace{customer-subscription-id}with your value: -
Run the following Azure CLI commands to give Astronomer support temporary permissions to establish a VNet peering connection:
-
Contact Astronomer support to tell them that you granted permissions to the Astronomer Service Principal. In addition, provide the following details in your request:
- Astro Cluster ID
- Azure Tenant ID and Subscription ID of the target VNet
- Resource group name
- VNet Name and preferred name for peering
After receiving your request, Astronomer support creates a VNet peering connection between the two VNets. No other actions are required from you. Astronomer support will notify you when the connection is ready to use.
When the network connection is confirmed, you can delete the temporary roles you created using the following command. Replace {customer-subscription-id} with your value: