Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Learn how to use the Azure portal with Azure Resource Manager templates (ARM templates) to deploy your Azure resources. To learn about managing your resources, see Manage Azure resources by using the Azure portal.
Deploying Azure resources by using the Azure portal usually involves two steps:
Also, you can create a customized ARM template to deploy Azure resources.
This article shows both methods.
To create a new resource group, select Resource groups from the Azure portal.
Under Resource groups, select Add.
Select or enter the following property values:
Select Review + create.
Review the values, and then select Create.
Select Refresh before you can see the new resource group in the list.
After you create a resource group, you can deploy resources to the group from the Marketplace. The Marketplace provides pre-defined solutions for common scenarios.
To start a deployment, select Create a resource from the Azure portal.
Find the type of resource you would like to deploy. The resources are organized in categories. If you don't see the particular solution you would like to deploy, you can search the Marketplace for it. The following screenshot shows that Ubuntu Server is selected.
Depending on the type of selected resource, you have a collection of relevant properties to set before deployment. For all types, you must select a destination resource group. The following image shows how to create a Linux virtual machine and deploy it to the resource group you created.
You can decide to create a resource group when deploying your resources. Select Create new and give the resource group a name.
Your deployment begins. The deployment could take several minutes. Some resources take longer time than other resources. When the deployment has finished, you see a notification. Select Go to resource to open
After deploying your resources, you can add more resources to the resource group by selecting Add.
Although you didn't see it, the portal used an ARM template to deploy the resources you selected. You can find the template from the deployment history. For more information, see Export template after deployment.
If you want to execute a deployment but not use any of the templates in the Marketplace, you can create a customized template that defines the infrastructure for your solution. To learn about creating templates, see Understand the structure and syntax of ARM templates.
Note
The portal interface doesn't support referencing a secret from a Key Vault. Instead, use PowerShell or Azure CLI to deploy your template locally or from an external URI.
To deploy a customized template through the portal, select Create a resource, search for template. and then select Template deployment.
Select Create.
You see several options for creating a template:
This tutorial provides the instruction for loading a quickstart template.
Under Load a GitHub quickstart template, type or select storage-account-create.
You have two options:
Select Edit template to explore the portal template editor. The template is loaded in the editor. Notice there are two parameters: storageAccountType
and location
.
Make a minor change to the template. For example, update the storageAccountName
variable to:
"storageAccountName": "[format('azstore{0}', uniquestring(resourceGroup().id))]"
Select Save. Now you see the portal template deployment interface. Notice the two parameters that you defined in the template.
Enter or select the property values:
Select Purchase.
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayTraining
Module
Deploy Azure infrastructure by using JSON ARM templates - Training
Write JSON Azure Resource Manager templates by using Visual Studio Code to deploy your infrastructure to Azure consistently and reliably.
Certification
Microsoft Certified: Azure Developer Associate - Certifications
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.