Migration considerations
Learn what to consider when migrating to a cloud graph
Cloud Dedicated is currently in invite-only
GraphOS supports
- You have multiple GraphQL APIs you want to compose into a supergraph.
- You have one or more self-hosted GraphQL APIs and want to use GraphOS features beyond graph composition, for example, or
@defer
supportmetrics reporting. - You have a self-hosted supergraph and want to offload the management of your router service to Apollo while retaining or gaining access to premium router features like subscription support,authentication, andmore. Your router service may be either the Apollo Router or the
@apollo/gateway
package.
GraphOS offers two tiers of cloud routing: Serverless and Dedicated. This guide focuses on considerations when migrating to
ⓘ NOTE
Dedicated cloud routers currently support all
Migrating from @apollo/gateway
@apollo/gateway
Cloud routers use the same @apollo/gateway
Router customizations
The Apollo Router supports a
- Custom router binaries
- Rhai scripting
- External coprocessing
As a managed service, cloud routers don't support running custom binaries. Cloud routers don't currently support Rhai scripts, though support is on the roadmap.
Therefore, you must migrate any customizations to
Built-in router features that you may have previously supported with customizations include:
See the
Migration
Once your implementation is ready to run on the Apollo Router, including customizations, you can follow the
Pricing considerations
Cloud Dedicated pricing depends on throughput instead of operation volume. Refer to the
When you no longer host your router, router-to-subgraph communication may be inter-region, inter-Availablity Zone (AZ), or egress traffic. Be aware of how your new network topology may affect your cloud costs.