Softwr

Networking · head to head

AWS Shield vs Eclipse Mosquitto

AWS Shield logo

AWS Shield

Networking

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

From
Free
Free plan
Yes
Eclipse Mosquitto logo

Eclipse Mosquitto

Networking

Small, EPL-licensed MQTT broker that runs on hardware other brokers cannot

From
Free
Free plan
Yes

The short version

  • Eclipse Mosquitto is free; AWS Shield starts at $3000/mo.
  • Only AWS Shield lists shield Standard; only Eclipse Mosquitto lists MQTT 5.0 support.
  • 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 Eclipse Mosquitto differ?

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

Attributes where AWS Shield and Eclipse Mosquitto differ
AttributeAWS ShieldEclipse Mosquitto
Pricing modelFree Standard tier, Advanced from $3,000 per monthOpen source, no licence fee
PlatformsWebLinux, Windows, macOS, Self-hosted

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

Not yet recorded: category for AWS Shield.

Which features does each one have?

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

  • MQTT 5.0 support
  • Very small footprint
  • Bridging
  • WebSockets listener
  • Command line clients
  • Dynamic security plugin

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 Eclipse Mosquitto
  • Teams that need a named response team on call during DDoS eventsnot Eclipse Mosquitto
  • Organisations that want scaling-cost credits after an attack on a CloudFront or load balancer front endnot Eclipse Mosquitto
  • Large sites that already pay for substantial AWS WAF request volumenot Eclipse Mosquitto

Eclipse Mosquitto

  • A home or building automation stack where the broker must run on the same small computer as everything elsenot AWS Shield
  • An industrial gateway that buffers local telemetry and bridges selected topics to a cloud brokernot AWS Shield
  • Local development and testing of MQTT clients without provisioning a cloud IoT servicenot AWS Shield
  • An air-gapped deployment where a broker with no licence server and no phone-home behaviour is a requirementnot AWS Shield

Where do AWS Shield and Eclipse Mosquitto 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

Eclipse Mosquitto

  • There is no clustering: Mosquitto is a single process, so high availability means building your own failover and accepting session loss on switchover
  • Persistence is a local file rather than a replicated store, so a disk failure or an unclean shutdown can lose retained messages and queued QoS traffic
  • Practical capacity is a few thousand concurrent clients on typical hardware, so a growing device fleet eventually forces a migration to a clustered broker
  • The Eclipse Public Licence is weak copyleft rather than permissive, which some legal teams treat as a blocker when embedding the broker in a shipped commercial product
  • There is no commercial support to buy from the project, so production incidents rely on community mailing lists or on paying a third party who happens to know the codebase

How much do AWS Shield and Eclipse Mosquitto cost?

AWS Shield has a free plan, with paid plans from $3000/mo; Eclipse Mosquitto is free to use. 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

Eclipse Mosquitto

Free
  • Eclipse MosquittoFree
    • Eclipse Public License 2.0 with Eclipse Distribution Licence
    • MQTT 5.0, 3.1.1 and 3.1
    • No client or message limits beyond your hardware

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 Eclipse Mosquitto if

  • You need mqtt 5.0 support.
  • You want to start without paying.
  • You work on Linux, Windows, macOS, Self-hosted.
  • You also want very small footprint.

Questions people ask

Is AWS Shield or Eclipse Mosquitto 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; Eclipse Mosquitto fits a home or building automation stack where the broker must run on the same small computer as everything else. AWS Shield starts at Free and Eclipse Mosquitto at Free.
Which is cheaper, AWS Shield or Eclipse Mosquitto?
AWS Shield starts at Free and Eclipse Mosquitto at Free.
Does AWS Shield or Eclipse Mosquitto run on more platforms?
AWS Shield runs on Web. Eclipse Mosquitto runs on Linux, Windows, macOS, Self-hosted.
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 Eclipse Mosquitto is typically brought in for.
What can AWS Shield do that Eclipse Mosquitto cannot?
AWS Shield covers Shield Standard, Shield Advanced detection, Shield Response Team, DDoS cost protection. Eclipse Mosquitto covers MQTT 5.0 support, Very small footprint, Bridging, WebSockets listener.

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.

Eclipse Mosquitto: Can Mosquitto be clustered?

No. It is a single process. High availability requires an external failover arrangement you build yourself.

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.

Eclipse Mosquitto: What licence is it?

Eclipse Public License 2.0 alongside the Eclipse Distribution License, a weak copyleft rather than a permissive licence.

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.

Eclipse Mosquitto: How many clients can it handle?

A few thousand concurrent connections on ordinary hardware; beyond that, use a clustered broker.

Eclipse Mosquitto: Does it support MQTT 5?

Yes, along with 3.1.1 and 3.1.

Share

Related pages

Other head to heads