Skip to content

chore(railway): run mcp-server in EU West, two replicas in production - #114

Merged
Ooscaar merged 5 commits into
developfrom
chore/railway-eu-replicas
Nov 18, 2026
Merged

Ooscaar merged 5 commits into
developfrom
chore/railway-eu-replicas

Conversation

@Ooscaar

@Ooscaar Ooscaar commented Nov 18, 2026

Copy link
Copy Markdown
Member

Moves the hosted MCP server (mcp.zernio.com) from us-west2 to europe-west4 (Amsterdam), next to the Zernio API: two replicas in production, one in dev and zernio-mcp-dev.

Already applied with railway config apply (production at 22:21 CET on 2026-11-18) and verified: both replicas running and sharing traffic evenly, no failed health checks during the swap, no 5xx. This PR makes the repo match what runs.

  • Regions go under deploy.multiRegionConfig with "us-west2": null. Railway merges region maps and rejects 0 replicas, and the replicas shorthand cannot express null. Expect a phantom regions.europe-west4 (null → N) line on every plan.
  • dev's zernio-python source (develop) and its ZERNIO_MCP_APPS variable were set in Railway but missing here, so an apply would have dropped both.

The server is stateless (stateless_http=True), so replicas need no sticky sessions.

🤖 Generated with Claude Code

Ooscaar and others added 5 commits November 18, 2026 17:15
The Zernio API runs in Europe, so the MCP server moves from us-west2 to
europe-west4 (Amsterdam): two replicas in production, one elsewhere. The
server is stateless, so random routing across replicas needs no sticky
sessions.

Railway merges region maps and rejects 0 replicas, so us-west2 is set to
null under deploy.multiRegionConfig; the replicas shorthand cannot do that.

dev now records its zernio-python source and ZERNIO_MCP_APPS, which were
set in Railway but missing here (an apply would have dropped both).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev tracked this branch only while the EU region move was tested there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eplicas

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eplicas

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eplicas

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Ooscaar
Ooscaar merged commit 103c5b0 into develop Nov 18, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
zernio-mcp / dev — ecd7b7b1 Deployed Nov 18, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant