As we all know that, the SafuuX nodes will be out for us to be purchased on 5th September. Here is a quick guide on how to deploy your nodes in a very simple way. This guide can be followed, even if you don’t have enough technical knowledge.

Cloud VM providers such as Microsoft Azure, Google Cloud, AWS, Digital Ocean etc. can be used to host your SafuuX node. But here we are going to use Microsoft Azure as our cloud VM provider, as it is much simpler to deploy your VM here comparatively.

VM (Virtual Machine) is a computer that is run on cloud servers, provided by Microsoft Azure, Google Cloud, AWS etc.

Recommended Hardware To Run Your SafuuX Nodes.

  1. Running SafuuX software in VPS with recent version of Mac OS X or Linux
  2. 8GB RAM
  3. 500GB SSD storage
  4. Broadband connection with U/D speed more than 8Gbps (1000 MBPS)

The Linux VM we are going to setup here fulfills all the recommended hardware configuration mentioned above and it will cost you around 70$ – 90$ per month as per current pricing.

Frequently Asked Questions About the Nodes.

Can I run 5 Lite Nodes on a single VM ?

Yes, technically you can run multiple instances of Litenodes on a single VM. But it all depends on the SafuuX Node software’s compatibility with it. We will get a clear picture on this, once the software is released.

Can I run a Full Node along with Lite Nodes on it ?

Here, again it is technically possible to do it on a Single VM. If the SafuuX Node software allows us to run multiple instances of Nodes.

Isn’t it too much expensive to run a cloud VM just for a single Lite Node ?

No, you are getting 200$ worth of free credits on Microsoft Azure to deploy your VM. This is more than enough to run your VM for atleast a month to begin with and the Lite Nodes will not be required to have the beefy hardware as the Full Node. So the estimated cost to run a VM as per Lite Node recommended hardware should not exceed 30$ – 40$ per month as per current pricing. Your Nodes will be potentially making much more money than the VM’s monthly charges. Alternatively you can also use your spare PC/Laptop to run the Lite Node. If it is satisfying the Recommended hardware requirements.

So, now lets dive deep into setting up your SafuuX Nodes.

Getting Started With Microsoft Azure.

Firstly you have to setup your Azure account, Microsoft gives you 200$ in free credits that you can use to setup your VM. Click on the link below to sign up for an Azure account.
https://azure.microsoft.com/en-us/free/

You will get a login screen as shown in the image. You can sign in if you already have an account or click on create one to make a new account.

Follow the steps mentioned below to create an account. (Skip this step if you already have a account and proceed to sign in to your account)

Step 1 : Enter your E-mail ID

Step 2 : Create your password

You will get a 4 digit verification code on your E-mail ID, after this step.

Step 3 : Type or paste your verification code in the text box and press next. 

Step 4 : Complete the captcha verification to proceed.

Once all the 4 steps are completed you will have to enter your personal details to create your profile as shown in the image.

Note : In the organization field you can type “SafuuX”

After you fill in all the required information and click on next. You will have to fill in your Credit / Debit Card details and verify it, to complete the signup process. At the end you should get this screen as shown in the image below.

Once all your information is verified by Microsoft you will be redirected to the home page of Azure as shown below.

Now click on the Go to the Azure Portal button to proceed. Now you should be logged in automatically to the Microsoft azure portal as shown below.

Deploying Your Virtual Machine

Now at this stage half of your work is done. I have created a VM template that will be deployed automatically and will have all the parameters prefilled. Click on the link below to get started.

https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fabhi190899%2FSafuuX%2Fmain%2FSafuuXLinux.json

If everything is followed properly you will be redirected to the VM Deployment screen as shown below.

Most of the details required are prefilled, but a couple of details have to be filled out by yourself. You can follow the steps mentioned below to proceed further.

Step 1 : Create a new resource group and name it as “SafuuXNode”

Step 2 : Select the region closest to your physical location

