A new Hetzner account is capped at 10 primary IPs (IPv4 and IPv6 both count), 20 shared vCPUs, 8 dedicated vCPUs and no Arm, and a network cannot span zones. So: one private network per zone (10.20.<zone>.0/24), the lowest-index node of each zone keeps a public IPv4 and is its gateway (NAT, MSS clamp, one DNAT port 27000+index per private node, persisted as igneum-nat.service), every other node has no public address. nodes.tsv gains access, pub and port columns; lib resolves same-zone vs cross-zone dial addresses and jumps ssh through the gateway for private nodes. All nodes.tsv loops read on fd 3 (a backgrounded ssh drained the file). TYPE_BY_INDEX puts nodes 8 to 11 on ccx13; node 12 is the last shared one the account allows. create.sh prints the plan's cost from the live API. provision.sh install takes node names and skips binaries whose sha256 matches. Binaries copied from the seed's staged v4 build (same sources), no vCPU for a builder. Results 2026-10-04: RTT matrix (hel1-fsn1 35 ms, ash-sin 289 ms) and a 10-minute propagation window of 644 blocks: p50 343 ms, p90 497 ms, p99 666 ms across 12 nodes in 5 locations. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
10 lines
457 B
Bash
Executable file
10 lines
457 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# ssh to a node by name or index, jumping through its zone gateway when it is private:
|
|
# ./net/ssh.sh igneum-07 interactive shell
|
|
# ./net/ssh.sh 7 'systemctl status igneumd'
|
|
. "$(dirname "$0")/../lib/common.sh"
|
|
require_nodes
|
|
node="$1"; shift
|
|
ip=$(node_ip "$node"); [ -n "$ip" ] || die "no node $node in $NODES_FILE"
|
|
ssh_opts_for "$ip"
|
|
exec ssh "${SSH_OPTS[@]}" ${SSH_EXTRA[@]+"${SSH_EXTRA[@]}"} "$SSH_USER@$SSH_HOST" "$@"
|