WunderGraph Cosmo Router, a fast, self contained GraphQL federation gateway that unifies many GraphQL subgraphs behind one endpoint.
WunderGraph Cosmo Router is the open source data plane of the Cosmo GraphQL federation platform: a single, statically compiled gateway that stitches many independent GraphQL services, called subgraphs, into one federated graph that clients query through a single endpoint. Written in Go and distributed as one dependency free binary, it starts instantly, uses very little memory, and needs no external database or control plane to run. The router plans and executes federated queries across your subgraphs, resolves shared entities by key, and returns a single joined response, so a client can ask for fields that live in several services in one round trip. This image runs the router standalone against a locally composed execution config and ships with a small two subgraph demo, a products service and an inventory service, wired together so a federated query works the moment the instance boots. It is the foundation you point real GraphQL subgraphs at when you want federation, query planning, and a single unified schema without adopting a hosted platform.
The cloudimg image is hardened and fully patched with the Cosmo Router preconfigured behind nginx, the router bound to loopback and the federated GraphQL endpoint gated by a per instance API key so it can never be left as an open, unauthenticated data gateway. It ships secure by default with no shared credentials: on first boot every instance generates its own API key and writes it to a root only file, while a public health endpoint stays open for liveness checks. A working demo supergraph is composed at build time so federation is provable out of the box. Every instance is backed by a paired deploy guide and 24/7 cloudimg support.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
## Launch a Federated GraphQL Gateway in Minutes, Not Days
WunderGraph Cosmo Router is the open source, high performance GraphQL federation gateway built in Go. This AMI delivers it fully installed, security hardened, and operational immediately after boot, eliminating the manual setup, composition toolchain installation, and reverse proxy configuration that a do it yourself deployment requires.
Unlike managed federation services that require a SaaS control plane, cloud account, or graph token, this AMI runs standalone against a static execution config composed at build time. You get full infrastructure control with no external dependencies and no lock in to a SaaS dashboard.
## Why This Image Instead of Installing the Binary Yourself
## Federated GraphQL Gateway
The router loads a static execution config and federates its subgraphs behind one endpoint, resolving a single client query across multiple services and joining their fields through federation entity keys. It is compatible with Apollo Federation v1 and v2 subgraphs. The image ships a small, self contained demo supergraph composed from two local Apollo Federation v2 subgraphs so the federated endpoint returns real joined data out of the box.
## Secure By Default
The federated GraphQL endpoint must never be an open, unauthenticated data gateway, so this image enforces that from first boot:
## Ready To Use
Connect over SSH and the gateway is already running. Read the welcome notes for the generated per instance API key and the reachable URL, confirm the health check, and send a federated query with your key. systemd manages the router and the demo subgraphs for automatic restarts and clean logging, and the operating system is fully patched at build time and continues to receive unattended security updates.
## cloudimg Support
24/7 technical support by email and live chat. Our engineers help with router deployment, composing your own subgraphs into the execution config with the bundled wgc CLI, configuring the API key gateway, TLS and reverse proxy setup, observability, and version upgrades.
## Use Cases
## Getting Started
1. Launch the AMI in your preferred AWS region
2. SSH into the instance and read the welcome notes for the per instance API key and reachable URL
3. Confirm the public health check returns 200 and send a federated query with your API key header
4. Recompose the execution config against your own subgraphs using the bundled wgc CLI and reload the router service