Deploying a Sonic RPC Node
Step-by-step guide for deploying a new Sonic RPC Node, including system requirements, hardware configurations, and setup instructions.
Table of Contents
System Requirements
Operating System
Ubuntu Server 22.04.4 LTS
Hardware Requirements
Configuration | CPU | RAM | SSD |
---|---|---|---|
Low-End | 64-core | 256GB | 10TB |
Mid-Range | 128-core | 512GB | 15TB |
Server Port Policy
Open ports 80 and 443 for RPC external services.
Open TCP and UDP protocol ports in the range of 8000 to 9000.
Whitelist IP addresses 52.10.174.63 and 35.164.22.3.
After configuration, send your server's public IP address to operators@sonic.game.
System Tuning
Optimize sysctl knobs:
Increase systemd and session file limits:
Important: Close all open sessions after making these changes.
Install Sonic Devnet Validator
Option 1: Pre-built Binary Package
Option 2: Build from Source Code
Install dependencies:
Initialization
Configuration
Edit the run_rpcnode.sh
file and replace YOUR_PUBLIC_IP
with your machine's public IP address.
Running the Node
This script contains various configuration options. Ensure you replace YOUR_PUBLIC_IP
with your actual public IP address, KNOWN_VALIDATOR
, with the public address of the known validator on the cluster, and GENESIS_HASH
with the genesis hash of the cluster you are deploying for.
Devnet Variables:
KNOWN_VALIDATOR
: CQqu5MsTpH1mTwEsZ75QzPtXGTz9ziEvKwpcAstKG9WJGENESIS_HASH
: BsJstMXKW4DpjzHPsSCdEcAn4YtpNiLFRFa5M5L7UxFx
Testnet Variables:
KNOWN_VALIDATOR
:HXQyiQxmVipgohFSDex3TSyFkFp6yttF1T3Rdp7fnfZP
GENESIS_HASH
: Ep5wb4kbMk8yHqV4jMXNqDiMWnNtnTh8jX6WY59Y8Qvj
Shutting Down the Node
To gracefully shut down the node:
Operator Guides
It is recommended to read the guides and operator best practices outlined in the official Solana documentation.
Support
For support or questions, contact the Sonic Operators team at operators@sonic.game or DM @codebender828 on X.
Last updated