Let’s Get Certified
Module 14 / 17 · Private access to Azure services

Restrict PaaS access with service endpoints

Use a subnet identity and resource firewall rules when the service’s public endpoint remains appropriate.

Restrict PaaS access with service endpoints

Work through the decision

A workload in Azure needs access to a storage account’s public service endpoint from an approved subnet. Operations also wants the subnet to send storage traffic only to approved accounts. Which settings belong on each side?

Check your reasoning

Enable the applicable service endpoint on the source subnet. On the storage account, configure networking rules to allow that subnet under the intended public network access configuration. A service endpoint identifies the subnet to the service while the service keeps its public DNS endpoint. It supplies neither a private IP in the subnet nor a replacement for data-plane authorization.

Watch the source lesson at 2:19:51

Compare the choices

Subnet service endpoint
Enable the supported service on the source subnet to extend its identity to that service over the Azure backbone.
Resource network rule
Configure the supported PaaS resource to allow the intended subnet under its networking policy. Enabling the endpoint alone does not grant resource access.
Service endpoint policy
For a supported service and scenario, restrict the destination resources reachable through the endpoint from the associated subnet.
Data-plane authorization
Authorize the application identity for the required operations on the target resource. Network admission and application permission are independent decisions.

Test the decision

Where supported, associate a service endpoint policy that limits which storage resources are allowed from the subnet. Test the authorized and an out-of-scope account with the same workload identity. A failure only when accessing data may concern RBAC or credentials even when the network path is allowed.

Practice the guide skills

  1. Compare subnet identity at a public endpoint with assigning a private address in the consumer VNet. Watch 2:19:51 · Continue at 2:20:14
  2. Record the service and originating subnet before enabling its service endpoint. Watch 2:20:36
  3. Scope an endpoint policy to the supported storage accounts the subnet may reach. Watch 2:23:38
  4. Add the allowed subnet at the target service and predict the result from a second subnet. Watch 2:22:01

Official objectives for this lesson

Related lesson · Choose storage redundancy and movement

Knowledge check

Restrict PaaS access with service endpoints quiz

Answer 3 questions. Check each answer for an explanation.