Cloud · head to head
AWS (Amazon Web Services) vs Dgraph

Dgraph
Databases
Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.
- From
- Free
- Rated
- -
The short version
- Each has a real cost: AWS (Amazon Web Services) data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills; Dgraph sharding is by predicate, so a single very hot predicate lives entirely in one Raft group and cannot be split further; adding nodes does not relieve it and the fix is a data model change.
- They diverge on capability: AWS (Amazon Web Services) covers EC2 - Virtual Servers, Dgraph covers Apache 2.0 licence.
- Prices and features above were last checked on 30 August 2026.
Where they differ
Only the attributes on which AWS (Amazon Web Services) and Dgraph actually diverge.
| Attribute | AWS (Amazon Web Services) | Dgraph |
|---|---|---|
| Pricing model | usage-based | freemium |
| Platforms | Web, Api, Cli, Mobile | Linux, Mac, Docker, Web |
| Category | Cloud | Databases |
| Founded | 2006 | 2016 |
Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated).
What each one covers
Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in AWS (Amazon Web Services)
- EC2 - Virtual Servers
- S3 - Object Storage
- RDS - Managed Database
- Lambda - Serverless Computing
- CloudFront - CDN
- VPC - Virtual Network
- IAM - Access Management
- CloudWatch - Monitoring
Only in Dgraph
- Apache 2.0 licence
- Generated GraphQL API
- DQL query language
- Predicate sharding
- Raft replication
- Distributed ACID transactions
- Written in Go
- Full-text and geo indexing
What people use each for
The jobs each tool is most often brought in to do.
AWS (Amazon Web Services)
- Web hostingnot Dgraph
- Data storagenot Dgraph
- Machine learningnot Dgraph
- Big data analyticsnot Dgraph
- Application developmentnot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot AWS (Amazon Web Services)
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot AWS (Amazon Web Services)
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot AWS (Amazon Web Services)
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot AWS (Amazon Web Services)
Where each one falls short
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS (Amazon Web Services)
- Data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills
- Discounts require one or three year Savings Plan commitments rather than being automatic
- Every service is priced separately, so a working architecture has no single published cost
- The free tier is a promotional allowance rather than an ongoing free plan
Dgraph
- Sharding is by predicate, so a single very hot predicate lives entirely in one Raft group and cannot be split further; adding nodes does not relieve it and the fix is a data model change.
- Stewardship passed from Dgraph Labs to Hypermode after the original company stopped operating independently, so anyone building on it is betting on a second custodian rather than on the original team's roadmap.
- The GraphQL layer is generated and opinionated, so anything it does not express drops you into DQL, which is a second language your team must learn and which no other database speaks.
- The community is a fraction of Neo4j's, so operational answers, tuning experience, hiring and third-party tooling are all thinner, and unusual failure modes in a Zero and Alpha cluster leave you reading source rather than a forum.
- There is no portable graph standard to migrate to; Cypher, Gremlin and SPARQL are all different query models, so the schema and every query is a rewrite if you later leave, and that cost grows with the application.
Pricing, plan by plan
AWS (Amazon Web Services)
Free- AWS Free TierFree
- EC2 750 hours/month
- 5GB S3 storage
- 20GB data transfer
- Pay-As-You-GoFree
- No upfront payment
- No long-term commitments
- Pay only for what you use
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/month
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose AWS (Amazon Web Services) if
- You need ec2 - virtual servers.
- You want to start without paying.
- You work on Web, Api, Cli, Mobile.
- You also want s3 - object storage.
Choose Dgraph if
- You need apache 2.0 licence.
- You want to start without paying.
- You work on Linux, Mac, Docker, Web.
- You also want generated graphql api.
Questions people ask
- Is AWS (Amazon Web Services) or Dgraph better?
- Neither clearly leads. AWS (Amazon Web Services) starts at Free and Dgraph at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, AWS (Amazon Web Services) or Dgraph?
- AWS (Amazon Web Services) starts at Free and Dgraph at Free.
- Does AWS (Amazon Web Services) or Dgraph run on more platforms?
- AWS (Amazon Web Services) runs on Web, Api, Cli, Mobile. Dgraph runs on Linux, Mac, Docker, Web.
- Can I use AWS (Amazon Web Services) for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is AWS (Amazon Web Services) best used for?
- AWS (Amazon Web Services) is most often used for web hosting, data storage, machine learning, big data analytics. Of those, web hosting and data storage are not what Dgraph is typically brought in for.
- What can AWS (Amazon Web Services) do that Dgraph cannot?
- AWS (Amazon Web Services) covers EC2 - Virtual Servers, S3 - Object Storage, RDS - Managed Database, Lambda - Serverless Computing. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
AWS (Amazon Web Services): What are AWS's payment options and pricing models?
AWS offers four pricing approaches: pay-as-you-go (you pay only for what you use), flat-rate plans combining multiple services into one monthly price without overages, Savings Plans offering discounts on compute and machine learning with 1- or 3-year commitments, and volume-based tiered pricing where costs decrease as usage increases.
SourceDgraph: Is Dgraph open source?
Yes. The current repository is Apache 2.0, which is a permissive OSI licence, and the project is at v25 under Hypermode's maintenance.
AWS (Amazon Web Services): Are there contracts, termination fees, or commitments required for AWS?
No long-term contracts are required for AWS services. No termination fees apply once you stop using the service. Savings Plans provide optional 1- or 3-year commitments with discounted hourly rates, but you can revert to pay-as-you-go pricing anytime.
SourceDgraph: Is it really GraphQL?
It serves a generated GraphQL API, which is real GraphQL for clients. Its native language, DQL, resembles GraphQL syntactically but is Dgraph's own language and is not the GraphQL specification.
AWS (Amazon Web Services): Does AWS offer a free tier?
AWS provides a free tier that offers hands-on experience with AWS products at no charge. The free tier allows new customers to try eligible services before committing to paid usage.
SourceDgraph: How does it compare to Neo4j?
Neo4j has the larger ecosystem, Cypher, and far more operational precedent. Dgraph distributes storage across nodes by default and gives you a GraphQL endpoint without writing resolvers. The choice usually turns on whether you need horizontal scale and a GraphQL surface more than you need ecosystem depth.
AWS (Amazon Web Services): How do I estimate my AWS costs?
AWS provides the AWS Pricing Calculator and Cost Explorer tool to estimate costs for single or multiple services. AWS also offers cost optimization recommendations, performance reporting, and budget alerts to help track and control spending.
SourceDgraph: What does a production cluster look like?
At minimum a set of Zero nodes for coordination and a replicated set of Alpha nodes for data, typically three of each for fault tolerance, which is a meaningfully larger operational footprint than a single graph server.
Dgraph: Who maintains it now?
Hypermode. Dgraph Labs, the original company, no longer operates it, and that change of custodian is the main non-technical risk to weigh.
Related pages
More on AWS (Amazon Web Services)
Other head to heads
- AWS (Amazon Web Services) vs Google Cloud Platform
- AWS (Amazon Web Services) vs Microsoft Azure
- AWS (Amazon Web Services) vs Oracle Cloud
- AWS (Amazon Web Services) vs Vultr
- AWS (Amazon Web Services) vs Wasabi
- AWS (Amazon Web Services) vs Linode
- AWS (Amazon Web Services) vs Hetzner Cloud
- AWS (Amazon Web Services) vs Neon
- AWS (Amazon Web Services) vs Scaleway
- AWS (Amazon Web Services) vs Akamai
- AWS (Amazon Web Services) vs OVHcloud
- AWS (Amazon Web Services) vs DigitalOcean
- AWS (Amazon Web Services) vs Fireworks AI
- AWS (Amazon Web Services) vs Heroku
- AWS (Amazon Web Services) vs Vault
- AWS (Amazon Web Services) vs Beam Cloud
- AWS (Amazon Web Services) vs Caddy
- AWS (Amazon Web Services) vs Cerebrium
- AWS (Amazon Web Services) vs Cockroach Labs
- AWS (Amazon Web Services) vs Airtable
- AWS (Amazon Web Services) vs PostgreSQL
- AWS (Amazon Web Services) vs Amazon Aurora
- AWS (Amazon Web Services) vs Neo4j
- AWS (Amazon Web Services) vs ArangoDB
- AWS (Amazon Web Services) vs Elasticsearch
- AWS (Amazon Web Services) vs Couchbase
- AWS (Amazon Web Services) vs Cassandra
- AWS (Amazon Web Services) vs FaunaDB
- AWS (Amazon Web Services) vs Firebase Realtime Database
- AWS (Amazon Web Services) vs RavenDB
- AWS (Amazon Web Services) vs Convex
- AWS (Amazon Web Services) vs Dragonfly
- AWS (Amazon Web Services) vs Dremio
- AWS (Amazon Web Services) vs Fivetran HVR
- AWS (Amazon Web Services) vs Grist
- AWS (Amazon Web Services) vs IBM Db2
- Dgraph vs Google Cloud Platform
- Dgraph vs Microsoft Azure
- Dgraph vs Oracle Cloud
- Dgraph vs Vultr
- Dgraph vs Wasabi
- Dgraph vs Linode
- Dgraph vs Hetzner Cloud
- Dgraph vs Neon
- Dgraph vs Scaleway
- Dgraph vs Akamai
- Dgraph vs OVHcloud
- Dgraph vs DigitalOcean
- Dgraph vs Fireworks AI
- Dgraph vs Heroku
- Dgraph vs Vault
- Dgraph vs Beam Cloud
- Dgraph vs Caddy
- Dgraph vs Cerebrium
- Dgraph vs Cockroach Labs
- Dgraph vs Airtable
- Dgraph vs PostgreSQL
- Dgraph vs Amazon Aurora
- Dgraph vs Neo4j
- Dgraph vs ArangoDB
- Dgraph vs Elasticsearch
- Dgraph vs Couchbase
- Dgraph vs Cassandra
- Dgraph vs FaunaDB
- Dgraph vs Firebase Realtime Database
- Dgraph vs RavenDB
- Dgraph vs Convex
- Dgraph vs Dragonfly
- Dgraph vs Dremio
- Dgraph vs Fivetran HVR
- Dgraph vs Grist
- Dgraph vs IBM Db2

