Solana Mainnet RPC - Quickstart
Introduction
To deploy a Solana mainnet RPC, you'll use the SLV command-line tool.
This quickstart guide explains how to use the SLV command-line tool to deploy a Solana mainnet RPC with Geyser Yellowstone plugin.
You must have Ubuntu 24.04 LTS clean installed on your server.
Preparing a Baremetal Server
While it is possible to run a Solana client on VPS or virtual machine (VM), achieving optimal performance and stable operation is challenging. RPC nodes and validators, in particular, operate under high-load conditions, making it crucial to set up an appropriate server environment.
Solana officially recommends using baremetal servers.
RPC nodes vary greatly depending on workload.
Standard RPC (SendTx / Geyser gRPC) and Index RPC (full indexing) differ significantly, especially in memory and storage requirements.
Standard RPC (SendTx / Geyser gRPC) and Index RPC (full indexing) differ significantly, especially in memory and storage requirements.
RPC hardware requirements (guideline)
| Component | RPC Node | Index RPC (reference) |
|---|---|---|
| CPU | 24 cores+ @ 2.8GHz+ / AMD Gen3+ / Intel Ice Lake+ / SHA extensions / AVX2 | 32 cores+ (high clock recommended) |
| RAM | 512GB+ | 1152GB+ |
| Disk | NVMe Gen3 x4 or better / Accounts / Ledger / Snapshots separation recommended | Larger capacity + high TBW / separation recommended |
| Network | 1Gbps or higher | 1Gbps or higher (more bandwidth is preferable) |
| GPU | Not required | Not required |
Note:
Clock speed and effective throughput are considered more important than core count.
Index RPC can be bottlenecked by memory and storage, so ensure sufficient capacity and high IOPS.
If indexing is required, we recommend 768GB or more, and 1152GB or more for stable operation.
SLV Metal provides baremetal servers designed to deliver the highest performance within your budget.
When executing the
slv metal list command, you can find the RPC option specifically tailored for Solana RPC nodes.If you have not yet set up your baremetal server, please follow the Baremetal Server Setup Guide.
Additionally, refer to the following resources:
Deploy Solana RPC Node
First, initialize the Solana RPC configuration.
Please select network as your desired Solana network.
Next, confirm whether you have a Solana Node Compatible Server.
This tutorial assumes you select
yes.Set Server User and IP Address
Set the server user, IP address, and RSA key path.
Automatic Region Detection
Next, the system will ping each block engine from your configured node to automatically detect the nearest region. By measuring actual ping values, you can select the optimal region.
Generate Identity Keypair
If you don't have an identity keypair, you can generate a new one.
Select Solana CLI
Select the Solana CLI version.
Select RPC Type
Select the RPC type.
In this tutorial, we select
Geyser gRPC.Confirm Configuration
Finally, confirm the configuration.
After that, the
solv user is created on the bare metal server, and
the Solana RPC configuration is saved to ~/.slv/inventory.mainnet.rpcs.yml.Deploy Solana RPC Node
Once you confirm the configuration, the deployment will start.
It's done! Your Solana RPC node is now deployed.
It will take some time to synchronize with the Solana network.
Debugging & Monitoring
After deployment, you can check the status of the Solana RPC node with the following command:
solv is an alias for agave-validator -l /mnt/ledger.
This setting is added to ~/.profile during the RPC node deployment.