Docs
Launch GraphOS Studio

Cloud routing for supergraphs

Learn about Apollo-managed cloud routers


NOTE

Cloud supergraphs are only available to organizations with Apollo Serverless and Dedicated plans. They are not available to organizations with an Enterprise plan or a legacy Free or Team plan.

See plan details.

When you create a cloud supergraph with Studio, GraphOS automatically provisions and manages a router that acts as an entry point to your GraphQL APIs. In this architecture, individual GraphQL APIs are called subgraphs. Clients send s to your 's public endpoint, instead of sending them directly to your s.

Your infrastructure
Apollo Cloud
Subgraph A
Subgraph B
Router
Clients

Initializing your router

Your is provisioned automatically whenever you create a cloud supergraph in GraphOS Studio, or whenever you create a new variant for an existing cloud . Each has its own distinct .

When you first create a , the provisioning process can take a few minutes. If this process hasn't completed yet for a particular variant, an INITIATING ENDPOINT label is shown at the top of the 's page in Studio:

Label in Studio indicating a router hasn't finished provisioning

Configuring your router

See Configuring cloud routing.

Cloud launches

Publishing a new or editing a cloud 's configuration triggers a new launch. Every launch automatically deploys new instances for your .

NOTE

A deployment might fail due to a platform incident or composition issues. To resolve this, try republishing your schema.

Automatic deletion of unused routers

NOTE

Only cloud s on the Serverless plan are automatically deleted. This does not apply cloud routers on the Dedicated plan. See details about plans.

Apollo automatically deletes variants of Serverless cloud supergraphs that receive zero operations for 60 consecutive days. This deletes the , along with all of the 's historical metrics.

  • Apollo will notify you via email whenever a Serverless is approaching this 60-day limit.
  • To prevent deletion, execute at least one GraphQL on the 's before the 60-day limit.

Cloud routing FAQ

What happens if my cloud router goes down?

If your 's cloud goes down, queries sent to it will fail until service is restored. However, every cloud router has redundant machines in place to help prevent this.

How is my data protected with cloud routing?

The entire platform (including its cloud routing infrastructure) is SOC 2 Type 2 certified. Secrets are encrypted both in transit and at rest, and they are available only inside the runtime environment where users have total control over when those secrets are resolved in configuration.

The Apollo (the underlying technology for cloud routing) has been tested and audited by Doyensec, with no issues.

How are cloud routers hosted?

Apollo works with major public cloud providers to deliver cloud routing.

Which regions are available for cloud routers?

Cloud routing for Serverless plans is only available in Chicago, USA. Our infrastructure has interconnects with major public cloud providers, so latency is minimal. For example, latency between Chicago and AWS in Virginia is approximately 10ms. If there's a specific region you'd like us to support please request a region.

Cloud routing on the Dedicated plan has a wider variety of options. Get in touch to learn more.

Can I choose my cloud router's region?

Choice of region for cloud s is only available on the Dedicated plan.

Does GraphOS also host my individual subgraphs?

No. only hosts the runtime for your 's cloud . GraphQL servers for your individual s are still hosted in your infrastructure.

Which GraphQL server libraries are compatible with cloud routers?

Cloud s use Apollo Federation 2 for their core architecture. Many GraphQL server libraries support Federation 2.

Your GraphQL API does not already need to be using Apollo Federation to add it to a cloud .

Previous
Self-hosted routing
Next
Configuration
Edit on GitHubEditForumsDiscord