Folding@Home against COVID-19

Deploy an Azure VM to help Folding@Home

This is an Azure VM template which deploys a GPU-enabled VM of your choice to help the Folding@Homeopen in new window project find ways to combat COVID-19. It is expected that the default VM (Standard_NC6_Promo) will cost about $350 per month to run (depending on your choice of region etc) which means that on the stock Azure trial benefit you should be able to get about 2 weeks of runtime before running out of free credits.

TIP

You can view the Azure template hereopen in new window.

Instructions

To deploy this template, you'll need to first create a Resource Group and then deploy this template to it. You'll find instructions for how to do so over here:

TIP

Once your VM has been deployed, it will install the F@H client and start folding. You can monitor its progress by running ssh folding@<your VM's IP> tail -f /var/lib/fahclient/log.txt.

Parameters

Name (default: covid19folding)

This is the name of the virtual machine which will be deployed. Feel free to customize this if you want to.

Location (default: [resourceGroup().location])

This is the location in which the virtual machine will be deployed. Some locations are cheaper than others, so feel free to change this if it makes sense for you. By default, it will use the location that your resource group is created in.

Sku (default: Standard_NC6_Promo)

The type of virtual machine which will be provisioned. The Standard_NC6_Promo SKU includes an NVIDIA Tesla K80 accelerator card which will greatly speed up your contributions to the F@H project. Other options may have more modern, or a greater number, of accelerator cards. You can find out more hereopen in new window.

Fah_team (default: 240722)

The Folding@Home team you wish to contribute towards. By default this is the Azure SRE team (since we're using this template on our personal subscriptions to help out) but feel free to change this to your own if you prefer.

Ssh_key

This should be your SSH public key and is used to allow you to SSH into your machine to check on its status at any time. You can get it by running cat ~/.ssh/id_rsa.pub on your machine, or using ssh-keygen to create a key-pair if you haven't already.

IMPORTANT if you want to SSH into your instance, you can do so with the username folding.

Credits

Thank you to @lupino3open in new window and @nickstenningopen in new window for their contributions to building this template.