Automate the installation and configuration of software in your Virtual Machines

Solution Architect
Azure Virtual Machines
Azure CLIs

Learn how to use the cross-platform Azure CLI to create a virtual machine in Azure, and use a custom script to install and configure a web server. Automate the installation of PHP and the creation of a dynamic home page, then use a web browser to test your installation.

Learning objectives

In this module, you'll learn how to:

  • Automate the creation of a Windows or Linux virtual machine
  • Automate the installation and configuration of web server software on your virtual machine
  • Connect to your virtual machine using a web browser to verify your installation


  • Basic understanding of Azure Virtual Machines
  • Experience using command-line tools to automate tasks