• Home
  • Overengineering Azure VMs, from creation to connection

blog-thumb

Working with and developing on cloud-hosted VMs is fun, but the process can be a bit tedious. It involves generating SSH-keys, configuring the VM, starting it online or using the console, looking up its IP-address or FQDN, configuring a local SSH-client… I didn’t sign up for this, time to up the geek factor. I decided to script the entire process from creation to connection. As a bit of polish, I opted to store my private key in Azure Key Vault. The private key is only retrieved temporarily when connecting to the machine.

In this post, I’ll lay out the steps for each of the scripts, why I made certain decisions and things I learned in the process.

Read more…