liveBook · Manning

Service endpoint

As explained in Azure Security

An Azure service endpoint is a virtual-network configuration that enables a subnet to access a supported Azure service through the provider backbone.

An Azure service endpoint is a subnet configuration that enables access to a supported Azure service through the provider backbone. It strengthens network isolation by allowing resource firewalls to recognize traffic from selected virtual networks and subnets. section 5.1.1 section 5.2.3

A service endpoint does not grant authorization by itself. Resource permissions remain separate: Azure Storage uses network rules alongside control- and data-plane authorization, while Key Vault uses Azure RBAC or access policies. section 5.1.1 section 5.2.3

Configure the endpoint and its corresponding resource firewall rule in sequence:

Application subnet reaching Azure Storage

For VNET1 and VMSubnet, enable Microsoft.Storage, then add that subnet to storage012. The resulting network rule set shows defaultAction Deny and an allowed virtualNetworkRule with state Succeeded. section 5.1.1

Listing 5.3 Enabling a service endpoint for Azure Storage on VNet and subnet
az network vnet subnet update               #1
--resource-group myResourceGroup          #2
--vnet-name VNET1                         #3
--name VMSubnet                           #4
--service-endpoints Microsoft.Storage     #5
#1 The Azure CLI command to update the VNet subnet
#2 The resource group name
#3 The existing VNet name
#4 The existing subnet name
#5 The service endpoint you want to enable. To enable a service endpoint for Azure Storage, the value needs to be Microsoft.Storage.

Inspect the Azure CLI command and argument meanings for enabling Microsoft.Storage on an existing subnet. section 5.1.1

How Azure Security covers it

How deep it goes
Explains endpoint prerequisites, Azure CLI configuration, subnet rules, default-deny activation, and representative resulting configuration.
Examples
Uses VNET1, VMSubnet, storage012, azureSecKV01, Microsoft.Storage, Microsoft.KeyVault, and the 13.14.15.0/24 IPv4 range.
What it assumes
Assumes an existing VNet, subnet, resource group, and protected resource; teaches the endpoint and firewall sequence directly.
What you can do after
Operate/configure Azure CLI commands that enable subnet endpoints and add corresponding Storage or Key Vault network rules.
How it connects
Connects virtual networks, subnets, resource firewalls, network rules, Azure Storage, Key Vault, Azure RBAC, and access policies.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Azure Security. The section links point to the parts of the book it draws on.