Skip to main content

Deploy an Azure VM with Terraform

Hands-On Lab


Photo of

Training Architect





Deploying VMs is the primary target for almost all attempts at automation. Terraform provides a much more human-readable syntax than that of an ARM template and allows for the creation of any prerequisites you may want or need without having to jump around multiple portal screens.

In this lab, we will take what we've done in the previous labs and add in the creation of a NIC and a marketplace Ubuntu VM. Also, we will create a Boot Diagnostics storage account to support the use of the serial console, providing a quick way to test the VM's deployment.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.