|
| 1 | +--- |
| 2 | +title: Create an Azure Blockchain Service member by using Azure Resource Manager template |
| 3 | +description: Learn how to create an Azure Blockchain Service member by using Azure Resource Manager template. |
| 4 | +services: azure-resource-manager |
| 5 | +author: PatAltimore |
| 6 | +ms.service: azure-resource-manager |
| 7 | +ms.topic: quickstart |
| 8 | +ms.custom: subject-armqs |
| 9 | +ms.author: patricka |
| 10 | +ms.date: 04/22/2020 |
| 11 | +--- |
| 12 | + |
| 13 | +# Create an Azure Blockchain Service member using an Azure Resource Manager template |
| 14 | + |
| 15 | +In this quickstart, you deploy a new blockchain member and consortium in Azure Blockchain Service using an Azure Resource Manager template. |
| 16 | + |
| 17 | +An Azure Blockchain Service member is a blockchain node in a private consortium blockchain network. When provisioning a member, you can create or join a consortium network. You need at least one member for a consortium network. The number of blockchain members needed by participants depends on your scenario. Consortium participants may have one or more blockchain members or they may share members with other participants. For more information on consortia, see [Azure Blockchain Service consortium](consortium.md). |
| 18 | + |
| 19 | +[!INCLUDE [About Azure Resource Manager](../../../includes/resource-manager-quickstart-introduction.md)] |
| 20 | + |
| 21 | +If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin. |
| 22 | + |
| 23 | +## Prerequisites |
| 24 | + |
| 25 | +None. |
| 26 | + |
| 27 | +## Review the template |
| 28 | + |
| 29 | +The template used in this quickstart is from [Azure Quickstart templates](https://github.com/Azure/azure-quickstart-templates/blob/master/201-blockchain-asaservice/). |
| 30 | + |
| 31 | +[!code-json[<Azure Resource Manager template create blockchain member>](~/quickstart-templates/201-blockchain-asaservice/azuredeploy.json)] |
| 32 | + |
| 33 | +Azure resources defined in the template: |
| 34 | + |
| 35 | +* [**Microsoft.Blockchain/blockchainMembers**](https://docs.microsoft.com/azure/templates/microsoft.blockchain/blockchainmembers) |
| 36 | + |
| 37 | +## Deploy the template |
| 38 | + |
| 39 | +1. Select the following link to sign in to Azure and open a template. |
| 40 | + |
| 41 | + [](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F201-blockchain-asaservice%2Fazuredeploy.json) |
| 42 | + |
| 43 | +1. Specify the settings for the Azure Blockchain Service member. |
| 44 | + |
| 45 | + Setting | Description |
| 46 | + --------|------------ |
| 47 | + Subscription | Select the Azure subscription that you want to use for your service. If you have multiple subscriptions, choose the subscription in which you get billed for the resource. |
| 48 | + Resource group | Create a new resource group name or choose an existing one from your subscription. |
| 49 | + Location | Choose a location to create the member. All members of the consortium must be in the same location. Available locations for the deployment are *westeurope, eastus, southeastasia, westeurope, northeurope, westus2*, and *japaneast*. |
| 50 | + Member name | Choose a unique name for the Azure Blockchain Service member. The blockchain member name can only contain lowercase letters and numbers. The first character must be a letter. The value must be between 2 and 20 characters long. |
| 51 | + Consortium name | Enter a unique name. For more information on consortia, see [Azure Blockchain Service consortium](consortium.md). |
| 52 | + Member password | The member account password is used to encrypt the private key for the Ethereum account that is created for your member. You use the member account and member account password for consortium management. |
| 53 | + Sku tier | The pricing tier for your new service. Choose between **Standard** and **Basic** tiers. Use the *Basic* tier for development, testing, and proof of concepts. Use the *Standard* tier for production grade deployments. You should also use the *Standard* tier if you are using Blockchain Data Manager or sending a high volume of private transactions. Changing the pricing tier between basic and standard after member creation is not supported. |
| 54 | + Sku name | The node configuration and cost for your new service. |
| 55 | + |
| 56 | +1. Select **Purchase** to deploy the template. |
| 57 | + |
| 58 | + The Azure portal is used here to deploy the template. You can also use the Azure PowerShell, Azure CLI, and REST API. To learn other deployment methods, see [Deploy templates](../../azure-resource-manager/templates/deploy-powershell.md). |
| 59 | + |
| 60 | +## Clean up resources |
| 61 | + |
| 62 | +You can use the blockchain member you created for the next quickstart or tutorial. When no longer needed, you can delete the resources by deleting the resource group you created for the quickstart. |
| 63 | + |
| 64 | +To delete the resource group: |
| 65 | + |
| 66 | +1. In the Azure portal, navigate to **Resource group** in the left navigation pane and select the resource group you want to delete. |
| 67 | +2. Select **Delete resource group**. Verify deletion by entering the resource group name and select **Delete**. |
| 68 | + |
| 69 | +## Next steps |
| 70 | + |
| 71 | +In this quickstart, you deployed an Azure Blockchain Service member and a new consortium. Try the next quickstart to use Azure Blockchain Development Kit for Ethereum to attach to an Azure Blockchain Service member. |
| 72 | + |
| 73 | +> [!div class="nextstepaction"] |
| 74 | +> [Use Visual Studio Code to connect to Azure Blockchain Service](connect-vscode.md) |
0 commit comments