Virtual Machines
Azure Virtual Machines provide scalable infrastructure-as-a-service compute similar to AWS EC2. They are used when teams need full control over the operating system, runtime, installed packages, and server-level configuration.
What it does
Virtual machines in Azure.
When to use
Use Azure VMs when you need full operating system control, custom software installation, or lift-and-shift migration of existing workloads.
Key Concepts
VM sizes define CPU, memory, storage throughput, and workload profile.
Managed disks are used to attach persistent block storage to virtual machines.
Networking is controlled through VNets, subnets, public IPs, and NSGs.
VMs are commonly used with load balancers, scale sets, and monitoring services.
Common Use Cases
Running backend APIs and internal applications.
Migrating legacy workloads into Azure.
Hosting custom Linux or Windows-based software.
Interview Questions
What are Azure Virtual Machines?
How are Azure VMs similar to AWS EC2?
When would you use a VM instead of App Service or Functions?