Networking · head to head
AWS CloudFormation vs Eclipse Mosquitto

AWS CloudFormation
Networking
Declarative infrastructure as code for AWS, free for AWS resources
- From
- Free
- Free plan
- Yes

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 AWS CloudFormation lists stacks and templates; only Eclipse Mosquitto lists MQTT 5.0 support.
- Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.
How do AWS CloudFormation and Eclipse Mosquitto differ?
AWS CloudFormation and Eclipse Mosquitto differ on pricing model and platforms. Only the attributes on which AWS CloudFormation and Eclipse Mosquitto actually diverge.
| Attribute | AWS CloudFormation | Eclipse Mosquitto |
|---|---|---|
| Pricing model | No charge for AWS resource types; extensions per handler operation | Open source, no licence fee |
| Platforms | Web, Linux, macOS, Windows | Linux, Windows, macOS, Self-hosted |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for AWS CloudFormation.
Which features does each one have?
They share no listed features; 6 appear only for AWS CloudFormation 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 CloudFormation
- Stacks and templates
- Change sets
- Drift detection
- StackSets
- Rollback
- Registry extensions
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 CloudFormation is most often brought in for recreating identical dev, staging and production environments on AWS. The jobs each tool is most often brought in to do.
AWS CloudFormation
- Recreating identical dev, staging and production environments on AWSnot Eclipse Mosquitto
- Deploying one baseline of security resources across many accounts with StackSetsnot Eclipse Mosquitto
- Serverless applications packaged with AWS SAMnot Eclipse Mosquitto
- Previewing and auditing infrastructure changes through change setsnot Eclipse Mosquitto
Eclipse Mosquitto
- A home or building automation stack where the broker must run on the same small computer as everything elsenot AWS CloudFormation
- An industrial gateway that buffers local telemetry and bridges selected topics to a cloud brokernot AWS CloudFormation
- Local development and testing of MQTT clients without provisioning a cloud IoT servicenot AWS CloudFormation
- An air-gapped deployment where a broker with no licence server and no phone-home behaviour is a requirementnot AWS CloudFormation
Where do AWS CloudFormation and Eclipse Mosquitto fall short?
AWS CloudFormation's most cited limit: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS CloudFormation
- It only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it
- Raw templates are verbose and hard to reuse, which is why many teams add CDK on top
- A failed update can leave a stack in a stuck state such as UPDATE_ROLLBACK_FAILED that needs manual intervention
- New AWS features sometimes arrive in CloudFormation after the console and API, so you wait or script around the gap
- Deleting a stack deletes its resources, so a mistaken delete of a stack with data needs DeletionPolicy discipline
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 CloudFormation and Eclipse Mosquitto cost?
AWS CloudFormation is free to use; Eclipse Mosquitto is free to use. Plan by plan below, from each vendor's own pricing page.
AWS CloudFormation
Free- AWS resource typesFree
- No additional charge for using CloudFormation with AWS resources
- You pay for the resources the stack creates
- Third-party extensionsOn request
- $0.0009 per handler operation, first 1,000 per month free
- $0.00008 per second of handler duration beyond 30 seconds
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 CloudFormation if
- You need stacks and templates.
- You want to start without paying.
- You work on Web, Linux, macOS, Windows.
- You also want change sets.
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 CloudFormation or Eclipse Mosquitto better?
- It depends on the job. AWS CloudFormation fits recreating identical dev, staging and production environments on AWS; Eclipse Mosquitto fits a home or building automation stack where the broker must run on the same small computer as everything else. AWS CloudFormation starts at Free and Eclipse Mosquitto at Free.
- Which is cheaper, AWS CloudFormation or Eclipse Mosquitto?
- AWS CloudFormation starts at Free and Eclipse Mosquitto at Free.
- Does AWS CloudFormation or Eclipse Mosquitto run on more platforms?
- AWS CloudFormation runs on Web, Linux, macOS, Windows. Eclipse Mosquitto runs on Linux, Windows, macOS, Self-hosted.
- Can I use AWS CloudFormation for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is AWS CloudFormation best used for?
- AWS CloudFormation is most often used for recreating identical dev, staging and production environments on aws, deploying one baseline of security resources across many accounts with stacksets, serverless applications packaged with aws sam, previewing and auditing infrastructure changes through change sets. Of those, recreating identical dev, staging and production environments on aws and deploying one baseline of security resources across many accounts with stacksets are not what Eclipse Mosquitto is typically brought in for.
- What can AWS CloudFormation do that Eclipse Mosquitto cannot?
- AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets. Eclipse Mosquitto covers MQTT 5.0 support, Very small footprint, Bridging, WebSockets listener.
Answered from the vendors’ own pages
AWS CloudFormation: Does CloudFormation cost money?
Not for AWS resource types. You pay for the resources it creates; third-party extensions are billed at $0.0009 per handler operation after 1,000 free.
Eclipse Mosquitto: Can Mosquitto be clustered?
No. It is a single process. High availability requires an external failover arrangement you build yourself.
AWS CloudFormation: CloudFormation or Terraform?
CloudFormation is AWS-only with state managed by AWS; Terraform spans many providers and keeps its own state.
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 CloudFormation: How does CDK relate?
CDK lets you write infrastructure in a programming language and synthesises CloudFormation templates.
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.
Related pages
More on AWS CloudFormation
More on Eclipse Mosquitto
Other head to heads
- AWS CloudFormation vs Terraform
- AWS CloudFormation vs Spacelift
- AWS CloudFormation vs env zero
- AWS CloudFormation vs Atlantis
- AWS CloudFormation vs LocalStack
- AWS CloudFormation vs Coder
- AWS CloudFormation vs Tilt
- AWS CloudFormation vs Harness
- AWS CloudFormation vs Argo CD
- AWS CloudFormation vs Envoy
- AWS CloudFormation vs HCP Terraform
- AWS CloudFormation vs Daytona
- AWS CloudFormation vs Xlinesoft
- AWS CloudFormation vs GitHub Copilot
- AWS CloudFormation vs Visual Studio Code
- AWS CloudFormation vs Kubernetes
- AWS CloudFormation vs Claude Code
- AWS CloudFormation vs Docker
- AWS CloudFormation vs HiveMQ
- AWS CloudFormation vs MQTT
- AWS CloudFormation vs pfSense
- AWS CloudFormation vs Traefik
- AWS CloudFormation vs Zabbix
- AWS CloudFormation vs OpenVPN
- AWS CloudFormation vs Icinga
- AWS CloudFormation vs LibreNMS
- AWS CloudFormation vs Consul
- AWS CloudFormation vs Nebula
- AWS CloudFormation vs Cacti
- AWS CloudFormation vs NetBox
- AWS CloudFormation vs ZeroTier
- AWS CloudFormation vs Kentik
- AWS CloudFormation vs Prometheus
- AWS CloudFormation vs Auvik
- AWS CloudFormation vs Juniper Mist
- AWS CloudFormation vs Netdata
- Eclipse Mosquitto vs Terraform
- Eclipse Mosquitto vs Spacelift
- Eclipse Mosquitto vs env zero
- Eclipse Mosquitto vs Atlantis
- Eclipse Mosquitto vs LocalStack
- Eclipse Mosquitto vs Coder
- Eclipse Mosquitto vs Tilt
- Eclipse Mosquitto vs Harness
- Eclipse Mosquitto vs Argo CD
- Eclipse Mosquitto vs Envoy
- Eclipse Mosquitto vs HCP Terraform
- Eclipse Mosquitto vs Daytona
- Eclipse Mosquitto vs Xlinesoft
- Eclipse Mosquitto vs GitHub Copilot
- Eclipse Mosquitto vs Visual Studio Code
- Eclipse Mosquitto vs Kubernetes
- Eclipse Mosquitto vs Claude Code
- Eclipse Mosquitto vs Docker
- Eclipse Mosquitto vs HiveMQ
- Eclipse Mosquitto vs MQTT
- Eclipse Mosquitto vs pfSense
- Eclipse Mosquitto vs Traefik
- Eclipse Mosquitto vs Zabbix
- Eclipse Mosquitto vs OpenVPN
- Eclipse Mosquitto vs Icinga
- Eclipse Mosquitto vs LibreNMS
- Eclipse Mosquitto vs Consul
- Eclipse Mosquitto vs Nebula
- Eclipse Mosquitto vs Cacti
- Eclipse Mosquitto vs NetBox
- Eclipse Mosquitto vs ZeroTier
- Eclipse Mosquitto vs Kentik
- Eclipse Mosquitto vs Prometheus
- Eclipse Mosquitto vs Auvik
- Eclipse Mosquitto vs Juniper Mist
- Eclipse Mosquitto vs Netdata
