
Deploy Apollo Runtime
Deploy-ready Apollo Runtime for Apollo GraphOS federation projects.
Apollo Runtime (Router)
apollographql/router-template
Just deployed
Deploy and Host Apollo Runtime on Railway
The Apollo Runtime is a configurable, high-performance execution environment that powers federated supergraphs. It includes the Apollo Router (written in Rust) and the Apollo MCP server for advanced control, configuration, and observability. Together, they give you everything needed to run Apollo Federation 2 at scale.
About Hosting Apollo Runtime
Hosting Apollo Runtime means provisioning an environment capable of running both the Router and MCP server, connecting seamlessly to Apollo GraphOS, and configuring the required environment variables to fetch and serve your supergraph schema.
Railway streamlines this by providing a deploy-ready template with routing logic, GraphOS integration, and autoscaling capabilities—so you can focus on your graph instead of infrastructure management.
Common Use Cases
- Stand up a production-ready runtime for your federated supergraph
- Preview schema changes in an isolated runtime before promoting them
- Quickly evaluate Apollo Federation with a hosted runtime and minimal setup
- Leverage the MCP server for deeper observability and operational control
Dependencies for Apollo Runtime Hosting
- An Apollo GraphOS account with a registered graph
- A valid supergraph schema published to GraphOS
Deployment Dependencies
Why Deploy Apollo Runtime on Railway?
Railway provides a simple, scalable platform to deploy and host your infrastructure. It eliminates the complexity of manual setup while supporting vertical and horizontal scaling.
By deploying Apollo Runtime on Railway, you get a hosted environment that combines the Router and MCP server, moving you one step closer to running a complete production-grade federated graph with minimal operational overhead. Beyond graph infrastructure, Railway can also host your supporting services like databases, servers, and AI agents—making it a central hub for your full-stack applications.
Template Content
Apollo Runtime (Router)
apollographql/router-templateAPOLLO_KEY
Your Apollo GraphOS API key used to authenticate the Apollo Router with your GraphOS account. Required for schema delivery, usage reporting, and other cloud features. You can generate it from the Apollo GraphOS dashboard
APOLLO_GRAPH_REF
he reference to your graph in Apollo GraphOS, typically in the format graph-id@variant (e.g., my-graph@current). This tells the Apollo Router which schema to fetch and use at runtime.