Scripts and commands to setup a new Solana Mindreader
Solana nodes are gcloud computer instances. We create them via terraform here
Retrieving the gcloud instance ip
gcloud compute instances list
...
solana-mindreader-2 us-central1-a n2d-standard-64 10.0.1.30 34.123.85.44 RUNNING
...
Setup your local ssh configuration. Add to ~/.ssh.config
the following config lines
Host sol2
HostName <IP-FROM-STEP-ABOVE>
IdentityFile ~/.ssh/identity.infra.dfuse
Run the following commands once SSHed into the machine
sudo adduser solana
sudo vi /etc/group
sudo usermod -a -G google-sudoers solana
sudo su solana
cd ~
git clone https://github.com/streamingfast/solana-mindreader
cd solana-mindreader
./scripts/install.sh