There could be a time when your VM doesn't boot up and you don't know the reason. So Azure provides a Boot Diagnostic feature for VM, which can be used to learn about the problems during boot.

What is Boot Diagnostic?

Boot Diagnostic is a debugging feature provided by Azure for VMs which captures the screenshot and console outputs, which can be later used to inspect the problems. Let's say there is a problem with your VM and your VM doesn't boots up or it enters to non-bootable state. Boot Diagnostic screenshots and logs can be used to inspect the problems regarding the boot of your VM.

Benefits of Boot Diagnostics.

How to enable Boot Diagnostic on a new VM?

How to access Boot Diagnostic?

Boot Diagnostic and Serial Console for Azure VM

What is Serial Console for Azure VM?

The serial console is a way to interact with your using the command line, You can execute commands on your virtual machine using the serial console.

How to access Serial Console?

Please note that in order to access the serial console Boot Diagnostic must be enabled.

Boot Diagnostic and Serial Console for Azure VM

Thanks for reading. Stay safe.