Skip to content

Instantly share code, notes, and snippets.

@buffalu
buffalu / README.md
Last active January 23, 2024 17:09
CoreOS ignition file for one-click Solana RPC server deployment

About

This contains a CoreOS Ignition file that automatically configures a Solana RPC server on both private and public IPs.

Setup Instructions

  1. Go to Equinix Metal and choose a good machine. (Can also go through Solana Foundation Server Program).
  2. Create your server.
  3. For OS, choose iPXE.
  4. For URL, type in: https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_packet.ipxe
  5. Click add user data. Run cat rpc-{private|public}.yaml | docker run --rm -i quay.io/coreos/ct:latest-dev --platform=custom. Copy and paste that (removing the last % if present).
  6. Let it deploy.
@buffalu
buffalu / bigtable_copy.rs
Created July 6, 2022 14:36
Bigtable Copy Script
use std::{
cmp::max,
collections::HashMap,
sync::{
atomic::{AtomicBool, Ordering},
Arc, Mutex,
},
thread::{self, sleep},
time::{Duration, Instant},
};