You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: What is subnet delegation in Azure virtual network?
3
-
description: Learn about subnet delegation in Azure virtual network
2
+
title: Subnet Delegation in Azure Virtual Network
3
+
description: Learn how subnet delegation in Azure virtual networks enables you to designate specific subnets for Azure PaaS services, providing better control and integration. Discover advantages and implementation steps.
4
4
author: asudbring
5
5
ms.service: azure-virtual-network
6
6
ms.topic: concept-article
7
-
ms.date: 04/15/2025
7
+
ms.date: 07/28/2025
8
8
ms.author: allensu
9
9
# Customer intent: As a network administrator, I want to delegate subnets to specific Azure services, so that I can manage network configurations and policies effectively for better integration and performance within my virtual network.
10
10
---
11
11
12
12
# What is subnet delegation?
13
13
14
-
Subnet delegation enables you to designate a specific subnet for an Azure PaaS service of your choice that needs to be injected into your virtual network. Subnet delegation provides full control to the customer on managing the integration of Azure services into their virtual networks.
14
+
Subnet delegation in Azure virtual networks enables you to designate a specific subnet for an Azure PaaS service of your choice that needs to be injected into your virtual network. This feature provides full control to customers on managing the integration of Azure services into their virtual networks, ensuring better performance and security.
15
15
16
16
When you delegate a subnet to an Azure service, you allow that service to establish some basic network configuration rules for that subnet, which help the Azure service operate their instances in a stable manner. As a result, the Azure service might establish some of the following pre or post deployment conditions:
17
17
18
18
- Deploy the service in a shared versus dedicated subnet.
19
-
20
19
- Add to the service a set of Network Intent Policies post deployment that is required for the service to work properly.
21
20
22
-
## Advantages of subnet delegation
21
+
## Advantages of subnet delegation
23
22
24
23
Delegating a subnet to specific services provides the following advantages:
25
24
@@ -34,45 +33,37 @@ Delegating a subnet to specific services provides the following advantages:
34
33
- Helps injected services to better integrate with the virtual network by defining their preconditions of deployments in the form of Network Intent Policies. This policy ensures any actions that can affect functioning of the injected service can be blocked at PUT.
35
34
36
35
## Who can delegate?
36
+
37
37
Subnet delegation is an exercise that the virtual network owners need to perform to designate one of the subnets for a specific Azure Service. Azure Service in turn deploys the instances into this subnet for consumption by the customer workloads.
38
38
39
39
## Effect of subnet delegation on your subnet
40
+
40
41
Each Azure service defines their own deployment model, where they can define what properties they do or don't support in a delegated subnet for injection purposes as follows:
41
42
42
43
- Shared subnet with other Azure Services or virtual machine / virtual machine scale set in the same subnet, or it only supports a dedicated subnet with only instances of this service in it.
43
-
44
-
- Supports NSG association with the delegated subnet.
45
-
44
+
- Supports Network Security Group (NSG) association with the delegated subnet.
46
45
- Supports NSG associated with the delegated subnet can be also associated with any other subnet.
47
-
48
46
- Allows route table association with the delegated subnet.
49
-
50
47
- Allows the route table associated with the delegated subnet to be associated with any other subnet.
51
-
52
48
- Dictates the minimum number of IP Addresses in the delegated subnet.
53
-
54
49
- Dictates the IP Address space in the delegated subnet to be from Private IP Address space (10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12).
55
-
56
50
- Dictates that the custom DNS configuration has an Azure DNS entry.
57
-
58
51
- Requires delegation to be removed before the subnet or virtual network can be deleted.
59
-
60
52
- Can't be used with a private endpoint if the subnet is delegated. As a consequence, private endpoint network policies shouldn't be configured in these subnets.
61
53
62
54
Injected services can also add their own policies as follows:
63
55
64
56
-**Security policies**: Collection of security rules required for a given service to work.
65
-
66
57
-**Route policies**: Collection of routes required for a given service to work.
67
58
68
59
## What subnet delegation doesn't do
69
60
70
61
The Azure services being injected into a delegated subnet still have the basic set of properties that are available for nondelegated subnets, such as:
71
62
72
63
- Azure services can inject instances into customer subnets, but can't affect the existing workloads.
73
-
74
64
- The policies or routes that these services apply are flexible and overridden by the customer.
0 commit comments