Azure Networking
Azure Networking
Table of Contents
Connectivity between Azure resources...................................................................11
Internet connectivity...............................................................................................12
On-premises connectivity........................................................................................13
Load balancing and traffic direction........................................................................15
4.1. DNS load balancing........................................................................................15
Geographic..................................................................................................15
Performance...............................................................................................15
Priority........................................................................................................15
Weighted round-robin................................................................................15
4.2. Application load balancing............................................................................16
4.3. Network load balancing................................................................................17
Security....................................................................................................................19
Routing....................................................................................................................19
Manageability..........................................................................................................20
Deployment and configuration tools......................................................................21
9. Pricing..................................................................................................................22
10/4/2022
Introduction
10
10/4/2022
Specify a custom private IP address space using public and private (RFC 1918)
addresses. Azure assigns resources connected to the VNet a private IP address
from the address space you assign.
Segment the VNet into one or more subnets and allocate a portion of the VNet
address space to each subnet.
Use Azure-provided name resolution or specify your own DNS server for use by
resources connected to a VNet.
To learn more about the Azure Virtual Network service, read the Virtual network
overview article. You can connect VNets to each other, enabling resources connected to
either VNet to communicate with each other across VNets. You can use either or both of
the following options to connect VNets to each other:
11
10/4/2022
Internet connectivity
All Azure resources connected to a VNet have outbound connectivity to the Internet by
default. The private IP address of the resource is source network address translated
(SNAT) to a public IP address by the Azure infrastructure. To learn more about outbound
Internet connectivity, read the Understanding outbound connections in Azure article.
12
10/4/2022
On-premises connectivity
You can access resources in your VNet securely over either a VPN connection, or a direct
private connection. To send network traffic between your Azure virtual network and
your on-premises network, you must create a virtual network gateway. You configure
settings for the gateway to create the type of connection that you want, either VPN or
ExpressRoute.
You can connect your on-premises network to a VNet using any combination of the
following options:
The following picture shows separate point to site connections between multiple
computers and a VNet:
This connection is established between a single computer and a VNet. This connection
type is great if you're just getting started with Azure, or for developers, because it
requires little or no changes to your existing network. It's also convenient when you are
connecting from a remote location such as a conference or home. Point-to-site
connections are often coupled with a site-to-site connection through the same virtual
network gateway. The connection uses the SSTP protocol to provide encrypted
13
10/4/2022
communication over the Internet between the computer and the VNet. The latency for a
point-to-site VPN is unpredictable, since the traffic traverses the Internet.
This connection is established between your on-premises VPN device and an Azure VPN
Gateway. This connection type enables any on-premises resource that you authorize to
access the VNet. The connection is an IPSec/IKE VPN that provides encrypted
communication over the Internet between your on-premises device and the Azure VPN
gateway. You can connect multiple on-premises sites to the same VPN gateway. The on-
premises VPN device at each site must have an externally-facing public IP address that is
not behind a NAT. The latency for a site-to-site connection is unpredictable, since the
traffic traverses the Internet.
14
10/4/2022
This type of connection is established between your network and Azure, through an
ExpressRoute partner. This connection is private. Traffic does not traverse the Internet.
The latency for an ExpressRoute connection is predictable, since traffic doesn't traverse
the Internet. ExpressRoute can be combined with a site-to-site connection.
To learn more about all the previous connection options, read the Connection topology
diagrams article.
The Azure Traffic Manager service provides global DNS load balancing. Traffic Manager
responds to clients with the IP address of a healthy endpoint, based on one of the
following routing methods:1
15
10/4/2022
weights assigned to all available endpoints. Using the same weight across all
endpoints results in an even traffic distribution. Using higher or lower weights on
specific endpoints causes those endpoints to be returned more or less frequently
in the DNS responses.
The following picture shows a request for a web application directed to a Web App
endpoint. Endpoints can also be other Azure services such as VMs and Cloud Services.
The client connects directly to that endpoint. Azure Traffic Manager detects when an
endpoint is unhealthy and then redirects clients to a different, healthy endpoint. To learn
more about Traffic Manager, read the Azure Traffic Manager overview article.
The Azure Application Gateway service provides application delivery controller (ADC) as
a service. Application Gateway offers various Layer 7 (HTTP/HTTPS) load-balancing
capabilities for your applications, including a web application firewall to protect your
web applications from vulnerabilities and exploits. Application Gateway also allows you
16
10/4/2022
The following picture shows URL path-based routing with Application Gateway:
17
10/4/2022
connections. You can configure public and internal load-balanced endpoints. You can
define rules to map inbound connections to back-end pool destinations by using TCP
and HTTP health-probing options to manage service availability. To learn more about
Load Balancer, read the Load Balancer overview article.
The following picture shows an Internet-facing multi-tier application that utilizes both
external and internal load balancers:
18
10/4/2022
Security
You can filter traffic to and from Azure resources using the following options:
If you need network capability Azure doesn't provide, or want to use network
applications you use on-premises, you can implement the products in VMs and connect
them to your VNet. The Azure Marketplace contains several different VMs pre-
configured with network applications you may currently use. These pre-configured VMs
are typically referred to as network virtual appliances (NVA). NVAs are available with
applications such as firewall and WAN optimization.
Routing
Azure creates default route tables that enable resources connected to any subnet in any
VNet to communicate with each other. You can implement either or both of the
following types of routes to override the default routes Azure creates:
User-defined: You can create custom route tables with routes that control where
traffic is routed to for each subnet. To learn more about user-defined routes, read
the User-defined routes article.
Border gateway protocol (BGP): If you connect your VNet to your on-premises
network using an Azure VPN Gateway or ExpressRoute connection, you can
propagate BGP routes to your VNets. BGP is the standard routing protocol
19
10/4/2022
Manageability
Azure provides the following tools to monitor and manage networking:
Activity logs: All Azure resources have activity logs which provide information
about operations taken place, status of operations and who initiated the operation.
To learn more about activity logs, read the Activity logs overview article.
Diagnostic logs: Periodic and spontaneous events are created by network
resources and logged in Azure storage accounts, sent to an Azure Event Hub, or
sent to Azure Log Analytics. Diagnostic logs provide insight to the health of a
resource. Diagnostic logs are provided for Load Balancer (Internet-facing), Network
Security Groups, routes, and Application Gateway. To learn more about diagnostic
logs, read the Diagnostic logs overview article.
Metrics: Metrics are performance measurements and counters collected over a
period of time on resources. Metrics can be used to trigger alerts based on
thresholds. Currently metrics are available on Application Gateway. To learn more
about metrics, read the Metrics overview article.
Troubleshooting: Troubleshooting information is accessible directly in the Azure
portal. The information helps diagnose common problems with ExpressRoute, VPN
Gateway, Application Gateway, Network Security Logs, Routes, DNS, Load Balancer,
and Traffic Manager.
Role-based access control (RBAC): Control who can create and manage
networking resources with role-based access control (RBAC). Learn more about
RBAC by reading the Get started with RBAC article.
Packet capture: The Azure Network Watcher service provides the ability to run a
packet capture on a VM through an extension within the VM. This capability is
available for Linux and Windows VMs. To learn more about packet capture, read
the Packet capture overview article.
Verify IP flows: Network Watcher allows you to verify IP flows between an Azure
VM and a remote resource to determine whether packets are allowed or denied.
20
10/4/2022
Azure portal: A graphical user interface that runs in a browser. Open the Azure
portal.
Azure PowerShell: Command-line tools for managing Azure from Windows
computers. Learn more about Azure PowerShell by reading the Azure PowerShell
overview article.
Azure command-line interface (CLI): Command-line tools for managing Azure
from Linux, macOS, or Windows computers. Learn more about the Azure CLI by
reading the Azure CLI overview article.
Azure Resource Manager templates: A file (in JSON format) that defines the
infrastructure and configuration of an Azure solution. By using a template, you can
repeatedly deploy your solution throughout its lifecycle and have confidence your
resources are deployed in a consistent state. To learn more about authoring
templates, read the Best practices for creating templates article. Templates can be
deployed with the Azure portal, CLI, or PowerShell. To get started with templates
right away, deploy one of the many pre-configured templates in the Azure
Quickstart Templates library.
21
10/4/2022
9. Pricing
Some of the Azure networking services have a charge, while others are free. View
the Virtual network, VPN Gateway, Application Gateway, Load Balancer, Network
Watcher, DNS, Traffic Manager and ExpressRoute pricing pages for more information.
22