Azure Networking: VHub Peering
To set up a private connection between an Astro Virtual Network (VNet) and an Azure VHub, you can create a VHub peering connection. VHub peering ensures private and secure connectivity, reduces network transit costs, and attaches the Astro environment to a centralized managed network.
-
Retrieve the following information from the target Azure environment that you want to connect with:
- Azure Tenant ID and Subscription ID.
- VHub name.
- Resource Group name.
- Optional. Firewall IP address if you use any on the VHub side.
-
Prepare a
astro-vhub-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 VHub peering connection:
-
Contact Astronomer support to tell them that you granted them permissions to the Astronomer Service Principal. In addition, provide the following details in your request:
- Astro Cluster ID
- Azure Tenant ID and Subscription ID with a VHub
- Resource group name
- VHub name and preferable name for the peering
- (Optional) Firewall IP address if you use any on the VHub side.
After receiving your request, Astronomer support creates a VHub peering connection to Astro VNet. 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: