One of the issues that has existed with Azure as a cloud service provider was the simple lack of any access to the console. While it is understood the need for that access is rare, it is a valuable diagnostic tool for when the state of your system falls on its face. Other cloud providers give access to the console not only for diagnostic processes, but also for operational use. But Azure has been left in the corner. That is until now!
Microsoft has enhanced Azure to allow for “boot diagnostics” which gives the tenant user the ability to see one of two things.
- If running linux, the serial output stream is collected and displayed.
- If running windows, the console screen is captured and displayed.
This is not a perfect offering, in that it is only “view” access to the consoles. It is, however, a great step forward from what we used to have access to.
So how does one actually start using this offering? It’s quite simple, but it does require a configuration change to any VM that you want to enable the functionality on.
- You can start by simply going into the Azure Preview Portal.
- After you sign in, navigate to a VM you want to enable functionality on.
- If you have not enable diagnostics on this VM, you will be required to do that. Navigate to “Diagnostics” and enable it, giving it a storage account, and selecting the diag options you want before clicking save.
- You can actually complete enabling the diagnostics and boot diagnostics in this one step. Just be sure you select “boot diagnostics”.
- If you have enabled diagnostics already o this VM, you can go into “Diagnostics” and tick “Boot Diagnostics” to enable that functionality. If you go into “Boot Diagnostics” without it enabled, it will allow you to enable it as well.
Pretty simple… Now reboot your VM and you should start to receive collected information in the “Boot Diagnostics” screen.