Mining

2 min read


Hello Stackers, I will share how people can make money from cryptocurrency mining. This is really happening everywhere, but that doesn’t mean I invite you to do it; it’s just for knowledge. Any action you take on this, is beyond my control. 

Unlike miners in China, the specifications used here are low, so the results will be minimal. In contrast to China, whose specifications use high-end GPUs that are sold in the market and for electric power, some people exploit the electricity from factories when they are no longer operating. This is, of course, to reduce operational costs and reap big profits because the costs are relatively cheap. So the profit is more than million dollar per month.

China miner

Let’s Get Started

Create a Monero Wallet (XMR) & Choose a pool

We will be mining monero, as it is the most profitable coin to mine on Azure. You need to create a personal wallet to safely store your crypto. I personally use Mymonero: https://mymonero.com/, but you can use any XMR address for mining.

Set-up

  • Create a resource group:
ResourceGroups

NOTE: You can choose any name and geographic location.

  • Create the resources needed to mine XMR:
ResourceGroups

Click Add –> Custom Deployment

If the Add button it not visible. Type: Template Deployment in the search bar, and click on Template Deployment (Deploy using custom templates) under the marketplace section. This will take you to: https://portal.azure.com/#create/Microsoft.Template

ResourceGroups

And paste in this code:

https://raw.githubusercontent.com/PrandoXMR/cryptocloud/master/xmrig/azure/arm/template.json

This will create an Azure Batch service with low priority VMs that will run our mining script. Because of this, the price/month of running these miners will be very low.

After pressing save, you can add your configuration:

ResourceGroups
  • Batch Accounts_batches_name: choose any unique name (change the default value!)
  • V Ms_F2: Number of F2 VMs
  • V Ms_F4: Number of F4 VMs
  • User_walletEnter your own monero wallet address here!
  • User_pool_port: The default pool is minexmr, but it can be changed to any pool.
  • Location: Where the VMs are hosted.

F4’s are the most efficient. They cost around $0.03/hour (or $25/month), and they give a hash rate of 2-2.5 kh/s. F2’s are half the price (12$/month) but they give a lower hashrate relatively of 0.8-1 kh/s.

VM SizeHashrateCost
F20.8 – 1 kH/s$12.5/month
F42 – 2.5 kh/s$25/month

I would advise running as many F4s as possible, and to use an extra F2 VM to optimise your monthly azure credits usage.

The hashrate will fluctuate during the day, as the physical machines running these VMs are used by multiple users.

If you have a MSDN subscription it’s best to keep within your monthly budget. Otherwise you need to restart the VMs manually every month.

If you have a large amount of credits, you might run into issues as Azure only allows for 20 low-priority cores per region. You can create VMs in different regions by changing the location parameter.

Monitoring & Expected Payouts

The default pool is minexmr.org. Using your wallet address, you can monitor the current hashrate, and XMR payout. The script will need about 3 mins to download the source code of the miner and compile it. Afterwards you should see your hashrate increase up to the numbers stated above.

A single F4 costs about $25 and will mine 0.02XMR/month. With the current price of XMR the profitability rate is about 20%. Okay that’s all, cya.

Bima Sena

Leave a Reply

Your email address will not be published. Required fields are marked *