Skip to main content

Crypto Coin Mining using Microsoft Azure #cloudmining

Category: IT-Stuff

I've recently registered a Microsoft Azure account and received a balance of 170€ (~ 200 USD) for testing purposes. The test credits of the Microsoft Azure test account are limited are limited to one month. Means: If you do not know how to spend those, you may could use them for crypto coin mining.

1. Choosing a crypto currency
I've been searching for a currency you can efficiently mine by using CPU power. Monero may is an option, but this currency is already hard to mine. By using the test credits for mining you will may get about 0.15 XMR (worth about 30 USD). 30 USD for free are quite ok but no big deal.

So - I've made a different decision and have chosen to mine Intense Coins (worth $0,009957 each) instead. Within 3 days I was able to collect an amount of about 1000 ITSN (~10 USD). If they may become as valuable as Monero is today (200 USD) this could be an awesome deal.

ITSN Mining

2. Choosing a mining pool
The mining pool of my choice is Hashvault

3. Setup mining

First you need to get the official wallet for getting an address.

Setting up a miner is quite simple. Start by downloading xmrig and edit the config.json:

    "algo": "cryptonight",  // cryptonight (default) or cryptonight-lite
    "av": 0,                // algorithm variation, 0 auto select
    "background": false,    // true to run the miner in the background
    "colors": true,         // false to disable colored output
    "cpu-affinity": null,   // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1
    "cpu-priority": null,   // set process priority (0 idle, 2 normal to 5 highest)
    "donate-level": 1,      // donate level, mininum 1%
    "log-file": null,       // log all output to a file, example: "c:/some/path/xmrig.log"
    "max-cpu-usage": 100,    // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.
    "print-time": 60,       // print hashrate report every N seconds
    "retries": 5,           // number of times to retry before switch to backup server
    "retry-pause": 5,       // time to pause between retries
    "safe": false,          // true to safe adjust threads and av settings for current CPU
    "syslog": false,        // use system log for output messages
    "threads": null,        // number of miner threads
    "pools": [
            "url": "",   // URL of mining server
            "user": "your intense coin address",   // username for mining server
            "pass": "worker_id",                       // password for mining server
            "keepalive": true,                 // send keepalived for prevent timeout (need pool support)
            "nicehash": false                  // enable nicehash/xmrig-proxy support
    "api": {
        "port": 0,                             // port for the miner API
        "access-token": null,                  // access token for API
        "worker-id": null                      // custom worker-id for API

Now create a virtual machine using the "Ubuntu 16.04" image in Microsoft Azure. I suggest to select a preset providing 4 Cores. All you need to do now is to copy your configuration to this machine and start the mining software.

//copy your configuration to the machine
scp ~/xmrig/* user@ip_of_your_vm:/home/user/

//connect to the machine
ssh user@ip_of_your_vm

//start miner and exit terminal with Ctrl+D afterwards
nohup ./xmrig &

//start miner with a different config file
nohup ./xmrig -c config_itns.json &

The same way you can setup several machines quick and easy. But there is one kinda annoying limitation: You can only request 10 Cores in each region. By setting up different VMs in different areas this won't be a problem at all.