Softwr

Databases · head to head

AWS Shield vs Dgraph

AWS Shield logo

AWS Shield

Databases

DDoS protection for AWS, free Standard tier and a $3,000 a month Advanced subscription

From
Free
Free plan
Yes
Dgraph logo

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 $3000/mo and $39/mo.
  • Only AWS Shield lists shield Standard; only Dgraph lists apache 2.0 licence.
  • Where AWS Shield falls short: data transfer out fees apply on protected resources on top of the subscription, which adds to an already large bill for high-traffic sites.

How do AWS Shield and Dgraph differ?

AWS Shield and Dgraph differ on pricing model and platforms. Only the attributes on which AWS Shield and Dgraph actually diverge.

Attributes where AWS Shield and Dgraph differ
AttributeAWS ShieldDgraph
Pricing modelFree Standard tier, Advanced from $3,000 per monthFreemium
PlatformsWebLinux, macOS, Self-hosted, Web

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for AWS Shield, founded for AWS Shield.

Which features does each one have?

They share no listed features; 6 appear only for AWS Shield 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 Shield

  • Shield Standard
  • Shield Advanced detection
  • Shield Response Team
  • DDoS cost protection
  • WAF usage included
  • Application-layer mitigation

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 Shield is most often brought in for teams that need a named response team on call during DDoS events. The jobs each tool is most often brought in to do.

AWS Shield

  • An e-commerce or gaming platform where an outage during an attack costs more than $36,000 a yearnot Dgraph
  • Teams that need a named response team on call during DDoS eventsnot Dgraph
  • Organisations that want scaling-cost credits after an attack on a CloudFront or load balancer front endnot Dgraph
  • Large sites that already pay for substantial AWS WAF request volumenot 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 Shield
  • A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot AWS Shield
  • Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot AWS Shield
  • Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot AWS Shield

Where do AWS Shield and Dgraph fall short?

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS Shield

  • The $3,000 monthly fee carries a one-year commitment that auto-renews, so cancelling mid-term does not return the money and a small team is locked into $36,000 a year
  • Shield Advanced protects only eligible resources owned by the subscribing account, so applications hosted outside AWS or on unsupported services are not covered
  • Data transfer out fees apply on protected resources on top of the subscription, which adds to an already large bill for high-traffic sites
  • Cost protection and other benefits depend on meeting the one-year term and on following AWS configuration guidance, so claims are not automatic
  • Application-layer mitigation relies on AWS WAF rules that you still have to design and tune, so Shield alone does not stop layer 7 floods

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 Shield and Dgraph cost?

AWS Shield has a free plan, with paid plans from $3000/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.

AWS Shield

Free
  • Shield StandardFree
    • Automatic for every AWS account
    • Network and transport layer DDoS protection
    • No additional cost
  • Shield Advanced$3,000/mo
    • $3,000 per month per payer account, one-year commitment, auto-renews
    • Data transfer out fees apply on protected resources, from $0.025 to $0.05 per GB in the first tier
    • Includes up to 50 billion AWS WAF requests per month

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 Shield if

  • You need shield standard.
  • You want to start without paying.
  • You also want shield advanced detection.

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 Shield or Dgraph better?
It depends on the job. AWS Shield fits an e-commerce or gaming platform where an outage during an attack costs more than $36,000 a year; 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 Shield starts at Free and Dgraph at Free.
Which is cheaper, AWS Shield or Dgraph?
AWS Shield starts at Free and Dgraph at Free.
Does AWS Shield or Dgraph run on more platforms?
AWS Shield runs on Web. Dgraph runs on Linux, macOS, Self-hosted, Web.
Can I use AWS Shield for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS Shield best used for?
AWS Shield is most often used for an e-commerce or gaming platform where an outage during an attack costs more than $36,000 a year, teams that need a named response team on call during ddos events, organisations that want scaling-cost credits after an attack on a cloudfront or load balancer front end, large sites that already pay for substantial aws waf request volume. Of those, an e-commerce or gaming platform where an outage during an attack costs more than $36,000 a year and teams that need a named response team on call during ddos events are not what Dgraph is typically brought in for.
What can AWS Shield do that Dgraph cannot?
AWS Shield covers Shield Standard, Shield Advanced detection, Shield Response Team, DDoS cost protection. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.

Answered from the vendors’ own pages

AWS Shield: Is AWS Shield free?

Shield Standard is free and automatic for all AWS customers. Shield Advanced is a paid subscription, listed at $3,000 per month with a one-year commitment.

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.

AWS Shield: What does Shield Advanced cost on top of the monthly fee?

Data transfer out usage fees on protected resources apply, for example $0.05 per GB for an Application Load Balancer and $0.025 per GB for CloudFront in the first 100 TB.

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.

AWS Shield: Do I need Shield Advanced if I use CloudFront and WAF?

Not necessarily. Standard covers common infrastructure attacks automatically; Advanced adds response-team access, enhanced detection and cost protection for businesses that need them.

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.

Share

Related pages

Other head to heads