Docs
Launch GraphOS Studio

Cloud routing for supergraphs

Learn about Apollo-managed cloud routers


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

Your infrastructure
GraphOS Cloud
Subgraph A
Subgraph B
Cloud router
Clients

only hosts the runtime for your 's . for your individual are still hosted in your infrastructure.

Create your first cloud supergraph

NOTE

Cloud are only available to organizations with and . They aren't available with an or a legacy Free or Team plan.

Federation and subgraph compatibility

Cloud use Apollo Federation 2 for their core architecture. Many GraphQL server libraries support Federation 2. Your API doesn't already need to be using to add it to a cloud .

Initializing your router

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

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

Once initialized, you can configure your cloud router.

Cloud router regions

Cloud routing for is only available in Chicago, USA. Apollo's infrastructure has interconnects with major public cloud providers, so latency is minimal. For example, latency between Chicago and AWS in Virginia is approximately 10 ms.

have a wider variety of options. Region selection for is only available on the . Contact Sales to learn more.

Cloud launches

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

NOTE

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

Router version updates

With cloud routing, runs a fully managed fleet of for you. Apollo manages the version of Apollo Router that is deployed and ensures that newly released versions are deployed to within 30 days of release. Some minor and patch versions may be skipped.

releases go through rigorous testing before deployment on . During the deployment of new versions, an Apollo engineer actively oversees the process and rolls back any that fail to boot up. While some edge cases may arise—for example, a update could result in slightly degraded performance—router updates should not disrupt your .

NOTE

Opting out of updates to isn't currently supported. Advanced version management will be available in in 2024.

Automatic deletion of unused routers

NOTE

Only on the are automatically deleted. This doesn't apply cloud routers on the .

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

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

Out of memory errors

You may receive out of memory errors when using on the . Since the Serverless plan offers limited underlying compute resources, Serverless cloud routing offers a fixed amount of throughput capacity.

Complex schemas may exceed available machine memory for . For example, Serverless cloud routers don't support schemas with over 1,000 input types. Additionally, complex queries that return too much data or too many simultaneously may fail.

You can upgrade to for control over scaling and performance. Contact Sales for a free trial.

Security and compliance

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

The (the underlying technology for cloud routing) has been tested and audited by Doyensec.

GraphOS Cloud on AWS

on AWS is a managed API solution. It runs the on AWS infrastructure to provide a high-performance, configurable router. All run on AWS.

Download an overview of GraphOS Cloud on AWS security and compliance practices. For more information on Apollo's compliance and security measures, visit the Trust Center.

Next
Configuration
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company