Databases · head to head
Amazon VPC vs Dgraph

Amazon VPC
Databases
The private network layer for AWS, free to create with paid NAT, endpoints and addresses
- 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
- Free plans on both; paid from $0.005/mo and $39/mo.
- Only Amazon VPC lists subnets and routing; only Dgraph lists apache 2.0 licence.
- Where Amazon VPC falls short: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost.
How do Amazon VPC and Dgraph differ?
Amazon VPC and Dgraph differ on pricing model and platforms. Only the attributes on which Amazon VPC and Dgraph actually diverge.
| Attribute | Amazon VPC | Dgraph |
|---|---|---|
| Pricing model | Free VPC, metered NAT gateways, addresses and add-ons | Freemium |
| Platforms | Web | Linux, macOS, Self-hosted, Web |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for Amazon VPC, founded for Amazon VPC.
Which features does each one have?
They share no listed features; 6 appear only for Amazon VPC 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 Amazon VPC
- Subnets and routing
- Security groups and NACLs
- NAT gateways
- PrivateLink endpoints
- Flow Logs and Traffic Mirroring
- IPAM
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?
Amazon VPC is most often brought in for isolating production, staging and development workloads in separate networks. The jobs each tool is most often brought in to do.
Amazon VPC
- Isolating production, staging and development workloads in separate networksnot Dgraph
- Giving private subnets outbound access through a NAT gateway while blocking inbound trafficnot Dgraph
- Reaching S3 and other AWS services over private endpoints to avoid NAT data chargesnot Dgraph
- Capturing and mirroring traffic for intrusion detectionnot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Amazon VPC
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Amazon VPC
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Amazon VPC
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Amazon VPC
Where do Amazon VPC and Dgraph fall short?
Amazon VPC's most cited limit: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon VPC
- NAT gateways charge $0.045 per hour and $0.045 per GB, so private workloads pulling large data volumes from the internet can generate a large bill with no obvious source
- Every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost
- Cross-Availability Zone traffic is billed per GB, so designs that spread chatty services across zones pay for the resilience in data transfer fees
- Networking is regional and per account, so connecting many VPCs needs Transit Gateway or peering, each with its own pricing and limits
- Security groups, NACLs and route tables are easy to misconfigure, and there is no built-in policy checking beyond tools such as Reachability Analyzer, which is billed per analysis
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 Amazon VPC and Dgraph cost?
Amazon VPC has a free plan, with paid plans from $0.005/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
Amazon VPC
Free- VPC, subnets and security groupsFree
- No charge to create a VPC, subnets, route tables, security groups or network ACLs
- NAT Gateway$0.045/hour
- $0.045 per hour per gateway
- $0.045 per GB processed
- Regional NAT Gateway is $0.045 per hour per Availability Zone
- Public IPv4 address$0.005/hour
- $0.005 per hour, in use or idle
- Traffic mirroring $0.015 per session hour
- IPAM Advanced Tier $0.00027 per active IP address hour
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose Amazon VPC if
- You need subnets and routing.
- You want to start without paying.
- You also want security groups and nacls.
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 Amazon VPC or Dgraph better?
- It depends on the job. Amazon VPC fits isolating production, staging and development workloads in separate networks; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. Amazon VPC starts at Free and Dgraph at Free.
- Which is cheaper, Amazon VPC or Dgraph?
- Amazon VPC starts at Free and Dgraph at Free.
- Does Amazon VPC or Dgraph run on more platforms?
- Amazon VPC runs on Web. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use Amazon VPC for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Amazon VPC best used for?
- Amazon VPC is most often used for isolating production, staging and development workloads in separate networks, giving private subnets outbound access through a nat gateway while blocking inbound traffic, reaching s3 and other aws services over private endpoints to avoid nat data charges, capturing and mirroring traffic for intrusion detection. Of those, isolating production, staging and development workloads in separate networks and giving private subnets outbound access through a nat gateway while blocking inbound traffic are not what Dgraph is typically brought in for.
- What can Amazon VPC do that Dgraph cannot?
- Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
Amazon VPC: Is Amazon VPC free?
Creating a VPC, subnets, route tables and security groups is free. NAT gateways, public IPv4 addresses, traffic mirroring and PrivateLink endpoints are charged.
Dgraph: 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.
Amazon VPC: How much does a NAT gateway cost?
$0.045 per hour in US East plus $0.045 per GB processed, per the AWS pricing page, before standard data transfer charges.
Dgraph: 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.
Amazon VPC: Are public IPv4 addresses charged?
Yes. $0.005 per hour per public IPv4 address, whether in use or idle.
Dgraph: 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.
Dgraph: 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
Other head to heads
- Amazon VPC vs Google Cloud Platform
- Amazon VPC vs HAProxy
- Amazon VPC vs Cilium
- Amazon VPC vs Coolify
- Amazon VPC vs DigitalOcean
- Amazon VPC vs Hetzner Cloud
- Amazon VPC vs Nutanix
- Amazon VPC vs OVHcloud
- Amazon VPC vs OpenStack
- Amazon VPC vs Proxmox VE
- Amazon VPC vs Scaleway
- Amazon VPC vs Portworx
- Amazon VPC vs Nomad
- Amazon VPC vs OpenEBS
- Amazon VPC vs Paperspace
- Amazon VPC vs Longhorn
- Amazon VPC vs minikube
- Amazon VPC vs Rook
- Amazon VPC vs ArangoDB
- Amazon VPC vs Neo4j
- Amazon VPC vs Azure Cosmos DB
- Amazon VPC vs SurrealDB
- Amazon VPC vs Elasticsearch
- Amazon VPC vs Couchbase
- Amazon VPC vs Cassandra
- Amazon VPC vs Aerospike
- Amazon VPC vs Firebase Realtime Database
- Amazon VPC vs ScyllaDB
- Amazon VPC vs FaunaDB
- Amazon VPC vs RavenDB
- Amazon VPC vs Estuary
- Amazon VPC vs Materialize
- Amazon VPC vs Memcached
- Amazon VPC vs Milvus
- Amazon VPC vs SQLite
- Amazon VPC vs TiDB
- Dgraph vs Google Cloud Platform
- Dgraph vs HAProxy
- Dgraph vs Cilium
- Dgraph vs Coolify
- Dgraph vs DigitalOcean
- Dgraph vs Hetzner Cloud
- Dgraph vs Nutanix
- Dgraph vs OVHcloud
- Dgraph vs OpenStack
- Dgraph vs Proxmox VE
- Dgraph vs Scaleway
- Dgraph vs Portworx
- Dgraph vs Nomad
- Dgraph vs OpenEBS
- Dgraph vs Paperspace
- Dgraph vs Longhorn
- Dgraph vs minikube
- Dgraph vs Rook
- 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 Estuary
- Dgraph vs Materialize
- Dgraph vs Memcached
- Dgraph vs Milvus
- Dgraph vs SQLite
- Dgraph vs TiDB
