What is Azure Compute?
Azure Compute provides the processing power required to run applications, workloads, and services in the cloud. It’s the “engine” that powers everything from simple web apps to large-scale enterprise solutions.
You can think of compute as “the ability to run code on demand with resources provided by Azure.”
Azure Compute Models
Azure offers multiple ways to run workloads:
-
Infrastructure as a Service (IaaS):
-
Full control of Virtual Machines (VMs).
-
You manage the OS, apps, and configuration.
-
-
Platform as a Service (PaaS):
-
Azure manages the infrastructure, you focus on the app.
-
Example: Azure App Service.
-
-
Serverless:
-
You only run code when triggered, no servers to manage.
-
Example: Azure Functions.
-
Key Azure Compute Options
-
Virtual Machines (VMs): On-demand servers with Windows or Linux.
-
VM Scale Sets: Automatically scale multiple VMs based on demand.
-
Availability Sets: Protect against hardware failure by distributing VMs.
-
App Services: Fully managed web apps and APIs.
-
Azure Kubernetes Service (AKS): Managed Kubernetes for containers.
-
Azure Functions & Logic Apps: Event-driven serverless compute.
Confusion Buster 🚨
-
VM vs App Service
-
VM = You manage everything (OS, patches, scaling).
-
App Service = Azure manages infrastructure, you just deploy code.
-
-
Containers vs Serverless
-
Containers = packaged apps with dependencies, portable.
-
Serverless = no container/VM management, event-driven execution.
-
Exam trick: If the requirement says “lift and shift existing server” → VM. If it says “just deploy code without managing servers” → App Service or Functions.
Simple Example
-
A startup runs their website using App Service (no need to manage servers).
-
Their data analytics workloads run on VMs because they need full OS control.
-
They experiment with Azure Functions to trigger reports automatically when new files land in storage.
Exam Tip
-
Always identify the level of control vs management in the scenario:
-
Full control = VM.
-
Web apps without server management = App Service.
-
Short, event-driven code = Functions.
-
Containerized apps = AKS or Container Instances.
-
What to Expect in the Exam
-
Direct Q: “Which Azure service provides full control of the operating system?” → Virtual Machine.
-
Scenario: “You need to deploy a website without managing infrastructure.” → App Service.
-
Trick Q: “Azure Functions require you to manage VMs.” (False).