Operating the 15-Container Avalon Cluster: One-Command Remote SSH Deploys & Local Loopback Administration
Server & Cluster Dispatch

Operating the 15-Container Avalon Cluster: One-Command Remote SSH Deploys & Local Loopback Administration

How we made deploying, bouncing, and administering our 15-container LXC MMO server cluster effortless from any workstation—without installing compilers on the server or exposing management ports on the network.

• GypsumSoft

Our live Avalon World Cluster for Sovran Gate runs inside 15 Linux LXC containers on a dedicated server host—combining an edge load balancer, 5 Gateway nodes, 3 Login nodes, 3 Patcher nodes, and 3 world simulation nodes.

Until this week, working with that 15-container fleet had two day-to-day friction points:

  1. Deploying from a laptop or second workstation: Updating the cluster required building directly on the server host, rather than compiling on a developer laptop and pushing the update remotely.
  2. Running admin tools: Because Conduit locks its control plane to 127.0.0.1 inside each container for security, inspecting the cluster from the host machine—or from a remote desktop GUI tool—required wrapping every command inside a container shell call.

Here is how we solved both problems in Gypsum Server without weakening our security boundaries, along with a cleanup of our server and CLI codebase.


How Remote Workstation Deploys & Loopback Administration Work

GYPSUM SERVER — WORKSTATION-TO-LXC DEPLOYMENT & ADMIN FLOWBuild on Your Laptop → Stream Over Standard SSH → Manage Safely Over Host Loopback1. DEVELOPER LAPTOPBuild & Admin DeskLocal Build + SSH Push• Compiles Binaries Locally• Streams One Compressed Archive• Triggers Remote ~1.5s BounceRemote Admin GUI / CLI• Opens Standard SSH Tunnel• Connects to Host 127.0.0.1• Inspects Live Cluster State2. DEDICATED LXC HOSTPhysical Server BoundaryAtomic Binary Swap• No Go or Git Installed• Swaps Shared Read-Only Mount• Restarts All 14 Nodes in ParallelLoopback Admin Proxy• Listens Only on Host 127.0.0.1• Zero LAN Port Exposure• Forwards Into Root Node 03. LXC CONTAINER FLEET15-Container Avalon MeshRoot Node 0 (Primary Login)Receives Proxied Admin CommandsAuthoritative Cluster RegistryLeaf Nodes 1–13 + Edge LB5 Gateway • 2 Login Peers3 Patcher • 3 Avalon Shard Nodes20,480 Concurrent Player Capacity
Figure 1: Engineers can compile on a laptop and push a ~1.5-second cluster bounce over SSH, while admin tools talk to Root Node 0 through a private host-loopback bridge.

1. One-Command Remote SSH Cluster Deployment

When you are writing code or testing a desktop administration tool on a laptop against a dedicated LXC server across the room, you shouldn’t have to log into the server, pull Git branches, or install compilers on the production host.

Now, every LXC cluster command can target a remote server over standard SSH just by passing the target host address:

  • Build Locally, Stage Over One SSH Stream: Your workstation compiles the server binaries locally, bundles them with the Conduit runtime and LXC configurations, and streams a single compressed archive over SSH to a temporary staging folder on the remote server.
  • Same ~1.5-Second Parallel Bounce: The remote server atomically swaps the shared read-only binaries mounted by all 14 Conduit containers, restarts Root Node 0 and all 13 Leaf containers in parallel in roughly 1.5 seconds, and prints the live cluster health table right back in your laptop’s terminal.
  • Zero Extra Dependencies on the Server: The remote LXC server only needs standard SSH, tar, and the container daemon—no Go toolchain, no Git credentials, and no source code checkout.

2. A Private Loopback Bridge for Host & Remote Admin Tools

For security, a Conduit node only accepts administrative commands on its local loopback address (127.0.0.1). Inside an LXC cluster, however, Root Node 0 runs inside its own container—which meant its 127.0.0.1 loopback was separate from the physical server’s 127.0.0.1.

We solved this by attaching a loopback-only container proxy device to the Root Node 0 container:

  1. Run Admin Commands Directly on the Host: The proxy connects 127.0.0.1 on the physical server directly to 127.0.0.1 inside Root Node 0’s container. Operators on the host can now run cluster status checks, account management, and patch deployments directly from their normal shell without wrapping commands in container execution prefixes.
  2. Easy SSH Tunneling for Desktop Admin GUIs: Because the proxy listens only on the physical host’s 127.0.0.1 address, the management port is never exposed to the LAN or internet. At the same time, a desktop management app on an engineer’s workstation can connect to the server over standard SSH and tunnel straight into Root Node 0—without running an SSH daemon inside any container.

3. Focused Service Modules & Shared Conduit CLI Tooling

Alongside these operational improvements, our Agentic AI workflow completed a cleanup across all six Gypsum Server services (Gateway, Login, Patcher, Shard, Chat, and Zone):

  • Shared CLI Foundation: Previously, our Login and Patcher command-line tools duplicated over 600 lines of code for discovering services and formatting tables or JSON output. Both tools now share Conduit’s built-in administrative CLI library.
  • Smaller, Focused Files: Several core packages had grown into 1,100–2,000 line files as features were added. We split them into focused, easy-to-read modules organized by responsibility—separating authentication handlers, peer replication, manifest indexing, and cluster bridging.
  • Simpler, Faster Tests: Unit tests now delegate directly to our in-memory Copy-on-Write account store instead of maintaining a separate mutex-based mock, keeping our test suite fast and faithful to production behavior.

← Back to News & Devblog