Discover Azure Quickstart templates

Recall that your analysts' financial models are run on Azure virtual machines. To further automate your deployments, you want to move from Azure CLI commands and scripts to Resource Manager templates.

Before you begin, you may wonder what existing templates are available to learn from and build upon.

Here you'll explore what an Azure Quickstart template is and what prebuilt templates are available for you to use right now.

Tip

Prefer Windows or want to try something new? Select Windows from the top of this page to deploy a Windows Server virtual machine.

What are Azure Quickstart templates?

Azure Quickstart templates are Resource Manager templates that are provided by the Azure community. Quickstart templates are available on GitHub.

Many templates provide everything you need to deploy your solution. Others might serve as a starting point for your template. Either way, you can study these templates to learn how to best author and structure your own templates.

Let's say you want to find a Resource Manager template that brings up a basic VM configuration – one that includes a VM, basic network settings, and storage.

  1. Start by browsing to the Quickstart template gallery to see what's available.

    You see a number of popular and recently updated templates. These templates work with both Azure resources and popular software packages.

    A portion of the Azure Quickstart template gallery web page.

  2. Let's say you come across the Deploy a simple Ubuntu Linux VM template.

    The gallery page for an Ubuntu VM template

    The name sounds like exactly what you need. But let's take a closer look to see what this template accomplishes.

    The Deploy to Azure button enables you to deploy the template directly through the Azure portal. But you won't do that here. Rather, you'll use the Azure CLI to deploy the template from Cloud Shell.

  3. Click Browse on GitHub to navigate to the template's source code on GitHub.

    You see this.

    The GitHub README for the Resource Manager template.

    The Deploy to Azure button enables you to deploy the template directly through the Azure portal, just like you saw on the gallery page.

  4. Click Visualize to navigate to the Azure Resource Manager Visualizer.

    You see the resources that make up the deployment, including a VM, a storage account, and network resources.

    You can use your mouse to arrange the resources. You can also use your mouse's scroll wheel to zoom in an out.

    The Azure Resource Manager Visualizer showing Azure resources visually.

  5. Click on the Virtual Machine resource labeled MyUbuntuVM.

    You see the source code that defines the VM resource.

    The Azure Resource Manager Visualizer showing the template's source code.

    You'll have more time to inspect the source code in just a bit. But for now, take a moment to review it briefly.

    You see that:

    • The resource's type is Microsoft.Compute/virtualMachines.
    • It's location, or Azure region, comes from the template parameter named location.
    • The VM's size comes from the template variable vmSize.
    • The computer name is read from a template variable and the username and password for the VM are read from template parameters.

In practice, you might review the README.md file on GitHub and further inspect the source code to see whether this template suits your needs.

But for now, this template looks promising. In the next part, you'll go ahead and deploy this template.

Recall that your analysts' financial models are run on Azure virtual machines. To further automate your deployments, you want to move from Azure CLI commands and scripts to Resource Manager templates.

Before you begin, you may wonder what existing templates are available to learn from and build upon.

Here you'll explore what an Azure Quickstart template is and what prebuilt templates are available for you to use right now.

Tip

Prefer Linux or want to try something new? Select Linux from the top of this page to deploy a Linux virtual machine.

What are Azure Quickstart templates?

Azure Quickstart templates are Resource Manager templates that are provided by the Azure community. Quickstart templates are available on GitHub.

Many templates provide everything you need to deploy your solution. Others might serve as a starting point for your template. Either way, you can study these templates to learn how to best author and structure your own templates.

Let's say you want to find a Resource Manager template that brings up a basic VM configuration – one that includes a VM, basic network settings, and storage.

  1. Start by browsing to the Quickstart template gallery to see what's available.

    You see a number of popular and recently updated templates. These templates work with both Azure resources and popular software packages.

    A portion of the Azure Quickstart template gallery web page.

  2. Let's say you come across the Deploy a simple Windows VM template.

    The gallery page for a Windows VM template

    The name sounds like exactly what you need. But let's take a closer look to see what this template accomplishes.

    The Deploy to Azure button enables you to deploy the template directly through the Azure portal. But you won't do that here. Rather, you'll use the Azure CLI to deploy the template from Cloud Shell.

  3. Click Browse on GitHub to navigate to the template's source code on GitHub.

    You see this.

    The GitHub README for the Resource Manager template.

    The Deploy to Azure button enables you to deploy the template directly through the Azure portal, just like you saw on the gallery page.

  4. Click Visualize to navigate to the Azure Resource Manager Visualizer.

    You see the resources that make up the deployment, including a VM, a storage account, and network resources.

    You can use your mouse to arrange the resources. You can also use your mouse's scroll wheel to zoom in an out.

    The Azure Resource Manager Visualizer showing Azure resources visually.

  5. Click on the Virtual Machine resource labeled SimpleWinVM.

    You see the source code that defines the VM resource.

    The Azure Resource Manager Visualizer showing the template's source code.

    You'll have more time to inspect the source code in just a bit. But for now, take a moment to review it briefly.

    You see that:

    • The resource's type is Microsoft.Compute/virtualMachines.
    • It's location, or Azure region, comes from the template parameter named location.
    • The VM's size is Standard_A2.
    • The computer name is read from a template variable and the username and password for the VM are read from template parameters.

In practice, you might review the README.md file on GitHub and further inspect the source code to see whether this template suits your needs.

But for now, this template looks promising. In the next part, you'll go ahead and deploy this template.