How to setup virtual machine on Azure for running course lessons?

I have created the below post with necessary details.