- Aleo Node Setup With Monitoring
- Recommended Hardware for validator
- Port required
- Prerequisites
- System Depedencies
- Go
- Install Rust
- Build the binaries
- Create an Account
- Setup Variables
- Create Service
- Monitoring
- Grafana
- More Blog Posts
- Subscribe to newsletter
Aleo Node Setup With Monitoring
This guide will help you setup your node, whether you want to run it as prover, client or validator.
This guide is based on open source information available and no private testnet information is being shared
Recommended Hardware for validator
CPU | 32 cores |
Memory | 128GB |
Disk | 2TB NVMe |
Network | 10 G |
OS | Ubuntu 22.04 LTS |
Port required
Port | Protocol | Purpose | Notes |
5000 | TCP | Validator communications | Required |
4133 | TCP | SnarkOS peers | Required |
3033 | TCP | SnarkOS REST API | Optional. Open to allow external access to the REST API, if enabled. |
9000 | TCP | Metrics |
Prerequisites
System Depedencies
sudo apt update
sudo apt dist-upgrade -y
sudo apt install \
build-essential \
curl \
clang \
gcc \
libssl-dev \
llvm \
make \
pkg-config \
tmux \
xz-utilsGo
cd $HOME
GO_VERSION=$(curl -s https://go.dev/dl/?mode=json | jq -r '.[0].version')
echo $GO_VERSIONInstall Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source ${HOME}/.cargo/env
cargo --version
rustc --versionBuild the binaries
git clone https://github.com/AleoHQ/snarkOS.git
cd $HOME/snarkOS
cargo build --release
cp $HOME/snarkOS/target/release/snarkos /usr/bin/Create an Account
snarkos account newSetup Variables
MODE=client # validator, prover
BINARY_NAME=snarkosCreate Service
Monitoring
There is a really good exporter written by DSRV labs to monitor a Aleo node:
git clone https://github.com/dsrvlabs/aleo_exporter.git
cd aleo_exporter
go mod tidy
go build ./cmd/aleo_exporter
sudo mv aleo_exporter /usr/bin/Grafana
Now you can plot charts and monitor your node
More Blog Posts
How Aleo executes Decentralized Private Computation

How Aleo executes Decentralized Private Computation
Informative
Delegating zk-SNARKs Proofs with Privacy for Performance

Delegating zk-SNARKs Proofs with Privacy for Performance
Informative








