title | description | author | ms.author | ms.date | ms.topic | ms.service |
---|---|---|---|---|---|---|
Create your Azure Maps account using an Azure Resource Manager template in Azure Maps |
Learn how to create an Azure Maps account using an Azure Resource Manager template. |
philmea |
philmea |
04/27/2021 |
how-to |
azure-maps |
You can create your Azure Maps account using an Azure Resource Manager (ARM) template. After you have an account, you can implement the APIs in your website or mobile application.
[!INCLUDE About Azure Resource Manager]
If your environment meets the prerequisites and you're familiar with using ARM templates, select the Deploy to Azure button. The template will open in the Azure portal.
To complete this article:
- If you don't have an Azure subscription, create a free account before you begin.
The template used in this quickstart is from Azure Quickstart Templates.
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.maps/maps-create/azuredeploy.json":::
The Azure Maps account resource is defined in this template:
- Microsoft.Maps/accounts: create an Azure Maps account.
-
Select the following image to sign in to Azure and open a template. The template creates an Azure Maps account.
-
Select or enter the following values.
Unless it's specified, use the default value to create your Azure Maps account.
- Subscription: select an Azure subscription.
- Resource group: select Create new, enter a unique name for the resource group, and then click OK.
- Location: select a location. For example, West US 2.
- Account Name: enter a name for your Azure Maps account, which must be globally unique.
- Pricing Tier: select the appropriate pricing tier, the default value for the template is S0.
-
Select Review + create.
-
Confirm your settings on the review page and click Create. After your Azure Maps has been deployed successfully, you get a notification:
The Azure portal is used to deploy your template. You can also use the Azure PowerShell, Azure CLI, and REST API. To learn other deployment methods, see Deploy templates.
You can use the Azure portal to check your Azure Maps account and view your keys. You can also use the following Azure CLI script to list your account keys.
az maps account keys list --name MyMapsAccount --resource-group MyResourceGroup
When no longer needed, delete the resource group, which also deletes the Azure Maps account. To delete the resource group by using Azure CLI:
az group delete --name MyResourceGroup
To learn more about Azure Maps and Azure Resource Manager, continue on to the articles below.
- Create an Azure Maps demo application
- Learn more about ARM templates