Migrated here https://github.com/arrogantrabbit/ai-storj-node-web-monitor/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by Google Gemini 2.5 Pro | |
import time | |
import json | |
import argparse | |
import curses | |
from collections import deque | |
import os | |
import math | |
import sys | |
import traceback |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/zsh | |
set -e | |
## -- configuration -- ## | |
# Specify the dataset name that needs to be rebalanced and provide stop_services and | |
# start_services functions | |
dataset="pool1/storagenode-one" |
This is a short description of how to host services, using STORJ node as an example, on a host behind GNAT, or otherwise restrictive firewall, by forwarding packets through WireGuard endpoint on a relatively fast nearby VPS. This is not specific to Storj, and can be adopted to hosting other services.
As an example we will use an Oracle Cloud instance. Free tier still provides 10TB of monthly traffic that is sufficient for most node operators. Just make sure to create an account in a closest datacenter to minimize extra latency.
- Create the oracle compute instance (ideally, Ampere, because they are awesome, but if that is not availabe, any other will do too).
- Pick any OS you prefer, here we'll describe Ubuntu, as a most popular one.