Step 3 : Type the username that you want to use (eg. SafuuXNode)

Step 4 : Type the Admin Password that you want to use to login to your VM.

Step 5 : Once all the details are filled, you have to click on Review+Create. You should get the screen as shown below, with the validation passed text.

Step 6 : Click on Create and your VM deployment should begin as shown below.

Step 7 : Once the deployment is finished, click on the top left hamburger menu icon and select Virtual Machines as shown below.

Step 8 : Your VM will be shown on the screen, select your VM as shown below.

Step 9 : Once you select your VM, the configuration settings will be displayed, where you have to click on the connect button as shown below.

Step 10 : Select Bastian from the dropdown menu. You will be redirected to the Bastian configuration screen as shown below.

Step 11 : You will get a pop up to enter the VM username and password as shown below. Enter the username and password that you had entered while creating the VM in Step 3 and Step 4.

Setting up RDP Connection

Step 12 : Now you are successfully logged in to your Linux VM. Now we will set up an RDP (Remote Desktop Connection) Server, inside your VM.

Once the RDP server is configured, you can access your VM from your PC/Laptop at any time. Without logging into your Azure account again and again. 

Paste this code and press Enter key inside the terminal. (Use ctrl+shift+v to paste the code after copying it, inside your VM terminal)

sudo apt-get update

sudo DEBIAN_FRONTEND=noninteractive apt-get -y install xfce4

sudo apt install xfce4-session

It should take about 5 minutes to execute the code and you should get the screen as shown below.

Step 13 : Now type the second set of codes as mentioned below.

sudo apt-get -y install xrdp

sudo systemctl enable xrdp

You should get the screen as shown below after executing these codes

Step 14 : Now type these codes and execute them one by one as shown below.

sudo adduser xrdp ssl-cert

echo xfce4-session >~/.xsession

sudo service xrdp restart

Step 15 : Go to Virtual Machines Tab, by clicking on the left top hamburger menu icon.

Step 16 : Select your SafuuX VM and go to the networking section as shown below. Then Click on Add Inbound Rule.

Step 17 : Now you will get a pop up to enter the details as shown below. 

  1. Select Source as Any
  2. Put  * in source port ranges
  3. Select Service as Custom
  4. Put 3389 as the destination port range
  5. Select protocol as Any
  6. Select action as Allow
  7. Put 900 in priority
  8. Last put the name as open-port-3389 

Now click on save.

Step 18 : Once this is done, go to Overview tab and click on Connect button, from the Drop down select and RDP.

RDP configuration screen will pop up, here you have to download the RDP file.

Now open the downloaded RDP file. You may get a certificate warning, just tick on the Don’t ask me again for connections to this computer and click yes.

Step 19 : Now your RDP connection is successfully set and you should get a login screen as shown below. Enter your username and password that you had set up in Step 3 and Step 4 while deploying the VM.

Now you should be logged in to your VM Successfully. If you face any issues while logging in from your RDP connection, restarting your VM from the azure dashboard will fix this issue.

You can login anytime by opening the RDP file that you have downloaded on your PC/Laptop.

Step 20 : Now you have to delete Bastion Deployment as it is a premium service and will cost you extra. To delete the bastion deployment go to the Deployments option under your VM settings, select the bastion deployment and click delete and type yes to confirm, as shown in the image below.

Well, now you have successfully deployed your SafuuX Node VM with the recommended configuration. SafuuX node software can be installed on this machine once the SafuuX team releases it. 

I’ll be updating the blog once the software is released.

Click on a star to rate this post

Average rating 5 / 5. Vote count: 109

No votes so far! Be the first to rate this SAFUU post.

By Abhishek

I'm a Crypto and Blockchain Enthusiast, I have been into Blockchain technology from more than 5 years. Apart from writing technical blogs, I'm also a full stack web developer and founder of a Web development firm Techyzer. You can have a look at it here www.techyzer.com

tik-tokdiscord_logo