Azure compute and networking services
VMs, scale sets, availability sets, Azure Virtual Desktop, containers, functions and app hosting, plus virtual networks, DNS, VPN Gateway, ExpressRoute and endpoints.
- 18 min
- 6 concepts
- Try it yourself
- 5-question check
Learn
Compute is where your code runs: virtual machines, containers or functions. Networking connects it all together, to each other, to the internet and to your offices.
For AZ-900 you need to know what each service is for and pick the right one for a scenario, not how to configure it.
- 1
Compare compute types, including containers, virtual machines, and functions
Virtual machines virtualise a whole computer, including the OS: most control, most management. Containers virtualise just the app and its dependencies on a shared OS, so they're lightweight and start in seconds (Azure Container Instances, Azure Container Apps, AKS). Functions run small pieces of code in response to events, with no servers to manage.
Remember: VM = whole computer. Container = app package. Function = code on an event.
- 2
Describe virtual machine options, including Azure virtual machines, Azure Virtual Machine Scale Sets, availability sets, and Azure Virtual Desktop
Scale sets create and manage a group of identical, load-balanced VMs that scale automatically. Availability sets spread VMs across fault domains and update domains so a hardware failure or maintenance doesn't take them all down.
Azure Virtual Desktop is a desktop and app virtualisation service: users get a Windows desktop in the cloud from any device, and multi-session Windows lets several users share one VM.
Remember: Scale sets scale. Availability sets protect. AVD delivers desktops.
- 3
Describe the resources required for virtual machines
A VM needs a size (CPU and memory), an OS disk and optionally data disks, a network interface, a virtual network and subnet, and often a public IP address. These are separate resources you can see in the resource group.
Remember: A VM is several resources working together.
- 4
Describe application hosting options, including web apps, containers, and virtual machines
Azure App Service hosts web apps, APIs and mobile back ends without managing servers, on Windows or Linux. Containers suit apps already packaged as images. VMs suit apps needing full OS control or custom software.
Remember: Web app with no servers to manage? App Service.
- 5
Describe virtual networking, including the purpose of Azure virtual networks, subnets, peering, Azure DNS, Azure VPN Gateway, and ExpressRoute
A virtual network lets Azure resources talk to each other, the internet and on-premises networks; subnets split it into segments. Peering connects two VNets over Microsoft's backbone. Azure DNS hosts DNS domains.
VPN Gateway sends encrypted traffic between Azure and on-premises over the public internet. ExpressRoute is a private connection through a connectivity provider that doesn't go over the internet, with higher reliability and speed.
Remember: VPN = encrypted over the internet. ExpressRoute = private line.
- 6
Define public and private endpoints
A public endpoint is a service's address reachable over the internet, such as a storage account's public URL. A private endpoint gives a service a private IP address inside your virtual network, so traffic stays on Microsoft's network and public access can be turned off.
Remember: Private endpoint = the service appears inside your VNet.
Connecting on-premises to Azure
- Encrypted tunnel over the internet
- Site-to-site, point-to-site, VNet-to-VNet
- Quick and cheap to set up
- Private connection via a provider
- Doesn't cross the public internet
- Higher bandwidth and reliability
Try it
Pick the compute service for the job.
This interactive part needs JavaScript.
In the portal
- Create a virtual networkAzure portal: Virtual networks > Create
- Create a VPN gatewayAzure portal: Virtual network gateways > Create
Key terms
Click a card to see the definition.
Check your understanding
5 questions. Score 80% or more and these skills are marked as confident in your AZ-900 study plan.
Which service connects on-premises to Azure without using the public internet?
ExpressRoute uses a private connection through a provider.
Which compute option needs the least management for event-driven code?
Functions are serverless and run on triggers.
What does Azure Virtual Desktop provide?
AVD delivers desktops and apps from Azure.
What gives a storage account a private IP inside your VNet?
Private endpoints bring the service into your network.
What virtualises the whole OS?
Containers share the host OS; VMs have their own.
Sources
- Microsoft Learn: Describe Azure compute and networking services
- Microsoft Learn: What is Azure Virtual Desktop?
- Microsoft Learn: What is Azure ExpressRoute?
- Microsoft Learn: What is a private endpoint?
Facts in this lesson are from Microsoft Learn. This site isn't affiliated with Microsoft.