Softwr

Logging · head to head

CloudWatch vs Eclipse Mosquitto

CloudWatch logo

CloudWatch

Logging

AWS Monitoring and Observability

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

  • Both are free.
  • Only CloudWatch lists metrics collection; only Eclipse Mosquitto lists very small footprint.
  • Where CloudWatch falls short: the free tier covers 5 GB of log ingestion and 10 custom metrics a month, after which log ingestion is $0.50 per GB from 5 to 30 GB.

How do CloudWatch and Eclipse Mosquitto differ?

CloudWatch and Eclipse Mosquitto differ on pricing model, platforms and category (Logging against Networking). Only the attributes on which CloudWatch and Eclipse Mosquitto actually diverge.

Attributes where CloudWatch and Eclipse Mosquitto differ
AttributeCloudWatchEclipse Mosquitto
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWeb, APILinux, Windows, macOS, Self-hosted
CategoryLoggingNetworking

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

Not yet recorded: founded for Eclipse Mosquitto.

Which features does each one have?

They share no listed features; 9 appear only for CloudWatch 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 CloudWatch

  • Metrics collection
  • Log aggregation
  • Dashboards
  • Alarms and notifications
  • API
  • Webhooks
  • REST
  • Web support

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?

CloudWatch is most often brought in for metrics and log collection for AWS workloads. The jobs each tool is most often brought in to do.

CloudWatch

  • Metrics and log collection for AWS workloadsnot Eclipse Mosquitto
  • Alarming on thresholds across AWS servicesnot Eclipse Mosquitto
  • Querying logs with Logs Insightsnot Eclipse Mosquitto
  • Live tailing logs during an incidentnot Eclipse Mosquitto
  • Distributed tracing alongside X-Raynot Eclipse Mosquitto

Eclipse Mosquitto

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

Where do CloudWatch and Eclipse Mosquitto fall short?

CloudWatch's most cited limit: each custom dashboard beyond the free three is $3 a month. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

CloudWatch

  • The free tier covers 5 GB of log ingestion and 10 custom metrics a month, after which log ingestion is $0.50 per GB from 5 to 30 GB
  • Custom metrics are $0.30 each for the first 10,000, so instrumenting broadly gets expensive before volume discounts apply
  • Each custom dashboard beyond the free three is $3 a month
  • Alarms are billed at $0.10 per alarm metric a month, with high-resolution alarms costing more
  • Log storage beyond the free 5 GB is $0.03 per GB per month on top of the ingestion charge

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 CloudWatch and Eclipse Mosquitto cost?

CloudWatch is free to use; Eclipse Mosquitto is free to use. Plan by plan below, from each vendor's own pricing page.

CloudWatch

Free
  • Pay-as-you-goFree
    • Logs ingestion: $0.50/GB (first 5GB free), down to $0.05/GB at scale
    • Logs storage: $0.03/GB/month
    • Live Tail: $0.01/minute after 1,800 free minutes
  • Free tierFree
    • 5GB logs ingestion per month
    • 10 custom metrics
    • 3 custom dashboards

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

  • You need metrics collection.
  • You want to start without paying.
  • You work on Web, API.
  • You also want log aggregation.

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 CloudWatch or Eclipse Mosquitto better?
It depends on the job. CloudWatch fits metrics and log collection for AWS workloads; Eclipse Mosquitto fits a home or building automation stack where the broker must run on the same small computer as everything else. CloudWatch starts at Free and Eclipse Mosquitto at Free.
Which is cheaper, CloudWatch or Eclipse Mosquitto?
CloudWatch starts at Free and Eclipse Mosquitto at Free.
Does CloudWatch or Eclipse Mosquitto run on more platforms?
CloudWatch runs on Web, API. Eclipse Mosquitto runs on Linux, Windows, macOS, Self-hosted.
Can I use CloudWatch for free?
Both have a free tier, so you can try either at no cost before committing.
What is CloudWatch best used for?
CloudWatch is most often used for metrics and log collection for aws workloads, alarming on thresholds across aws services, querying logs with logs insights, live tailing logs during an incident. Of those, metrics and log collection for aws workloads and alarming on thresholds across aws services are not what Eclipse Mosquitto is typically brought in for.
What can CloudWatch do that Eclipse Mosquitto cannot?
CloudWatch covers Metrics collection, Log aggregation, Dashboards, Alarms and notifications. Eclipse Mosquitto covers MQTT 5.0 support, Very small footprint, Bridging, WebSockets listener.

Answered from the vendors’ own pages

CloudWatch: How much does Amazon CloudWatch cost?

CloudWatch uses pay-as-you-go pricing with no upfront commitment. Logs ingestion costs $0.50/GB (first 5GB free), logs storage is $0.03/GB/month, custom metrics cost $0.30/metric/month (first 10,000), custom dashboards are $3/month, and standard alarms are $0.10/metric/month.

Source
Eclipse Mosquitto: Can Mosquitto be clustered?

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

CloudWatch: Does CloudWatch offer a free tier?

Yes, CloudWatch free tier includes 5GB logs ingestion, 10 custom metrics, 3 custom dashboards, and 10 alarm metrics per month at no charge. Usage beyond these limits incurs pay-as-you-go fees.

Source
Eclipse Mosquitto: What licence is it?

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

CloudWatch: What are CloudWatch's pricing tiers for high-volume usage?

CloudWatch offers tiered pricing with volume discounts: logs ingestion starts at $0.50/GB and decreases to $0.05/GB at higher volumes; custom metrics start at $0.30/metric/month and decline to $0.05 at higher volumes; Application Signals cost $1.50 per million traces initially, declining to $0.30.

Source
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