Softwr

Networking · head to head

MQTT vs Packer

MQTT logo

MQTT

Networking

Lightweight messaging protocol for IoT devices

From
Free
Free plan
Yes
Packer logo

Packer

Cloud

Build automated machine images

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only MQTT lists QoS Levels; only Packer lists image building.
  • Where MQTT falls short: MQTT is an open-source protocol standard with no commercial pricing; not a commercial product.
  • Where Packer falls short: Packer 1.10.0 and later is licensed under the Business Source License 1.1 with IBM Corporation as licensor, not an OSI open source licence.

How do MQTT and Packer differ?

MQTT and Packer differ on platforms, category (Networking against Cloud) and year founded (1999 against 2013). Only the attributes on which MQTT and Packer actually diverge.

Attributes where MQTT and Packer differ
AttributeMQTTPacker
PlatformsAny platform, Embedded devices, Web, Browser extensionLinux, Windows, macOS
CategoryNetworkingCloud
Founded19992013

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Which features does each one have?

They share no listed features; 12 appear only for MQTT and 20 only for Packer. 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 MQTT

  • Publish-Subscribe
  • Lightweight
  • QoS Levels
  • Retained Messages
  • IoT platforms
  • Home automation
  • Cloud services
  • Edge devices

Only in Packer

  • Image building
  • Multi-platform support
  • Provisioners
  • Builders
  • Post-processors
  • Variables
  • Data sources
  • Validation

What is each one used for?

MQTT is most often brought in for IoT messaging; Packer for building identical machine images for multiple clouds from one template. The jobs each tool is most often brought in to do.

MQTT

  • IoT messagingnot Packer
  • Sensor datanot Packer
  • Real-time updatesnot Packer
  • Device telemetrynot Packer

Packer

  • Building identical machine images for multiple clouds from one templatenot MQTT
  • Baking golden AMIs and VM images into a CI pipelinenot MQTT
  • Creating immutable infrastructure artifacts consumed by Terraformnot MQTT

Where do MQTT and Packer fall short?

MQTT's most cited limit: MQTT is an open-source protocol standard with no commercial pricing; not a commercial product. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

MQTT

  • MQTT is an open-source protocol standard with no commercial pricing; not a commercial product
  • Security is not built into the protocol: encryption relies on TLS or application level encryption, and TLS adds network overhead
  • Clients cannot exchange messages directly: a broker server is required to route published messages to subscribers
  • Delivery has only three quality of service levels (at most once, at least once, exactly once), so richer routing needs broker features

Packer

  • Packer 1.10.0 and later is licensed under the Business Source License 1.1 with IBM Corporation as licensor, not an OSI open source licence
  • The Additional Use Grant forbids offering Packer to third parties on a hosted or embedded basis in a paid product that competes with IBM's paid versions of Packer
  • Each version converts to the MPL 2.0 Change License only four years after that version is first published, and the Change Date is set separately per version
  • Alternative licensing for uses outside the grant must be arranged with the licensor rather than taken under the public licence

How much do MQTT and Packer cost?

MQTT is free to use; Packer is free to use. Plan by plan below, from each vendor's own pricing page.

MQTT

Free
  • Open ProtocolFree
    • Publish-subscribe
    • Lightweight
    • QoS levels

Packer

Free
  • Open SourceFree
    • Multi-platform image building
    • Template-driven
    • Provisioner support

Which should you pick?

Choose MQTT if

  • You need publish-subscribe.
  • You want to start without paying.
  • You work on Any platform, Embedded devices, Web, Browser extension.
  • You also want lightweight.

Choose Packer if

  • You need image building.
  • You want to start without paying.
  • You work on Linux, Windows, macOS.
  • You also want multi-platform support.

Questions people ask

Is MQTT or Packer better?
It depends on the job. MQTT fits ioT messaging; Packer fits building identical machine images for multiple clouds from one template. MQTT starts at Free and Packer at Free.
Which is cheaper, MQTT or Packer?
MQTT starts at Free and Packer at Free.
Does MQTT or Packer run on more platforms?
MQTT runs on Any platform, Embedded devices, Web, Browser extension. Packer runs on Linux, Windows, macOS.
Can I use MQTT for free?
Both have a free tier, so you can try either at no cost before committing.
What is MQTT best used for?
MQTT is most often used for iot messaging, sensor data, real-time updates, device telemetry. Of those, iot messaging and sensor data are not what Packer is typically brought in for.
What can MQTT do that Packer cannot?
MQTT covers Publish-Subscribe, Lightweight, QoS Levels, Retained Messages. Packer covers Image building, Multi-platform support, Provisioners, Builders.

Answered from the vendors’ own pages

MQTT: Does MQTT have a commercial license cost?

MQTT is an open-source communication protocol and standard. No pricing is published because MQTT itself is not a commercial product for sale.

Source
Packer: How much does HashiCorp Packer cost?

Packer does not publish specific pricing on its website. The open-source Packer tool is free, while HCP Packer (HashiCorp's cloud-hosted version) offers a free trial, but detailed pricing requires contacting HashiCorp.

Source
Share

Related pages

Other head to heads