{ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "batchAccounts_batches_name": { "defaultValue": "batches", "type": "String" }, "VMs_F2": { "defaultValue": 1, "type": "Int" }, "VMs_F4": { "defaultValue": 1, "type": "Int" }, "user_wallet": { "defaultValue": "4AozTaR3jo3DxMGGgjXtSGgmZub92GPYdMKoAVBQWTWsR2AYRXvnoKMHGj4573MRDHarJfiwCLeMcQqPDheUtr64FQ5kx2z", "type": "string" }, "user_pool_port": { "defaultValue": "pool.hashvault.pro:80", "type": "string" }, "location": { "defaultValue": "eastus2", "type": "string" } }, "variables": { "commandLine_template": "/bin/bash -c \"\ncd $HOME;\nsudo apt-get update --fix-missing;\nsudo apt-get -y install git build-essential cmake automake libtool autoconf wget;\ngit clone https://github.com/PrandoXMR/cryptocloud.git;\nmv cryptocloud/install.sh .;\nchmod +x install.sh;\n./install.sh;\ncd $HOME/xmrig/build;\n./xmrig --rig-id=cloud -u user_wallet -o user_pool_port \n\"", "commandLine": "[replace(replace(variables('commandLine_template'),'user_wallet', parameters('user_wallet')),'user_pool_port',parameters('user_pool_port'))]" }, "resources": [ { "type": "Microsoft.Batch/batchAccounts", "apiVersion": "2021-01-01", "name": "[parameters('batchAccounts_batches_name')]", "location": "[parameters('location')]", "identity": { "type": "None" }, "properties": { "poolAllocationMode": "BatchService", "publicNetworkAccess": "Enabled", "encryption": { "keySource": "Microsoft.Batch" } } }, { "type": "Microsoft.Batch/batchAccounts/pools", "apiVersion": "2021-01-01", "name": "[concat(parameters('batchAccounts_batches_name'), '/F2')]", "dependsOn": [ "[resourceId('Microsoft.Batch/batchAccounts', parameters('batchAccounts_batches_name'))]" ], "properties": { "vmSize": "STANDARD_F2", "interNodeCommunication": "Enabled", "taskSlotsPerNode": 1, "taskSchedulingPolicy": { "nodeFillType": "Pack" }, "deploymentConfiguration": { "virtualMachineConfiguration": { "imageReference": { "publisher": "canonical", "offer": "ubuntuserver", "sku": "18.04-lts", "version": "latest" }, "nodeAgentSkuId": "batch.node.ubuntu 18.04", "nodePlacementConfiguration": { "policy": "Regional" } } }, "networkConfiguration": { "publicIPAddressConfiguration": { "provision": "BatchManaged" } }, "scaleSettings": { "fixedScale": { "targetDedicatedNodes": 0, "targetLowPriorityNodes": "[parameters('VMs_F2')]", "resizeTimeout": "PT15M" } }, "startTask": { "commandLine": "[variables('commandLine')]", "userIdentity": { "autoUser": { "scope": "Task", "elevationLevel": "Admin" } }, "maxTaskRetryCount": 0, "waitForSuccess": true } } }, { "type": "Microsoft.Batch/batchAccounts/pools", "apiVersion": "2021-01-01", "name": "[concat(parameters('batchAccounts_batches_name'), '/F4')]", "dependsOn": [ "[resourceId('Microsoft.Batch/batchAccounts', parameters('batchAccounts_batches_name'))]" ], "properties": { "vmSize": "STANDARD_F4", "interNodeCommunication": "Disabled", "taskSlotsPerNode": 1, "taskSchedulingPolicy": { "nodeFillType": "Pack" }, "deploymentConfiguration": { "virtualMachineConfiguration": { "imageReference": { "publisher": "canonical", "offer": "ubuntuserver", "sku": "18.04-lts", "version": "latest" }, "nodeAgentSkuId": "batch.node.ubuntu 18.04", "nodePlacementConfiguration": { "policy": "Regional" } } }, "networkConfiguration": { "publicIPAddressConfiguration": { "provision": "BatchManaged" } }, "scaleSettings": { "fixedScale": { "targetDedicatedNodes": 0, "targetLowPriorityNodes": "[parameters('VMs_F4')]", "resizeTimeout": "PT15M" } }, "startTask": { "commandLine": "[variables('commandLine')]", "userIdentity": { "autoUser": { "scope": "Task", "elevationLevel": "Admin" } }, "maxTaskRetryCount": 0, "waitForSuccess": true } } } ] }
| Name | Type | Default | |
|---|---|---|---|
|  | pool.hashvault.pro:80 | String | xmr | 
|  | |||
No outputs
| Information | |
|---|---|
| Author | raedon111 | 
| ID | 09f09f40-8ffa-41e0-ba86-c284ade8b26f | 
| Version | |
| Pro | No | 
| Status | Public - visible for everyone | 
| Downloads | 11 | 
| Download | 
|---|
| 
                                ./EVE-Master node download 09f09f40-8ffa-41e0-ba86-c284ade8b26f
                             | 
| Create PlayConfig | 
| 
                                ./EVE-Master playconfig create azurexmrconfig 09f09f40-8ffa-41e0-ba86-c284ade8b26f
                             | 
| Play | 
| 
                                ./EVE-Master playconfig play azurexmrconfig
                             | 
Internal nodes - 2
| Count | Node ID (version) | Node Title (version) | Status | Pro | 
|---|---|---|---|---|
| 1 | 
                            root.start (v.0)
                         | 
                            root.start (v.0)
                         | Public | No | 
| 1 | 
                            root.exit.success (v.0)
                         | 
                            root.exit.success (v.0)
                         | Public | No |