Skip to content

Install RskJ Using Azure

herrerameri edited this page Jan 16, 2018 · 8 revisions

Following the instructions below you will install and run the RSK node and it will work connected to RSK MaiNnet (by default).

Then you can switch to TestNet or RegTest.

Install the node using Azure

These are the steps to run the node: On Azure, create a resource. Search for RSK, choose the node's type/version and click Create.

RSK-Azure

You will see 4 steps:

  1. Basics: complete this step with your information. Choose a name for the node, user name, password, subscription and resource group.

Step1

  1. Size: select your VM options. Don't forget our recommended minimum requirements.

Step2

  1. Settings: configure optional features.

  2. Summary: review the summary of what you have set and press Create.

Wait for Azure to finish the deployment of the node and that's all!

Switch from MainNet to TestNet or RegTest Mode

If you want to switch your node from MainNet to TestNet mode, you should connect a bash to the node and run:

  • For TestNet:
sudo service rsk stop
cd /etc/rsk
sudo rm -f node.conf
sudo ln -s testnet.conf node.conf
sudo service rsk start
  • For RegTest:
sudo service rsk stop
cd /etc/rsk
sudo rm -f node.conf
sudo ln -s regtest.conf node.conf
sudo service rsk start

Also, if you want to return to MainNet mode:

  • For MainNet
sudo service rsk stop
cd /etc/rsk
sudo rm -f node.conf
sudo ln -s mainnet.conf node.conf
sudo service rsk start

Any problems?

We hope our Troubleshooting section can help you!

Clone this wiki locally