Managing Compute Resources
Let's sum up the components covered in this chapter that you need as a requirement, before you can deploy a VM. In the case of the storage account, it's not a real requirement, but do you want to work without being able to receive boot diagnostics in times of trouble? As mentioned earlier, a boot diagnostics account is very useful if your VMs go into a non-bootable state. The logs stored in this account can be used to find the root cause of the non-booting state of the VM. For testing, this is not a mandatory option, but for production workloads, it is recommended to enable boot diagnostics, which will help you understand what went wrong during a failure.
Note
Every resource mentioned here is also used by Azure Container Service and Azure Kubernetes Service.
If you remember, in the Technical requirements section, we looked at PowerShell code to create a new VM, where most of the variables were not defined. Here is the code again:
 ...