Blockchain - Ethereum Private Consortium Network

게시자: cavanes
마지막 업데이트: 2016-09-20

This template fully automates the provisioning of necessary Azure resources like VMs, storage, network settings etc. as well as the configuration of Go Ethereum (geth) and accounts. It also stands up an administration website to monitor the nodes in the network and provide ether to new accounts. To deploy on Azure Government, go to the Azure quick start repository via the Browse on GitHub button.

이 ARM(Azure Resource Manager) 템플릿은 Microsoft가 아니라 커뮤니티 구성원에 의해 만들어졌습니다. 각 ARM 템플릿은 Microsoft가 아닌 해당 소유자에 의해 사용이 허가됩니다. Microsoft는 커뮤니티 구성원에 의해 제공 및 라이선스가 부여된 ARM에 대해 책임이 없으며, 보안, 호환성 또는 성능을 검사하지 않습니다. 커뮤니티 ARM 템플릿은 Microsoft 지원 프로그램 또는 서비스에서 지원되지 않고, 어떠한 보증도 없이 있는 그래도 제공됩니다.

매개 변수

매개 변수 이름 설명
namePrefix String used as a base for naming resources (6 alphanumeric characters or less). A unique hash is prepended to the string for some resources, while resource-specific information is appended.
adminUsername Administrator username of each deployed VM (alphanumeric characters only)
adminPassword Administrator password for each deployed VM
ethereumAccountPsswd Password used to secure the default Ethereum account that will be generated
ethereumAccountPassphrase Password used to generate the private key associated with the default Ethereum account that is generated. Consider a password with sufficient randomness to ensure a strong private key
ethereumNetworkID Private Ethereum network ID to which to connect (max 9 digit number)
numConsortiumMembers Number of members within the network. Each member's nodes live in their own subnet.
numMiningNodesPerMember Number of mining nodes to create for each consortium member.
mnNodeVMSize Size of the virtual machine used for mining nodes
numTXNodes Number of load balanced transaction nodes
txNodeVMSize Size of the virtual machine for transaction nodes

템플릿 사용

PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/ethereum-consortium-blockchain-network/azuredeploy.json
Azure PowerShell 설치 및 구성
명령줄
azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/ethereum-consortium-blockchain-network/azuredeploy.json
Azure 크로스 플랫폼 명령줄 인터페이스 설치 및 구성