Lesson - 05 - Configure and Manage Virtual Networking
Lesson - 05 - Configure and Manage Virtual Networking
Administrator AZ-104
Configure and Manage Virtual
Networking
A Day in the Life of an Azure Architect
Source: https://docs.microsoft.com/en-us/azure
Create Virtual Networks
Source: https://docs.microsoft.com/en-us/azure
Create Subnets
Duration: 10 Min.
Problem Statement:
Create Subnets and Vnets in Azure to segregate network traffic to allow more secured access
to the resources.
Assisted Practice: Guidelines
Source: https://docs.microsoft.com/en-us/azure
Create Public IP Addresses
Public IP is used to communicate with internet devices, including Azure public-facing services.
A public IP address resource can be associated with virtual machine network interfaces,
internet-facing load balancers, VPN gateways, and application gateways.
• Static: Azure selects and assigns any unassigned or unreserved IP address in the
subnet's address range.
• Security rules in NSGs enable filtering network traffic that can flow in and out of
virtual network subnets and network interfaces.
• There are default security rules but other rules with higher priority can be added.
Determine NSG Effective Rules
Source: https://docs.microsoft.com/en-us/azure
Create NSG rules
Duration: 10 Min.
Problem Statement:
Create a network security group in Azure to have more control over which traffic will be
allowed or denied on the network.
Assisted Practice: Guidelines
Azure Firewall is a managed, cloud-based network security service that protects Azure Virtual
Network resources. Its features include:
• Support for hybrid connectivity through deployment behind VPN and ExpressRoute Gateways
Determine Azure Firewall Uses
Azure Firewall may be a managed, cloud-based network Security Service that protects Azure Virtual
Network resources.
Source: https://docs.microsoft.com/en-us/azure/firewall
Create Azure Firewalls
Source: https://docs.microsoft.com/en-us/azure/firewall
Creating Firewall Rules
There are three types of rules that the user can configure within the Azure Firewall.
Duration: 10 Min.
Problem Statement:
Create firewall rules in Azure to have more control over traffic flow from in and out of the
network.
Assisted Practice: Guidelines
Azure Domain Name Service (DNS) enables hosting DNS records for domains on Azure infrastructure. With
Azure DNS, the same credentials, APIs, tools, and billing can be used as other Azure services.
• When creating an Azure subscription, an Azure AD domain is created for the user.
Azure Domain Name Service (DNS) enables to host DNS records for domains on Azure infrastructure.
Verify Custom Domain Names
Azure DNS provides a reliable, secure DNS service to manage and resolve domain names in virtual
networks.
Duration: 10 Min.
Problem Statement:
Create DNS zone and a record using Azure DNS to map DNS to or IPs so that we do not need
to remember the IPs.
Assisted Practice: Guidelines
It is important to grasp the difference between DNS record sets and individual DNS records.
Source: https://docs.microsoft.com/en-us/azure
Plan for Private DNS Zones
Source: https://docs.microsoft.com/en-us/azure
Determine Private Zone Scenarios
• DNS resolution in VNet1 is private and not accessible from the Internet.
• DNS queries across the virtual networks are resolved.
• Reverse DNS queries are scoped to the same virtual network.
Source: https://docs.microsoft.com/en-us/azure
Creating Private DNS Zones
Duration: 10 Min.
Problem Statement:
Create private DNS Zones to identify the domains in the private network settings, these will
not be internet routable.
Assisted Practice: Guidelines
Source: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
Determine Gateway Transit and Connectivity Needs
When virtual networks are peered, configure a VPN gateway within the peered virtual network as a transit point.
Source: https://docs.microsoft.com/en-us/azure
Create VNet Peering
Duration: 30 Min.
Problem Statement:
Create Vnet Peering in Azure to connect different networks in Azure so that resources in these
networks can talk to each other over a private connection.
Assisted Practice: Guidelines
VNet Peering is nontransitive. However, the user will configure user-defined routes and repair chaining to
supply the transitivity:
Source: https://docs.microsoft.com/en-us/azure
VPN Gateway Uses
Source: https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal
Create the Gateway Subnet
Users initially must create a gateway subnet before creating a virtual network gateway for the virtual
network. Some important pointers to consider while creating a gateway subnet are as follows:
• The gateway subnet contains the IP addresses; if possible, use a CIDR block of /28 or /27.
• When creating a gateway subnet, gateway VMs are deployed to the gateway subnet and
configured with the required VPN gateway settings.
• Never deploy other resources (for example, additional VMs) to the gateway subnet.
Create the Gateway Subnet
Gateway subnet contains the IP addresses that are utilized by the virtual gateway.
Create the VPN Gateway
The VPN gateway settings chosen are critical to making a successful connection.
When users creates the virtual network gateway, they need to specify a VPN type.
Route-based VPNs use routes in the IP Policy-based VPNs encrypt and direct packets
forwarding or routing table to direct packets: through IPsec tunnels based on the IPsec policies:
• Support for IKEv2 • Support for IKEv1 only
• Can use dynamic routing protocols • Legacy on-premises VPN devices
Determine Gateway SKU and Generation
Sampling of available
SKUs
• The Basic SKU (not shown) is legacy and should not be used.
Create the Local Network Gateway
Source: https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal
Create the VPN Connection
Source: https://docs.microsoft.com/en-us/azure
Creating VPN Gateway
Duration: 60 Min.
Problem Statement:
Create a VPN gateway in Azure to secure hybrid connectivity between on-premises Data
center and Azure.
Assisted Practice: Guidelines
Azure ExpressRoute helps to make private connections between Azure datacenters and infrastructure
on-premises or in a colocation environment.
Source: https://docs.microsoft.com/en-us/azure
Determine ExpressRoute Capabilities
Once a user is connected to a minimum of one ExpressRoute location within a geopolitical region, the user
will access Azure services across all the regions within that geopolitical region.
Source: https://docs.microsoft.com/en-us/azure
Compare Intersite Connection Options
ExpressRoute could be a direct, private connection from the WAN (not over the general
public Internet) to Microsoft Services, including Azure.
Azure services
Connection Bandwidth Protocols Typical use case
supported
Virtual network, Azure IaaS services and Based on the Active/passive Dev, test, and lab
point-to-site Azure Virtual Machines gateway SKU environments for cloud
services and virtual
machines
Virtual network, Azure IaaS service and Typically, < 1 Active/passive Dev, test, and lab
site-to-site Azure Virtual Machines Gbps Active/active environments. Small-
aggregate scale production
workloads and virtual
machines
ExpressRoute Azure IaaS and PaaS 50 Mbps up to Active/active Enterprise-class and
services and Microsoft 100 Gbps mission-critical
365 services workloads. Big data
solutions
Determine Virtual WAN Uses
Source: https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about#:~:text=Azure%20Virtual%20WAN%20is%20a,provide%20a%20single%20operational%20interface.
Administer Network Traffic
Review System Routes
Source: https://docs.microsoft.com/en-us/azure
Identify User-Defined Routes
Source: https://docs.microsoft.com/en-us/azure
Examine a Routing Example
All traffic from the public subnet to the private subnet must go through a virtual
network appliance.
Source: https://docs.microsoft.com/en-us/azure
Determine Service Endpoint Uses
Source: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
Determine Service Endpoint Services
Source: https://docs.microsoft.com/en-us/azure
Creating NVA and Virtual Machine
Duration: 15 Min.
Problem Statement:
Create NVA and Virtual Machine to implement the user-defined routes so that the traffic will
flow on these defined routes and not on system routes.
Assisted Practice: Guidelines
Azure Load Balancer delivers high availability and network performance to applications. The load balancer
distributes inbound traffic to backend resources using load balancing rules and health probes.
Source: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
Implement a Public Load Balancer
• Map public IP addresses and port number of incoming traffic to the VM’s private
IP address and port number, and vice versa
• Apply load balancing rules to distribute traffic across VMs or services
Source: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
Implement an Internal Load Balancer
Source: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
Determine Load Balancer SKUs
To distribute traffic, a back-end address pool contains the IP addresses of virtual NICs that are
connected to the load balancer.
A load balancer rule defines how traffic is distributed to the backend pool. Its features include:
Azure Load Balancer distributes network traffic equally among multiple VM instances. It uses a five-tuple
(source IP, source port, destination IP, destination port, and protocol type) hash to map traffic to available
servers. It provides stickiness only within a transport session.
• Client IP and protocol specify that successive requests from the same address and
protocol will be handled by the same virtual machine.
Source: https://docs.microsoft.com/en-us/azure
Configure Session Persistence
Client
Source: https://docs.microsoft.com/en-us/azure
Create Health Probes
Duration: 30 min
Problem Statement:
Create a public load balancer in Azure to evenly distribute the load between the backend
servers.
Assisted Practice: Guidelines
Source: https://docs.microsoft.com/en-us/azure/application-gateway/create-multiple-sites-portal
Determine Application Gateway Routing
Clients send requests to web apps to an IP address or the DNS name of the gateway. Using a set of rules,
the gateway routes request to select a web server in the back-end pool. The rules are configured for the
gateway to find where the requests should go. There are two primary methods of routing traffic:
Source: https://docs.microsoft.com/en-us/azure/application-gateway/create-multiple-sites-portal
Setup Application Gateway Components
Application Gateway has a series of components that combine to route requests to a pool of web servers
and check the health of these web servers.
• Frontend IP
• Listeners
• Routing rules
• Backend pools
• Health probes
Source: https://docs.microsoft.com/en-us/azure
Key Takeaways