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 an Ethereum Node on a Dedicated Server

To run an Ethereum node, use a server with at least 16 GB of memory and 4 TB of NVMe, install an execution client (Geth) and a consensus client (Lighthouse), create a shared JWT secret with openssl rand -hex 32, and start Lighthouse with checkpoint sync pointed at Geth's Engine API on port 8551. Run both under systemd, open only their peer ports (30303 for Geth), and keep the JSON-RPC port, 8545, on the server.

Servers That Meet ethereum.org's Minimum

Dedicated servers with at least 16 GB of memory and 4 TB of NVMe storage
ServerMemoryStoragePrice
AMD Ryzen 9 9950X96 GB3.84TB NVMe Gen4$349.00/mo
AMD Ryzen 9 5950X128 GB2x 1TB NVMe$399.00/mo
Intel Core Ultra 9 285K128 GB6.4TB NVMe Gen4$399.00/mo
AMD Ryzen 9 9950X96 GB2x 3.84TB NVMe Gen4$469.00/mo
AMD Ryzen 9 7950X128 GB2x 2TB NVMe$479.00/mo
AMD Dual EPYC 7443256 GB2x 480GB SSD + 2x 3.2TB NVMe$519.00/mo

Check the usable space, not the total: two 2 TB drives mirrored as RAID 1 give 2 TB. For a node, set the drives up as one volume (RAID 0 or LVM) when the operating system is installed, or pick a server with a single large drive. ethereum.org lists Geth's full-node data at 1.8 TB and up, plus 15–90 GB for the consensus client, and both keep growing.

1. Install Geth and Lighthouse

On Ubuntu 24.04, after securing the server:

sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt update
sudo apt install -y ethereum          # provides geth
geth version

Download the newest Lighthouse release for x86_64-unknown-linux-gnu from its GitHub releases page, then:

tar xzf lighthouse-v*-x86_64-unknown-linux-gnu.tar.gz
sudo install -m 0755 lighthouse /usr/local/bin/
lighthouse --version

2. A User, Folders and the JWT Secret

sudo adduser --system --group --home /var/lib/eth eth
sudo mkdir -p /var/lib/eth/geth /var/lib/eth/lighthouse /secrets
openssl rand -hex 32 | tr -d "\n" | sudo tee /secrets/jwt.hex > /dev/null
sudo chown -R eth:eth /var/lib/eth /secrets
sudo chmod 600 /secrets/jwt.hex

Both clients read the same jwt.hex; it is how Geth knows the requests on port 8551 come from your own consensus client.

3. Run Geth

Create /etc/systemd/system/geth.service:

[Unit]
Description=Geth execution client
After=network-online.target
Wants=network-online.target

[Service]
User=eth
ExecStart=/usr/bin/geth --mainnet --datadir /var/lib/eth/geth \
  --authrpc.addr localhost --authrpc.port 8551 --authrpc.vhosts localhost \
  --authrpc.jwtsecret /secrets/jwt.hex \
  --http
Restart=on-failure
TimeoutStopSec=300

[Install]
WantedBy=multi-user.target

--http turns on the JSON-RPC endpoint on port 8545, which by default answers only on the server itself. Leave it that way. The long stop timeout lets Geth write its state to disk before it exits; cutting that short can force a long resync.

4. Run Lighthouse With Checkpoint Sync

Create /etc/systemd/system/lighthouse.service:

[Unit]
Description=Lighthouse beacon node
After=geth.service
Wants=geth.service

[Service]
User=eth
ExecStart=/usr/local/bin/lighthouse bn --network mainnet --datadir /var/lib/eth/lighthouse \
  --execution-endpoint http://localhost:8551 \
  --execution-jwt /secrets/jwt.hex \
  --checkpoint-sync-url https://mainnet.checkpoint.sigp.io
Restart=on-failure

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now geth lighthouse
journalctl -u lighthouse -f

The Lighthouse Book strongly recommends checkpoint sync: it starts from a recent trusted state instead of syncing the beacon chain from its beginning, then fills in history in the background. Geth then syncs the execution layer, which the book puts at a few hours to a few days. Getting --network right matters: a mainnet and a testnet node use the same commands.

5. Ports and Using Your Node

sudo ufw allow 30303/tcp
sudo ufw allow 30303/udp

30303 is Geth's peer port, over TCP and UDP. Open Lighthouse's peer port too (9000 by default; check lighthouse bn --help for your version). Never open 8545 or 8551. To use the node from a wallet or an app on another machine, reach 8545 through an SSH tunnel or WireGuard:

ssh -N -L 8545:127.0.0.1:8545 [email protected]
# then point the wallet at http://127.0.0.1:8545

Upkeep

  • Update both clients before every network upgrade (hard fork); an out-of-date client stops following the chain. Geth updates with apt, Lighthouse by replacing the binary, then restart both.
  • Watch the disk with df -h /var/lib/eth. Running out of space mid-write can corrupt a node's database and force a full resync.
  • Staking needs a validator client and 32 ETH on top of this, and careful handling of the validator keys; ethereum.org's staking pages cover it.

Bitcoin too? Running a Bitcoin node needs far less storage, while a Solana RPC node needs far more memory. Our terms do not allow cryptocurrency mining without written approval; running nodes is fine.

Common Questions

  • What hardware does an Ethereum node need?

    ethereum.org's minimum is a CPU with 2 or more cores, 16 GB of memory (32 GB recommended for stability), a 4 TB NVMe SSD and 25 Mbit/s or more of bandwidth. Its recommended specification is 4 or more fast cores, 32 GB, 4 TB NVMe and 50 Mbit/s down, 15 Mbit/s up, and it discourages DRAM-less and QLC drives.

  • Why two programs?

    Since the Merge, a node is an execution client (here Geth), which runs transactions and holds the state, plus a consensus client (here Lighthouse), which follows the beacon chain. They talk over the Engine API on port 8551, authenticated with a shared JWT secret.

  • Do I need 32 ETH to run a node?

    No. 32 ETH is the deposit for running a validator and staking. A node without a validator still verifies the chain and gives you your own private RPC endpoint; ethereum.org describes the validator client as optional.

  • Can I run it on a VPS?

    Not well. The 4 TB of fast NVMe that ethereum.org asks for, and the constant disk reads and writes, are a dedicated server's job.

Plans and prices

Dedicated Servers

Bare-metal servers with large 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