Common patterns
Deploy a virtual machine
An Azure infrastructure pattern, deployed with formae.
An Ubuntu virtual machine reachable over SSH, with its own networking. One forma
provisions the resource group, a virtual network and subnet, a network security
group that allows SSH, a static public IP, a network interface, and the virtual
machine itself.
Deploy. Export your SSH public key first, then apply the example forma.
formae orders the resources by their dependencies automatically, so the network
interface wires up the subnet, public IP, and security group before the machine
boots:
Verify. Once the command completes, the machine is under management:
Tear down. Remove everything the forma created:
The full forma is in the
virtual-machine example.

