Azure IaaS ARM Template – Enable Boot Diagnostics per Default

One great thing Microsoft had introduced last year to the Azure platform was the boot diagnostics capability. Looking at an ARM template you can add the following lines to the VM definition to activate the boot diagnostics for your VM per default.

"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": "true",
"storageUri": "[concat('http://',parameters('newStorageAccountName'),'.', parameters('blobStorageEndpoint'))]"
}
}

Have a look at the following screenshots which parameters I am using and where to place the diagnosticsProfile section in the VM definition.

BootARM00BootARM01

After a successful deployment you should see the boot diagnostics information in the Azure Portal.

BootARM02

Facebooktwittergoogle_pluslinkedinmail

Leave a Reply