Azure

1. Create an Azure Account

Go to [http://portal.azure.com] and sign up. You can use your Github credentials or create a new account.
Use [http://portal.azure.com] to sign in. This is the hub where you can manage all your services, so it's a good idea to take a moment to familiarize yourself with the layout before proceeding.

2. Create a subscription

To run services in Azure, you must have a subscription. When you sign up for a new account, you get 12 months of free usage for certain services and $200 worth of credits for 30 days.

3. Create the node

If you are running this on Windows you will first need to install Windows Subsystem for Linux. You can use this guide.
Download the node install script like so:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/scripts/one-click-Azure.sh)"
Copied!
You should get a Azure login window in your browser after running the script. Login to proceed.
The script will run for a while. When the script tells you to make a note of your nodes IP address, do so. The script will create SSH credentials for you to access your node.
Login via ssh
1
ssh <your-node-ip-address>
Copied!

4. Check your node

1
sudo docker ps
Copied!

5. Further tweaks

The node is running under root account. You might want to change that for easier access and security reasons. To do so, first, set the root password.
1
sudo passwd root
Copied!
Now you can change into root. Make note of your current user before with whoami.
1
whoami
2
su
Copied!
If you want to continue as is, all good. Save your root password and your done. If you'd rather move your node under your account, read on.
Change into root home and move your node to your personal home
1
cd /root
2
cd ./taraxa-ops/taraxa_compose
3
docker-compose down
4
cd /root
5
mv -R taraxa-ops /home/<your-user-account>
6
exit
Copied!
Once back in your user account, start the node
1
cd ~/taraxa-ops/taraxa_compose
2
sudo docker-compose up -d
Copied!
You should be good to go!
Last modified 3mo ago