WunderGraph Cosmo Router on Ubuntu 24.04 LTS
by cloudimg
WunderGraph Cosmo Router, the open source GraphQL federation gateway, on Ubuntu 24.04 LTS
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
WunderGraph Cosmo Router (Open Source) by cloudimg
Deploy the open source WunderGraph Cosmo Router on your own Azure infrastructure in minutes - no manual installation, no shared credentials. This image delivers Cosmo Router 0.333.2 (the Apache-2.0 licensed federation router, run unmodified) fully installed and hardened, with a working two subgraph demo composed at build time, so you can prove GraphQL federation immediately after the VM boots.
Why This Image Instead of Manual Installation
Standing up a GraphQL federation gateway by hand means fetching and pinning the router binary, composing an execution config from your subgraph schemas, wiring a reverse proxy, and securing the endpoint. This image eliminates that operational burden:
- Cosmo Router 0.333.2 installed from the official release binary and run as a native systemd service
- A working demo supergraph composed at build time from two Apollo Federation v2 subgraphs (products and inventory), both bound to the loopback interface
- nginx on port 80 fronting the router, serving a public health endpoint and gating the federated GraphQL endpoint
- Secure by default: the federated endpoint API key is generated uniquely per instance on first boot, never shipped as a known value
- The router runs standalone against a static execution config, with no Cosmo Cloud control plane and no graph API token required
- A public, unauthenticated health endpoint for load balancer probes
Use Case: One Endpoint for Many GraphQL Services
A team runs several GraphQL services and wants clients to query them as one unified graph. With this image they launch a VM, read the per instance API key, and send a single federated query that the router plans across subgraphs, resolving shared entities by key and returning one joined response. To federate their own services they edit the graph config, recompose the execution config with the Cosmo CLI, and restart the router - all within their own VNet.
Application Stack
WunderGraph Cosmo Router is a high performance GraphQL federation gateway written in Go and distributed as a single dependency free binary. It runs here in standalone mode against a static execution config: it federates GraphQL subgraphs into one endpoint, plans and executes federated queries across them, and resolves shared entities by key. The bundled demo composes two Apollo Federation v2 subgraphs at build time so federation is provable out of the box. nginx fronts the router on port 80 and serves the public health endpoint, while the federated GraphQL endpoint is gated by the per instance API key.
Secure By Default
A federated GraphQL endpoint must never ship as an open, unauthenticated data gateway. This image ships a placeholder API key that is rotated to a fresh, unique value on the first boot of every instance, before nginx serves traffic, and written to a root only credentials file. The router is bound to the loopback interface and reachable only through the key gated nginx front end; a public health endpoint stays open for liveness probes. Nothing sensitive ships in the image.
Getting Started
1. Launch the image on your chosen Azure VM size 2. Confirm the public health endpoint responds at http://your-vm-ip/health 3. Read the per instance API key from the root only credentials file over SSH 4. Send a federated query to the endpoint with the API key and see data joined from both demo subgraphs
Licensing and Pricing
WunderGraph Cosmo Router is licensed under Apache-2.0 and is free; there is no per-seat fee. The cloudimg charge of 0.04 US dollars per vCPU hour covers packaging, security patching, image maintenance, and 24/7 expert support. This image ships the open source Cosmo Router only and does not include the Cosmo Studio SaaS control plane.
cloudimg Support
24/7 technical support by email covers deployment, upgrades, subgraph composition, routing configuration and troubleshooting. Critical issues receive a one-hour average response time.
WunderGraph and Cosmo are trademarks of their respective owner. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.