Skip to content

Instantly share code, notes, and snippets.

@jikuja
Last active May 3, 2021 09:58
Show Gist options
  • Save jikuja/fa9433acceaf7c7db306ab070028035f to your computer and use it in GitHub Desktop.
Save jikuja/fa9433acceaf7c7db306ab070028035f to your computer and use it in GitHub Desktop.
Azure VNet resource safety

Virtual Networks

Deploy dedicated Azure services into virtual networks

Some Azure PaaS services can be deployed into VNet and then they are usable through Azure VNet services and on-prem when using Express Route or VPN with proper routing setup.

  • https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-for-azure-services
  • Usually expensive tier of service required. Some examples:
  • Some services requires delegated subnet. E.g. ACI creates delegation automatically if needed.
    • only one type of delegation supported per subnet
    • some services requires also dedicated subnet
  • Unsupported services:
    • Azure Data Factory Integration runtime
      • (2021-04-05) On preview only. Current documentation suggests installing SHIR into Azure VM
      • Preview is using private link to connect Azure Data resources
    • TBD

Virtual Network Service Endpoints

Service enpoint

Short description:

  • Accessing the service using public endpoints by extending a virtual network to the service, through service endpoints. Service endpoints allow service resources to be secured to the virtual network.

  • Allows direct access from VNet to resource
  • Rewrites source IP and internally uses BGP to change routing from public resource IP to internal VNet faced IP

Usable e.g. to connect from VM to SQL or Storage Account without passing data through internet

Notes

  • Does not support routing
  • VNet peering support?
  • The image describing on-prem access is whitelisting Express route public address or on-prem NAT gateway address
    • Express route != public internet
    • For on-prem traffic will go through public internet

Private endpoint

Private endpoint "Private endpoint with Storage Account"

Private endpoint is transparent connection from Azure Vnet IP to Azure service.

Private link

Private link

Azure Private Link service is the reference to your own service that is powered by Azure Private Link. Your service that is running behind Azure Standard Load Balancer can be enabled for Private Link access so that consumers to your service can access it privately from their own VNets.

Private link is a service which can be used as facade that converts your own services to be interacted with private endpoints. In this case the service that is bound with private endpoint is private link. See image on the overview article.

VNet peering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment