Guide to Building a Web3 Node as a Service System on VPS Running Ethereum, Solana, Sui Nodes and Earning Rewards
This guide details how to build a Web3 Node as a Service system on a VPS, supporting Ethereum, Solana, and Sui nodes, and earning rewards via staking, delegating, or providing...
Image credit: geralt · Pixabay Content License
This guide details how to build a Web3 Node as a Service system on a VPS, supporting Ethereum, Solana, and Sui nodes, and earning rewards via staking, delegating, or providing services. It covers server setup, node installation, security, monitoring, performance optimization, and verification, using Docker and DevOps tools for fast deployment, scalability, and stable operation on NVMe VPS platforms.
Optimizing VPS for Web3 Node as a Service
To effectively deploy a Web3 Node as a Service system, select a high-performance VPS with NVMe storage and high bandwidth. Modern NVMe VPS platforms support Docker, Nginx, and databases, making them ideal for running multiple node containers simultaneously. With this architecture, you can deploy Ethereum, Solana, and Sui nodes on a single server or distribute them across multiple VPS instances to ensure stability and scalability. NVMe storage reduces data access latency, which is critical for Web3 networks requiring fast and continuous transaction processing. You can explore suitable VPS offerings at NVMe Cloud VPS for Docker, Nginx & Databases.
Installing and Configuring Ethereum, Solana, and Sui Nodes
To run Web3 nodes, install the corresponding clients. For Ethereum, use Geth or Erigon; for Solana, use solana-validator; for Sui, use sui-node. Below is an example configuration for initializing a Solana node on Ubuntu:
sudo apt update
sudo apt install -y git build-essential curl
git clone https://github.com/solana-labs/solana.git
cd solana
git checkout v1.16.24
cargo build --release
sudo cp target/release/solana-validator /usr/local/bin/
For Ethereum, you can use Docker to deploy Geth with a simple configuration:
docker run -d --name geth --restart unless-stopped -v /data/geth:/data -p 8545:8545 -p 30303:30303 ethereum/client-go:latest --http --http.addr=0.0.0.0 --http.port=8545 --http.api=eth,net,web3 --syncmode=full --cache=4096
For Sui, follow the official setup guide from Sui Documentation. Nodes must be configured with individual accounts and sufficient CPU, RAM, and disk space to handle large blockchain data volumes.
Monitoring, Security, and Performance Optimization
To ensure stable system operation, deploy monitoring tools such as Prometheus and Grafana. Continuously track metrics like CPU usage, RAM, disk I/O, and transaction processing time. Additionally, configure a firewall, use SSH keys instead of passwords, and regularly update the operating system. For nodes running 24/7, set up alerts for issues such as connection loss or overload. Use a rotating IPv6 proxy system to reduce the risk of tracking or external attacks.
Earning Rewards and Cost Optimization
Once nodes are stable, you can earn rewards through staking, delegating, or providing services to Web3 applications. Networks like Solana and Sui offer validator rewards, while Ethereum 2.0 rewards staking participants. To optimize costs, use tools like NixOS flakes to clone 100 identical VPS servers in 60 seconds, enabling rapid deployment at scale. Additionally, configuring a Valkey Cluster on Multi-VPS ARM can optimize performance and cost for auxiliary services. Combined with solutions like Valkey Cluster, you can handle millions of requests per second at reasonable costs.
Testing and Verifying Node Operation
To verify that a node is operating correctly, use the following commands:
solana-validator --version
curl -s http://localhost:8899/health | jq .
For Ethereum, check synchronization status with:
curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_syncing\",\"params\":[],\"id\":1}' -H \"Content-Type: application/json\" http://localhost:8545
Ensure the response is false to confirm full synchronization. If errors occur, check logs and configuration parameters. Common issues include insufficient disk space, unstable network connections, or incorrect port settings.
Alternative Solutions and References
In cases requiring dedicated servers, consider High-Performance Dedicated Servers for Production Clusters. With greater resources, the system can handle more nodes and ensure higher stability. You can also refer to real-world case studies on earning money and saving time from 5 Real-World Clawbot Case Studies: Saving Time and Increasing Revenue to better understand the Web3 Node as a Service business model.
Comparison of Web3 Node Types
| Blockchain | Client | Minimum Requirements | Rewards |
|---|---|---|---|
| Ethereum | Geth, Erigon | 32GB RAM, 1TB NVMe, 2 vCPU | Staking, delegating |
| Solana | solana-validator | 16GB RAM, 500GB NVMe, 4 vCPU | Validator rewards |
| Sui | sui-node | 32GB RAM, 1TB NVMe, 4 vCPU | Validator rewards |
Pre-Deployment Checks
- Ensure the VPS has sufficient resources (RAM, CPU, disk space)
- Check network connectivity and bandwidth
- Test installing a simple node first
- Verify enough storage space for blockchain data
- Set up monitoring and early alerts
Security Solutions
To protect nodes from threats, follow these steps:
- Use SSH keys instead of passwords
- Configure a firewall (ufw or iptables)
- Regularly update the OS and software
- Do not expose unnecessary ports
- Set up firewall and access control
Common Troubleshooting Steps
If a node fails to start or sync, check:
- Node logs from
solana-validatororgeth - Network latency or internet connectivity
- Available disk space
- Blocked or unopened ports
- Incorrect network configuration (IP, port)
Refer to the official documentation of each blockchain for detailed support if needed.
Recommended NVMe Cloud VPS Plans to Deploy This Setup
Enterprise RAID 10 NVMe SSDs, CMC & FPT District 9 uplinks with Anycast Anti-DDoS and 99.99% SLA.
VPS-3E
10% VAT included
- CPU: 2 vCPU
- RAM: 4 GB
- SSD: 50 GB NVMe
