1. Create and Manage Resource Groups
A resource group is a logical container for Azure resources. Use the Azure CLI to create one:
az group create --name MyResourceGroup --location eastus
You can list all groups with:
az group list --output table
2. Configure a Virtual Network
Define a virtual network and a subnet:
az network vnet create \
--resource-group MyResourceGroup \
--name MyVNet \
--address-prefix 10.0.0.0/16 \
--subnet-name MySubnet \
--subnet-prefix 10.0.1.0/24
Verify the VNet:
az network vnet show --resource-group MyResourceGroup --name MyVNet --output json
3. Set Up a Storage Account
Create a storage account with standard performance:
az storage account create \
--name mystorageacct123 \
--resource-group MyResourceGroup \
--location eastus \
--sku Standard_LRS \
--kind StorageV2
List containers:
az storage container list --account-name mystorageacct123 --output table
4. Deploy an App Service
Create an App Service plan:
az appservice plan create \
--name MyPlan \
--resource-group MyResourceGroup \
--location eastus \
--sku B1 \
--is-linux
Create the web app:
az webapp create \
--resource-group MyResourceGroup \
--plan MyPlan \
--name myuniqueappname2025 \
--runtime "NODE|14-lts"
5. Manage Configuration Settings
Set an app setting:
az webapp config appsettings set \
--resource-group MyResourceGroup \
--name myuniqueappname2025 \
--settings "ENVIRONMENT=Production"
Retrieve all settings:
az webapp config appsettings list \
--resource-group MyResourceGroup \
--name myuniqueappname2025 \
--output table