1. Day 9 – Management Tools
Johan Myburgh
10Tuesdays
To Azure Fundamentals
https://aka.ms/AZ900LM
https://aka.ms/AZ900EP09LM
2. Johan Myburgh
Azure Technical Trainer (ATT) @ Microsoft UK
Cloud Solution Architect
Passionate about people and sharing knowledge
jomyburg@microsoft.com
@sayedimac
aka.ms/johan
3. Day 9
Management Tools
• Azure Resource Manager
• ARM Templates
• PowerShell
• CLI
• Azure Portal and Cloud Shell
• Azure Arc
4. Azure Resource Manager
• Your proxy in Azure
• Glue between all Azure resources
• Manages infrastructure through templates
(ARM templates = JSON)
• Manages lifecycles of resources as a group
• Defines dependencies between resources
• Applies access control (RBAC)
• Applies Tags
• Clarifies billing
Benefits
5. ARM Templates
• Declarative JSON syntax
• Consistent, repeatable results
• Orchestration
• Modular
• Extensible with PowerShell/Bash
• Promotes reuse
• Complex deployments in single text files
{
"$schema":
"http://schema.management.
azure.com/schemas/2019-04-
01/deploymentTemplate.json#",
"contentVersion": "",
"parameters": {},
"variables": {},
"functions": [],
"resources": [],
"outputs": {}
}
6. PowerShell
• It is a Shell
• It is a scripting language
• It is a runtime
• It is modular (Azure, SQL, O365)
$rgname = “rg1”
$location = “uksouth”
New-AZResourceGroup –name $rgname
-location $location
New-AzVm `
-ResourceGroupName $rgname `
-Name "CrmUnitTests" `
-Image "UbuntuLTS" `
-location $location
Example
7. CLI
• It is a program in your OS path
• Commands, with sub commands
• Less verbose than PowerShell
• Often much slower than PowerShell
az vm restart -g
MyResourceGroup -n MyVm
Example
8. 50% off Exam Vouchers
To qualify:
Scan the QR code and fill out the
form
Add 17970 as the event ID
You must attend 5 out of the 7
remaining sessions to be eligible
for the voucher
Please note this offer is only
valid until 31st March 2023