Can someone help explain Subnet delegation in Azure?
I've read the following article which don't really explain anything: https://learn.microsoft.com/en-us/azure/virtual-network/subnet-delegation-overview
What is the purpose? When would I need it?
Can someone help explain Subnet delegation in Azure?
I've read the following article which don't really explain anything: https://learn.microsoft.com/en-us/azure/virtual-network/subnet-delegation-overview
What is the purpose? When would I need it?
Subnet Delegation is commonly used to allow a PaaS service to be injected into an existing virtual network. An example of this would be the Azure Databricks service.
If you deploy DataBricks without VNet injection (the default option), a new dedicated VNet will be created for the DataBricks instance. The worker nodes of the cluster, which are Azure VMs, will be connected the new VNet.
If you don't want to create a new dedicated VNet, but instead use an existing VNet, you can deploy DataBricks with VNet injection. You basically grant the DataBricks service to control certain aspects of a subnet, within an existing VNet. This process is referred to as Subnet Delegation. It allows a PaaS service to make certain configuration changes, like adding Network Security Group rules (if a subnet is attached to an NSG), or configure custom routes.
You can only delegate a subnet to a single resource type. That's why you often create dedicated subnets for Azure PaaS services.
The screenshot above shows that two subnets are delegated to the Microsoft.DataBricks/workspaces.
© 2022 - 2024 — McMap. All rights reserved.