VNet Integration Overview

Last Updated: October 26, 2023

Virtual Network (VNet) integration is a powerful feature that allows your cloud services to securely access resources within your private virtual networks. This provides enhanced security, compliance, and network control for your applications.

What is VNet Integration?

Traditionally, cloud services operate in a managed network environment separate from your private networks. VNet integration bridges this gap by enabling services to:

Key Scenarios and Benefits

VNet Integration Diagram

How it Works

VNet integration typically involves establishing a secure connection between the managed environment of your cloud service and your virtual network. This can be achieved through several methods, including:

Service Endpoints

Service endpoints extend your virtual network's private address space and identity to Azure services. This allows you to secure specific Azure resources, like storage accounts or SQL databases, to only accept connections from your VNet. Communication between your VNet and the service travels over an optimized path on the Azure backbone network.

Private Endpoints

Private endpoints provide a network interface that privately and securely connects a virtual machine or service to a particular Azure service. When you create a private endpoint for a service, it provides a private IP address from your VNet, effectively bringing the service into your VNet. All traffic to the service will be routed through the private endpoint, ensuring it remains within your private network.

Note: The choice between Service Endpoints and Private Endpoints depends on your specific requirements for isolation, security, and the types of Azure services you are integrating with.

Supported Services

A growing number of Azure services support VNet integration, including:

Getting Started

To implement VNet integration for your service, you will typically need to:

  1. Create or Select a Virtual Network: Ensure you have a VNet in place with appropriate subnets.
  2. Configure Integration: Navigate to the networking settings of your cloud service and enable VNet integration. This usually involves selecting your VNet and subnet.
  3. Set up Access Control: Configure NSGs on your VNet subnets to allow or deny traffic to/from your integrated service.
  4. Utilize Private DNS: For private endpoints, ensure proper DNS resolution is configured so your services can resolve the private IP addresses of the integrated resources.
Tip: Always test your VNet integration thoroughly in a development or staging environment before deploying to production.

Further Reading