Azure CLI Samples for Linux virtual machines

The following table includes links to bash scripts built using the Azure CLI.

Create virtual machines
Create a virtual machine Creates a Linux virtual machine with minimal configuration.
Create a fully configured virtual machine Creates a resource group, virtual machine, and all related resources.
Create highly available virtual machines Creates several virtual machines in a highly available and load balanced configuration.
Create a VM with Docker enabled Creates a virtual machine, configures this VM as a Docker host, and runs an NGINX container.
Create a VM and run configuration script Creates a virtual machine and uses the Azure Custom Script extension to install NGINX.
Create a VM with WordPress installed Creates a virtual machine and uses the Azure Custom Script extension to install WordPress.
Network virtual machines
Secure network traffic between virtual machines Creates two virtual machines, all related resources, and an internal and external network security groups (NSG).
Monitor virtual machines
Monitor a VM with Operations Management Suite Creates a virtual machine, installs the Operations Management Suite agent, and enrolls the VM in an OMS Workspace.
Troubleshoot virtual machines
Troubleshoot a VMs operating system disk Mounts the operating system disk from one VM as a data disk on a second VM.