DigitalPrice: Setting up a masternode using Windows r2012, part 1
This will be a guide on how to setup a masternode for DigitalPrice using the Windows r2012 version. The same principle should apply for any Windows version, but has only been tested for Windows r2012. It will be divided into 2 chapters:
- Part 1: Setup a windows r2012 server using Vurtl as the cloud provider.
- Part 2: Configure the software and run a masternode
- Deploy server: Deploy the windows server and do some configuration
- Windows tweaking: Make some adjustments to the Windows configurations
Start by creating an account on Vultr, use for example the following affiliate code https://www.vultr.com/?ref=7206930 :). Since we are renting a server, you will need to add some credit into the account. For the first time it has to be done with either PayPal or a credit card, after that bitcoin can be used.
Deploying the Windows server:
When the configuration window opens, the following steps need to be made:
- Server Location: Where the server should be located
- Server Type: Select Windows and the 2012 R2 x64 version
- Server Size: The smaller, the cheaper!
Rest of the options can be left blank. Press the “Deploy Now” button and wait for the server to boot up and install all the requirements.
Vurtl by default does not add any port forwarding to your server. Since we are running a masternode we need to open the appropriate ports to server incoming traffic. Press the firewall tab in the Servers section:
When in the Firewall section, press the “Add Firewall Group” button and name your new group something appropriate. Under the IPv4 rules we want to open the correct ports. It can look something like this:
After adding the firewall rule, go back to the Servers section and click on your deployed instance. Press Settings and the Firewall tab, select your newly named group and press “Update Firewall Group”.
We have now done all the necessary configurations, lets connect to the instance and start updating the Windows configuration.
Go back to the Overview tab, there you will find the password and username for the instance, along with the IP and other settings. Also using the noVNC webapp, we can directly connect to the instance without having to ssh or setup some graphical terminal. Press the View Console button:
When opening the View Console for the first time, there might be some startups scripts that will be running. After that, log into the instance using the username and password provided in the overview page for your instance.
Hint: It might sometimes be hard to type in the password since there is no copy-paste in noVNC. You can start a windows keyboard in the login window to type in the password.
My solution is to shutdown the whole firewall, obviously this is not the best solution from a security standpoint. Since there are so many guides on how to deactivate the firewall or allow for a certain application on a specific port (in our case port 9999) I am going to link them here:
For more security use this:
After disabling the firewall or opening the specific ports, you are all done for part 1!