What is the difference between a Service Endpoint and a Private Endpoint?
IntermediateConceptNetworking
Answer
| Service Endpoint | Private Endpoint | |
|---|---|---|
| What it does | Extends the subnet identity to the PaaS service; traffic stays on the backbone | Puts a NIC with a private IP from your subnet in front of one specific resource |
| Service IP | Still the public IP | Private IP in your VNet |
| On-prem access | No | Yes, over VPN/ExpressRoute |
| Data exfiltration | Any account of that service is reachable (unless SE policies) | Only that one resource |
| Cost | Free | Hourly + per GB |
| DNS | No change | Needs Private DNS zone |
Production default for data services is Private Endpoint plus publicNetworkAccess: Disabled.
More on Networking
What is a VNet and how does it compare to an AWS VPC?BeginnerHow many IP addresses does Azure reserve in each subnet?BeginnerWhat is a Network Security Group and how are its rules evaluated?BeginnerIf an NSG is on both the subnet and the NIC, how is traffic evaluated?AdvancedWhat are service tags and why use them in NSG rules?BeginnerWhat is an Application Security Group (ASG)?Intermediate