Using my Azure Credits

I have a professional subscription to Visual Studio which gives me some ‘free’ monthly credits and mates rates so I wanted to make some use of them.

First I enabled the benefit in my Visual Studio Subscription which gives me about $50 a month credit.

Next I used the Azure Portal that was created for me to provision a new resource, in my case a Debian Distribution Linux Virtual Machine. The quickstart has some guidance on this.

I downloaded the private SSH key and stored it in the ~/.ssh/ folder with a meaningful name.

I then edited my Windows Terminal properties to add an SSH connection window

{
    "guid": "{BA45C25E-0B94-48d3-ACA8-F8BEBD8C7DD3}",
    "hidden": false,
    "name": "my azure vm",
    "commandline": "ssh -i ~/.ssh/myzurevm.pem username@192.178.254.1"
}

substituting your own guid and modifying the command line to use the path to your virtual machines PEM file with the appropriate username and IP address. You can get this from the connection tab on your virtual machines dashboard. You get this by clicking on the appropriate virtual machine in your own personal azure dashboard.

Published by badsoftwareday

A Software Engineer with more than 20 years experience

Leave a comment