Black Friday: Save 10% for life on all of our VPS plans, now through Cyber Monday

10% off on selected plans for as long as you keep the service · new orders · up to 10 uses per customer · ends Dec 1, 2026, 12:00 AM EST.

See plans
Guideschevron_rightServers

Servers · 10 min read · Updated

How to Run a Solana RPC Node on a Dedicated Server

To run a Solana RPC node, use a dedicated server that meets Anza's recommendations: a CPU with a 2.8 GHz or faster base clock and 16 or more cores, 512 GB of memory or more, and separate NVMe drives for the accounts, the ledger and snapshots. Tune the kernel, create a sol user, install the Agave validator, and start agave-validator with --no-voting, --full-rpc-api and --private-rpc. Open the peer port range, never the RPC port.

Servers That Meet Anza's CPU and Memory Figures

Dedicated servers with a 2.8 GHz+ base clock, 32+ threads and 256 GB+ of memory
ServerBase / boostCoresMemoryStoragePrice
AMD Dual EPYC 74432.85 / 4 GHz48 cores, 96 threads256 GB (validator; RPC wants 512 GB)2x 480GB SSD + 2x 3.2TB NVMe$519.00/mo
AMD EPYC 9275F4.1 / 4.8 GHz24 cores, 48 threads512 GB4x 3.84TB NVMe Gen4$929.00/mo
AMD EPYC 7443P2.85 / 4 GHz24 cores, 48 threads512 GB2x 2TB NVMe$969.00/mo
AMD EPYC 9455P3.15 / 4.4 GHz48 cores, 96 threads512 GB2x 3.2TB NVMe$999.00/mo
AMD Dual EPYC 74432.85 / 4 GHz48 cores, 96 threads1 TB256GB SSD + 2x 7.68TB NVMe$1,189.00/mo
AMD EPYC 9275F4.1 / 4.8 GHz24 cores, 48 threads768 GB2x 3.84TB NVMe Gen5$1,189.00/mo
AMD EPYC 92542.9 / 4.15 GHz24 cores, 48 threads768 GB500GB SSD + 2x 3.84TB NVMe Gen5$1,189.00/mo
AMD Ryzen Threadripper 9960X4.2 / 5.4 GHz24 cores, 48 threads512 GB1.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-index with program-id, spl-token-mint or spl-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-size keeps 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.

Common Questions

  • What hardware does a Solana RPC node need?

    Anza's recommendations: a CPU with a 2.8 GHz or faster base clock, SHA extensions and AVX2 (AMD Zen 3 or newer, or Intel Ice Lake or newer), at least 16 cores and 32 threads for RPC, 512 GB of memory or more with all account indexes, separate NVMe drives of 1 TB or more for accounts and for the ledger plus 500 GB for snapshots, and a stable public IPv4 address with 1 Gbit/s symmetric for an unstaked node.

  • Can I run a Solana node on a VPS or in Docker?

    Not for mainnet. The memory and disk figures are beyond virtual servers, Anza notes that running in the cloud takes significantly more operational expertise, and it does not recommend or generally support Docker for live-cluster validators.

  • Do I need SOL to run an RPC node?

    No. An RPC node runs with --no-voting and does not need a stake or a vote account. Voting validators do: Anza notes a rent-exempt reserve for the vote account and voting costs of up to about 1.1 SOL a day.

  • Should I open the RPC port to the internet?

    No. Anza's RPC guide says the RPC service is not intended to be exposed directly to the public internet. Keep 8899 and 8900 private and put your own access control, such as a proxy with authentication and rate limits, in front of it.

Plans and prices

Dedicated Servers

High-memory EPYC servers with NVMe storage and every core to yourself.

See all plans
  • Intel Xeon E3-1270 v5

    4 Cores · 64 GB RAM · 1TB SSD

    Bend, OR (OR1) · 10 TB transfer · 10 Gbps

    $79.00/mo

  • Intel Xeon E3-1270 v5

    4 Cores · 64 GB RAM · 2x 500GB SSD

    Charlotte, NC (NC1) · 10 TB transfer · 1 Gbps

    $79.00/mo

  • Intel Xeon E3-1270 v5

    4 Cores · 32 GB RAM · 2x 2TB HDD

    Dallas, TX (TX3) · 10 TB transfer · 10 Gbps

    $99.00/mo

  • AMD Ryzen 5 7600

    6 Cores · 32 GB RAM · 960GB NVMe

    Dallas, TX (TX2) · Unmetered transfer · 1 Gbps

    $139.00/mo

Keep Reading

All guides