
Apollo Router
Deploy-ready Apollo Router template for Apollo GraphOS federation projects.
Apollo Router
apollographql/apollo-runtime:latest
Just deployed
Deploy and Host Apollo Router on Railway
The Apollo Router Core is a configurable, high-performance graph router written in Rust to run a federated supergraph that uses Apollo Federation 2.
About Hosting Apollo Router
Hosting Apollo Router involves provisioning a runtime environment capable of running the Apollo Router binary, connecting it to Apollo GraphOS, and configuring the necessary environment variables to fetch and serve your supergraph schema. Railway simplifies this process by providing a deploy-ready template that includes routing logic, GraphOS integration, and autoscaling capabilities—so you can focus on your graph, not infrastructure.
Common Use Cases
- Stand up a production-ready GraphQL router for your federated services
- Preview changes to your supergraph before promoting them
- Quickly evaluate Apollo Federation with a hosted router and minimal setup
Dependencies for Apollo Router Hosting
- An Apollo GraphOS account with a registered graph
- A valid supergraph schema published to GraphOS
Deployment Dependencies
Why Deploy Apollo Router on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Apollo Router on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Apollo Router
ghcr.io/apollographql/apollo-runtime:latestAPOLLO_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.