AWS AppSync alternative
GraphQL Federation without the AWS lock-in
Hive Gateway and Hive Router give you an open-source, spec-compliant Federation gateway. Run it on AWS if you like, or anywhere else. AppSync's Merged APIs only combine other AppSync APIs, and never leave AWS.
Why teams look beyond AppSync
Real GraphQL Federation
Full Apollo Federation v1 and v2 spec support - independently-owned subgraphs,
@key,@shareable,@override, and more. AppSync's Merged APIs are a different model: every source API must itself be an AppSync API, with 10 per Merged API by default.Run anywhere, including AWS
Hive Gateway deploys to AWS Lambda, Cloudflare Workers, Azure Functions, Google Cloud, Docker, or bare metal. Stay on AWS if you want to - just don't get locked into it.
Fully open source
Hive Gateway and Hive Router are MIT licensed. Inspect the code, self-host it, or use Hive Cloud - your call, not a managed black box.
Standards-based observability
OpenTelemetry and Prometheus, exportable to Jaeger, Datadog, New Relic, or Zipkin - not locked into CloudWatch and X-Ray.
What migrating from AppSync looks like
Your data sources and business logic don't move. The API layer in front of them does.
- Step 1
Front your data sources with a subgraph
Your DynamoDB tables, Lambda functions, and RDS databases don't need to move. Wrap them in a GraphQL server and publish it as a subgraph.
- Step 2
Publish the schema you already have
Hive's schema registry has built-in support for AppSync-flavored SDL, so directives like
@aws_subscribedon't need to be stripped out by hand before you publish. - Step 3
Deploy Hive Gateway or Hive Router wherever you want
Stay on AWS, or move to Azure, Google Cloud, or your own infrastructure. Hive Gateway also runs on AWS Lambda and Cloudflare Workers. That choice is yours, not AWS's. Compare Hive Router and Hive Gateway.
Hive vs AWS AppSync
The parts of a GraphQL API layer that actually change when you switch.
Sources: AWS AppSync developer guide, AWS AppSync Merged APIs announcement.
Apollo Federation compatibility, tested in the open
Live results of our open-source audit, which runs the same test suite against every Apollo Federation gateway and router.
Learn how Hive Gateway performs against other gateways in terms of correctness and compliance with the Apollo Federation specification
Learn about our audit and methodologyFrequently Asked Questions
Do I have to leave AWS to move off AppSync?
No. Deploy Hive Gateway or Hive Router on AWS. Hive Gateway also runs natively on AWS Lambda, so you can leave AppSync's resolver and Merged API model behind while staying on AWS infrastructure - or move elsewhere, since neither is locked to a single cloud.
Can I keep my existing DynamoDB and Lambda logic?
Yes. Front your existing data sources with a GraphQL subgraph - your business logic doesn't need to change - and compose it into a supergraph. Only the API layer between clients and your resolvers changes.
Does Hive support the schema I already wrote for AppSync?
Hive's schema registry has built-in support for importing AppSync-flavored SDL: AppSync-specific directives like @aws_subscribe and @aws_auth can be pre-defined via Schema Extensions, so your existing schema publishes without hand-editing it first.
Is AppSync's Merged APIs feature the same as GraphQL Federation?
Not quite. Merged APIs merge source APIs into one endpoint at build time - 10 per Merged API by default, a quota AWS can raise - and every source API has to be an AppSync API. AWS describes this as a different approach from router-based federation. Hive implements the actual Apollo Federation v1 and v2 specification, so any GraphQL server - not just an AppSync API - can be a subgraph.
Can I migrate from AppSync one API at a time?
Yes. AWS documents that an AppSync API can be plugged into a router-based federation setup as a subgraph. Put Hive Gateway or Hive Router in front, keep your AppSync APIs as subgraphs on day one, and replace them with your own GraphQL services when it suits you.
How do you verify Federation spec compliance?
We maintain an open-source Federation compatibility audit with published, reproducible results for Hive Router, Hive Gateway and other gateways. See our full Federation v1 & v2 support breakdown.