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

AWS (Amazon Web Services)
Cloud
Cloud computing platform
- From
- Free
- Free plan
- Yes

Dgraph
Databases
Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.
- From
- Free
- Free plan
- Yes
The short version
- AWS (Amazon Web Services) is free; Dgraph starts at $39/mo.
- Only AWS (Amazon Web Services) lists EC2 - Virtual Servers; only Dgraph lists apache 2.0 licence.
- Where AWS (Amazon Web Services) falls short: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills.
How do AWS (Amazon Web Services) and Dgraph differ?
AWS (Amazon Web Services) and Dgraph differ on pricing model (Usage-based against Freemium), platforms and category (Cloud against Databases). 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, iOS, Android | Linux, macOS, Self-hosted, Web |
| Category | Cloud | Databases |
| Founded | 2006 | 2016 |
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 20 appear only for AWS (Amazon Web Services) and 10 only for Dgraph. 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 is each one used for?
AWS (Amazon Web Services) is most often brought in for web hosting. 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 do AWS (Amazon Web Services) and Dgraph fall short?
AWS (Amazon Web Services)'s most cited limit: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills. 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
How much do AWS (Amazon Web Services) and Dgraph cost?
AWS (Amazon Web Services) is free to use; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
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/mo
- 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, iOS, Android.
- 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, macOS, Self-hosted, Web.
- You also want generated graphql api.
Questions people ask
- Is AWS (Amazon Web Services) or Dgraph better?
- It depends on the job. AWS (Amazon Web Services) fits web hosting; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. AWS (Amazon Web Services) starts at Free and Dgraph at Free.
- 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, iOS, Android. Dgraph runs on Linux, macOS, Self-hosted, 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 Linode
- AWS (Amazon Web Services) vs Wasabi
- AWS (Amazon Web Services) vs Hetzner Cloud
- AWS (Amazon Web Services) vs Huawei Cloud
- AWS (Amazon Web Services) vs Nebius
- AWS (Amazon Web Services) vs OVHcloud
- AWS (Amazon Web Services) vs Akamai
- AWS (Amazon Web Services) vs DigitalOcean
- AWS (Amazon Web Services) vs Confluent Cloud
- AWS (Amazon Web Services) vs Rancher
- AWS (Amazon Web Services) vs HAProxy
- AWS (Amazon Web Services) vs IBM Cloud
- AWS (Amazon Web Services) vs Northflank
- AWS (Amazon Web Services) vs K3s
- AWS (Amazon Web Services) vs ArangoDB
- AWS (Amazon Web Services) vs Neo4j
- AWS (Amazon Web Services) vs Azure Cosmos DB
- AWS (Amazon Web Services) vs SurrealDB
- AWS (Amazon Web Services) vs Elasticsearch
- AWS (Amazon Web Services) vs Couchbase
- AWS (Amazon Web Services) vs Cassandra
- AWS (Amazon Web Services) vs Aerospike
- AWS (Amazon Web Services) vs Firebase Realtime Database
- AWS (Amazon Web Services) vs ScyllaDB
- AWS (Amazon Web Services) vs FaunaDB
- AWS (Amazon Web Services) vs RavenDB
- AWS (Amazon Web Services) vs Nile
- AWS (Amazon Web Services) vs Readyset
- AWS (Amazon Web Services) vs SAP HANA
- AWS (Amazon Web Services) vs Vertica
- AWS (Amazon Web Services) vs Airtable
- AWS (Amazon Web Services) vs Supabase
- Dgraph vs Google Cloud Platform
- Dgraph vs Microsoft Azure
- Dgraph vs Oracle Cloud
- Dgraph vs Vultr
- Dgraph vs Linode
- Dgraph vs Wasabi
- Dgraph vs Hetzner Cloud
- Dgraph vs Huawei Cloud
- Dgraph vs Nebius
- Dgraph vs OVHcloud
- Dgraph vs Akamai
- Dgraph vs DigitalOcean
- Dgraph vs Confluent Cloud
- Dgraph vs Rancher
- Dgraph vs HAProxy
- Dgraph vs IBM Cloud
- Dgraph vs Northflank
- Dgraph vs K3s
- Dgraph vs ArangoDB
- Dgraph vs Neo4j
- Dgraph vs Azure Cosmos DB
- Dgraph vs SurrealDB
- Dgraph vs Elasticsearch
- Dgraph vs Couchbase
- Dgraph vs Cassandra
- Dgraph vs Aerospike
- Dgraph vs Firebase Realtime Database
- Dgraph vs ScyllaDB
- Dgraph vs FaunaDB
- Dgraph vs RavenDB
- Dgraph vs Nile
- Dgraph vs Readyset
- Dgraph vs SAP HANA
- Dgraph vs Vertica
- Dgraph vs Airtable
- Dgraph vs Supabase
