Day 20: Deploy Azure Resources Using ARM Template
On my day 20 on 100 Days of Cloud (Azure), I started it along with the AWS but now my Azure is a little bit behind. Prolly, I just prefer…
Wiki topics:
☁️ · DevOps & Cloud
Day 20: Deploy Azure Resources Using ARM Template
On my day 20 on 100 Days of Cloud (Azure), I started it along with the AWS but now my Azure is a little bit behind. Prolly, I just prefer color orange 😂.
In this lab, there was a file given already which is /root/arm-templates/vnet-deployment-template.json. I just need to update and deploy it.
1. Use an editor
I’m much more comfortable using vim editor
vim /root/arm-templates/vnet-deployment-template.json

2. Update according with the lab’s instruction
common commands:
**i – Start typing (Insert**).
**Esc – Stop typing (Normal** mode).
**h/j/k/l – Move around (Left/Down/Up/Right**).
**u – Undo** a mistake.
**:wq – Save and quit (or `:q!`** to bail)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"functions": [],
"variables": {},
"resources": [
{
"name": "arm-vnet-nautilus",
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2023-11-01",
"location": "[resourceGroup().location]",
"tags": {
"displayName": "arm-vnet-nautilus",
"Environment": "KKE-nautilus"
},
"properties": {
"addressSpace": {
"addressPrefixes": [
"192.168.0.0/16"
]
}
}
}
],
"outputs": {}
}
3. Get Resource Group (as instructed)
Run:
az group list --query '[].name' --output table | grep -i nautilus
- Copy the correct resource group name from output.

4. Deploy the Template
Use this command:
az deployment group create \
--resource-group <RESOURCE_GROUP_NAME> \
--template-file <file path>
az deployment group create \
--resource-group kml_rg_main-fde760d07f3f4684 \
--template-file /root/arm-templates/vnet-deployment-template.json


5. Confirming the details are correct
az network vnet show \
--name arm-vnet-nautilus \
--resource-group kml_rg_main-fde760d07f3f4684 \
--query "{Name:name, AddressSpace:join(',', addressSpace.addressPrefixes), DisplayName:tags.displayName, Environment:tags.Environment}" \
--output table

메타데이터
- post_id
- bd285d2fcc8e
- slug
- day-20-deploy-azure-resources-using-arm-template-bd285d2fcc8e
- url
- https://medium.com/@rheamae.b.acc/day-20-deploy-azure-resources-using-arm-template-bd285d2fcc8e
- canonical_url
- https://medium.com/@rheamae.b.acc/day-20-deploy-azure-resources-using-arm-template-bd285d2fcc8e
- author_url
- https://medium.com/@rheamae.b.acc
- status
- ok
- fetched_at
- 2026-07-08 11:35:31