
Cloud
Learning Level
Azure offers multiple compute services for different workload types. Understanding when to use each service is crucial for building scalable and cost-effective applications.
By the end of this lesson, you'll understand:
Best For: Full OS control, legacy applications, complex workloads
Key Characteristics:
Basic Usage:
# Create VM
az vm create \
--resource-group myResourceGroup \
--name myVM \
--image UbuntuLTS \
--admin-username azureuser \
--public-ip-sku Standard
# Start/Stop VM
az vm start --name myVM --resource-group myResourceGroup
az vm stop --name myVM --resource-group myResourceGroupBest For: Web apps, APIs, background jobs
Key Characteristics:
Basic Usage:
# Create App Service plan
az appservice plan create \
--name myAppServicePlan \
--resource-group myResourceGroup \
--sku B1 \
--is-linux
# Create web app
az webapp create \
--resource-group myResourceGroup \
--plan myAppServicePlan \
--name myUniqueAppNameBest For: Event-driven, serverless, variable load
Key Characteristics:
Basic Usage:
# Create function app
az functionapp create \
--resource-group myResourceGroup \
--consumption-plan-location eastus \
--runtime node \
--functions-version 4 \
--name myFunctionAppBest For: Docker containers, quick deployment
Key Characteristics:
Basic Usage:
# Run container
az container create \
--resource-group myResourceGroup \
--name myContainer \
--image nginx \
--cpu 1 \
--memory 1Best For: Complex microservices, orchestration
Key Characteristics:
Basic Usage:
# Create AKS cluster
az aks create \
--resource-group myResourceGroup \
--name myAKSCluster \
--node-count 3| Service | Type | Best For | Scaling | Cost |
|---|---|---|---|---|
| VMs | IaaS | Full control | Manual/Auto | Per hour |
| App Service | PaaS | Web apps | Automatic | Per instance |
| Functions | Serverless | Events | Auto to zero | Per execution |
| Container Instances | Containers | Quick deploy | Manual | Per second |
| AKS | Kubernetes | Microservices | Automatic | Per node |
Dive deeper into your chosen compute service with dedicated lessons.
Resources
Ojasa Mirai
Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.
Learn Deep • Build Real • Verify Skills • Launch Forward