Azure CLI v2 Setup a new linux VM in azure using the new Azure CLI (AZ) Create a new Resource Group $ az resource group create -l westus -n MyGroup Create a new VM in the new RG $ az vm create -g MyGroup -n MyVM --image ubuntults Connect to the new VM $ az ssh <Machine IP> From : https://github.com/azure/azure-cli