Why Azure?
Enterprise Focus:
- 23% market share (second largest)
- Tight integration with Microsoft products (Office 365, Active Directory)
- Popular in regulated industries (banking, healthcare)
- Strong hybrid cloud capabilities
- Excellent for .NET/Windows workloads
Azure Global Infrastructure
Regions
60+ regions worldwide (more than AWS/GCP)
- Multiple regions in every continent
- Close to local customers for compliance
Availability Zones
Each region has 3 physically isolated data centers
Availability Sets
For high availability without zones
Azure Terminology
Resource: Any Azure object (VM, storage, network, etc.) Resource Group: Container for related resources Subscription: Billing boundary Tenant: Your organization
# Create resource group
az group create --name myResourceGroup --location eastus
# List all resources
az resource list --resource-group myResourceGroupCore Azure Services
Compute
Virtual Machines - IaaS
az vm create --resource-group myRG --name myVM --image UbuntuLTS --size Standard_B1sApp Service - PaaS (like Heroku)
az appservice plan create --name myPlan --resource-group myRG --sku FREE
az webapp create --name myApp --plan myPlan --resource-group myRGAzure Functions - Serverless
az functionapp create --resource-group myRG --consumption-plan-location eastus --name myFunction --runtime pythonContainer Instances - Run containers
az container create --resource-group myRG --name myContainer --image nginxStorage
Blob Storage - Object storage (like S3)
az storage account create --name mystorageaccount --resource-group myRG
az storage container create --name mycontainer --account-name mystorageaccountFile Shares - SMB/NFS file sharing
az storage share create --name myshare --account-name mystorageaccountDisk Storage - Persistent block storage
az disk create --name myDisk --resource-group myRG --size-gb 50Database
Azure SQL Database - Managed SQL Server
az sql server create --name myserver --resource-group myRG --admin-user AdminUser --admin-password P@ssw0rd!Azure Database for PostgreSQL - Managed PostgreSQL
az postgres server create --resource-group myRG --name myserver --admin-user AdminUser --admin-password P@ssw0rd!Azure Cosmos DB - NoSQL, globally distributed
az cosmosdb create --name myaccount --resource-group myRGNetworking
Virtual Network - Your private network
az network vnet create --resource-group myRG --name myVnet --address-prefix 10.0.0.0/16Load Balancer - Distribute traffic
az network lb create --resource-group myRG --name myLBApplication Gateway - Web app firewall + load balancing
az network application-gateway create --name myAppGW --resource-group myRGPricing
Pay-As-You-Go (like AWS) Reserved Instances - 1 or 3 year commitments Spot VMs - Up to 90% discount (interruptible) Free Tier - $200 credit for 30 days
Azure vs AWS
| Feature | Azure | AWS |
|---|---|---|
| Enterprise Integration | Excellent | Good |
| Hybrid Cloud | Best-in-class | Good |
| .NET Support | Native | Good |
| Service Count | 200+ | 200+ |
| Regional Coverage | More regions | More services per region |
| Pricing | Similar | Similar |
| Community | Growing | Largest |