Servers That Meet Anza's CPU and Memory Figures
| Server | Base / boost | Cores | Memory | Storage | Price |
|---|---|---|---|---|---|
| AMD Dual EPYC 7443 | 2.85 / 4 GHz | 48 cores, 96 threads | 256 GB (validator; RPC wants 512 GB) | 2x 480GB SSD + 2x 3.2TB NVMe | $519.00/mo |
| AMD EPYC 9275F | 4.1 / 4.8 GHz | 24 cores, 48 threads | 512 GB | 4x 3.84TB NVMe Gen4 | $929.00/mo |
| AMD EPYC 7443P | 2.85 / 4 GHz | 24 cores, 48 threads | 512 GB | 2x 2TB NVMe | $969.00/mo |
| AMD EPYC 9455P | 3.15 / 4.4 GHz | 48 cores, 96 threads | 512 GB | 2x 3.2TB NVMe | $999.00/mo |
| AMD Dual EPYC 7443 | 2.85 / 4 GHz | 48 cores, 96 threads | 1 TB | 256GB SSD + 2x 7.68TB NVMe | $1,189.00/mo |
| AMD EPYC 9275F | 4.1 / 4.8 GHz | 24 cores, 48 threads | 768 GB | 2x 3.84TB NVMe Gen5 | $1,189.00/mo |
| AMD EPYC 9254 | 2.9 / 4.15 GHz | 24 cores, 48 threads | 768 GB | 500GB SSD + 2x 3.84TB NVMe Gen5 | $1,189.00/mo |
| AMD Ryzen Threadripper 9960X | 4.2 / 5.4 GHz | 24 cores, 48 threads | 512 GB | 1.92TB NVMe + 2x 7.68TB NVMe Gen4 | $1,269.00/mo |
Anza asks for separate NVMe drives: 1 TB or more for accounts, 1 TB or more for the ledger, 500 GB or more for snapshots, and says an RPC node should not put accounts and ledger on the same disk. Check the storage column against that, since each drive layout is listed as it is built. Higher clock speed matters more to Anza than more cores.
1. Tune the Kernel
On Ubuntu 24.04, which Anza builds and runs on, after securing the server. Create /etc/sysctl.d/21-agave-validator.conf:
net.core.rmem_max = 134217728 net.core.wmem_max = 134217728 vm.max_map_count = 1000000 fs.nr_open = 1000000
sudo sysctl -p /etc/sysctl.d/21-agave-validator.conf printf '* - nofile 1000000\n* - memlock 2000000\n' | sudo tee /etc/security/limits.d/90-solana-nofiles.conf
Anza also sets the CPU frequency governor to performance; check the current one with cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor.
2. A User and the Drives
sudo adduser sol sudo mkfs -t ext4 /dev/nvme1n1 # ledger drive: check names with lsblk first sudo mkfs -t ext4 /dev/nvme2n1 # accounts drive sudo mkdir -p /mnt/ledger /mnt/accounts sudo mount /dev/nvme1n1 /mnt/ledger sudo mount /dev/nvme2n1 /mnt/accounts sudo chown -R sol:sol /mnt/ledger /mnt/accounts
mkfs erases the drive: run lsblk and be certain which device is which, and never format the one holding the operating system. Add both to /etc/fstab by UUID so they mount at boot.
3. Install Agave
As sol, install the current Agave release with the command on Anza's CLI install page (docs.anza.xyz, Install the Solana CLI), or build it from source, which Anza suggests on Linux. Its release binaries need a CPU with AVX2; every server in the table above has it. Check with agave-validator --version, and create the node's identity:
solana-keygen new -o ~/validator-keypair.json
4. Start the RPC Node
Save as /home/sol/bin/validator.sh and make it executable. Take the mainnet entrypoints, the expected genesis hash and a current list of known validators from Anza's cluster documentation:
#!/bin/bash
exec agave-validator \
--identity /home/sol/validator-keypair.json \
--known-validator <validator pubkey from Anza's docs> \
--only-known-rpc \
--full-rpc-api \
--no-voting \
--ledger /mnt/ledger \
--accounts /mnt/accounts \
--log /home/sol/solana-rpc.log \
--rpc-port 8899 \
--private-rpc \
--dynamic-port-range 8000-8020 \
--entrypoint <mainnet entrypoint from Anza's docs> \
--expected-genesis-hash <mainnet genesis hash from Anza's docs> \
--wal-recovery-mode skip_any_corrupted_record \
--limit-ledger-size--no-voting runs it without taking part in consensus, --full-rpc-api turns on every RPC method, and --private-rpc keeps the RPC port out of what the node announces to the network. Run the script from a systemd service as sol, with LimitNOFILE=1000000 and LimitMEMLOCK=2000000000 in its [Service] section. The node first downloads a snapshot from a known validator, then catches up; check with solana catchup.
5. Firewall
sudo ufw allow 8000:8020/tcp sudo ufw allow 8000:8020/udp
The node needs its peer ports open to everyone (Anza lists 8000–8030, narrowed here by --dynamic-port-range) and a public IPv4 address without NAT. Keep SSH to your own address, and do not open 8899 (JSON-RPC) or 8900 (WebSocket). Reach them through an SSH tunnel, WireGuard, or a proxy with authentication and rate limits that you control.
Running It Well
- Account indexes (
--account-indexwithprogram-id,spl-token-mintorspl-token-owner) make some RPC calls fast and are what pushes memory to 512 GB; add only the ones your application calls. - History:
--limit-ledger-sizekeeps a limited amount of recent ledger. Older blocks come from a Bigtable archive, not your node. - Free space: Anza advises keeping 2 TB or more free on the ledger drive. Rotate the log file, which grows quickly.
Other chains? See running an Ethereum node and running a Bitcoin node. Our terms do not allow cryptocurrency mining without written approval; running nodes is fine.