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.

Federation v1 & v2 compatible · MIT licensed · Runs on AWS, or anywhere else

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.

  1. 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.

  2. Step 2

    Publish the schema you already have

    Hive's schema registry has built-in support for AppSync-flavored SDL, so directives like @aws_subscribe don't need to be stripped out by hand before you publish.

  3. 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.

GraphQL platformHive Gateway / RouterAWS AppSync
HostingSelf-host anywhere - AWS Lambda, Cloudflare Workers, Azure Functions, Google Cloud, Docker - or use Hive CloudAWS-managed only, no self-hosting
Multi-API compositionFull GraphQL Federation v1 & v2 (Apollo-spec compatible) - any GraphQL server can be a subgraphMerged APIs - 10 source APIs per Merged API by default (an adjustable quota), and every source API must itself be an AppSync API
LicenseMIT, fully open source (Hive Gateway, Hive Router)Proprietary, closed-source managed service
SubscriptionsWebSocket, SSE, or HTTP callback, plus event-driven subscriptions over Kafka, NATS, or RedisWebSocket-based real-time endpoint (or the separate AppSync Events product for pub/sub)
Business logic / resolversCustom plugins (JS/TS for Gateway, Rust for Router) or language-agnostic coprocessorsVTL mapping templates or JavaScript (APPSYNC_JS runtime) resolvers
AuthorizationJWT with local keys or remote JWKS, field/type-level RBAC via @authenticated / @requiresScopes, external policy serviceAPI key, IAM, Amazon Cognito user pools, OpenID Connect, or Lambda authorizer
ObservabilityOpenTelemetry and Prometheus - export to Jaeger, Datadog, New Relic, Zipkin, or any backend you chooseAmazon CloudWatch and AWS X-Ray
Pricing modelFree and unlimited to self-host; Hive Cloud plans start freeUsage-based, priced per million requests and real-time updates, plus a caching fee

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 methodology
GatewayName and variantCompatibilityPass rate of test casesTest CasesAll available test casesTest SuitesTest cases grouped by feature
Hive Gateway (Rust QP)
100.00% 210 48
Hive Router
100.00% 210 48
Cosmo Router
99.05% 208 2 46 2
Hive Gateway
99.05% 208 2 47 1
Apollo Router v3 (dev-v3.x, incremental planner)
97.14% 204 6 45 3
Apollo Router
95.24% 200 10 43 5
Hot Chocolate Fusion
95.24% 200 10 44 4
Apollo Gateway
94.76% 199 11 42 6
Apollo Router v3 (dev-v3.x)
94.76% 199 11 42 6
Grafbase Gateway
88.57% 186 24 40 8
Passed tests
Failed tests
Perfect compatibility
75% and higher
Less than 75%

Frequently 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.

Explore Hive 360° GraphQL Ecosystem to reach full potential

Learn more

Get your API game right.