In this example, we are essentially specifying the deployment architecture of our infrastucture in code. Because the templates are highly readable (you just need to understand the ARM template structure), it is self-documenting. Therefore, you have executable documentation, this in turn, enables the ability to repeatedly, consistently deploy your infrastructure. Now you can provision environments as needed, bring them down as needed, all in an automated manner!
This example deploys an HA (using availability sets), Linux VM cluster within a virtual network/subnet that is secured through NSG (network security group) rules. In a future session, we will use custom script extensions to install Ansible on all the VMs and deploy a containerized node.js application using docker compose and docker swarm.
- Install Azure CLI. The instructions for your OS is here.
- Have a valid Azure Account. Go to the MS Azure site and follow the instructions.
- See the rest of the instructions in arm/README