Microsoft Azure – Enable Boot Diagnostics For a VM in Azure
Enabling Boot diagnostics helps to debug the azure virtual machine boot failures by collecting the logs and snapshots. Boot diagnostics is enabled by default when we create a VM. If not enabled when creating you can follow the below steps to enable the boot diagnostics for an azure virtual machine.
- Must have a provisioned Azure Virtual Machine to Perform this Operation.
Follow the below steps to enable Boost Diagnostics for a VM in Azure:
Step 1: Log in to Azure Portal.
Step 2: Go to Virtual Machine Resources and Select your Virtual Machine which you want to enable boot diagnostics.
Step 3: Once you open and select your virtual machine Search for “Boot Diagnostics”
Step 4: Click on “Boot Diagnostics” >> Click on “Settings”
Step 5: Choose “Enable with managed Storage account (recommended)” and Click “Save”
Note: Use this feature to troubleshoot boot failures for custom or platform images. Boot diagnostics can be used with a custom storage account or with a pre-provisioned storage account managed by Microsoft.
- If you want to enable with a custom Storage Account then Choose “Enable with custom Storage account”
- Choose Existing Storage account from drop down or you can create a new storage account by Clicking on Create new
- Once you complete the setup then click on “Save” to make the changes.