This tutorial walks you through building the solution from the Azure portal. If you are interested in creating this solution from a template, choose the appropriate template from Microsoft Azure GitHub templates. The Create an availability group with SQL Server 2014 replica virtual machines template creates the same solution as this tutorial.