Deploying compute workloads in Azure by using images and containers Part 1 – Create a VM using Azure CLI

In Lab 05 here we will deploy Docker containers into Azure Container Registry.

Connect to Azure and create a resource group and the VM.

az group create --location westeurope -n 05lab-rg
az vm create --name quickvm -g 05lab-rg --image Debian --admin-username xyz --admin-password xyz

Now check the ipadress and note it.

az vm list-ip-addresses

Now let’s connect using SSH.

ssh student@ip-adress

There you go! You just connected to your very own debian vm in Azure!

In the next post we’ll create a docker container.