Softwr

Cloud · head to head

Amazon S3 vs MQTT

Amazon S3 logo

Amazon S3

Cloud

Amazon Web Services' pay-as-you-go object storage service

From
On request
Free plan
No
MQTT logo

MQTT

Networking

Lightweight messaging protocol for IoT devices

From
Free
Free plan
Yes

The short version

  • MQTT is free; Amazon S3 prices on request.
  • Only Amazon S3 lists object storage in buckets; only MQTT lists QoS Levels.
  • Where Amazon S3 falls short: billing depends on storage class, requests and transfer, so total cost is hard to predict.
  • Where MQTT falls short: MQTT is an open-source protocol standard with no commercial pricing; not a commercial product.

How do Amazon S3 and MQTT differ?

Amazon S3 and MQTT differ on starting price (On request against Free), pricing model (Usage-based against Open-source) and free tier (No against Yes). Only the attributes on which Amazon S3 and MQTT actually diverge.

Attributes where Amazon S3 and MQTT differ
AttributeAmazon S3MQTT
Starting priceOn requestFree
Pricing modelUsage-basedOpen-source
Free tierNoYes
PlatformsWebAny platform, Embedded devices, Web, Browser extension
CategoryCloudNetworking

Not yet recorded: founded for Amazon S3.

Which features does each one have?

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

  • Object storage in buckets
  • Multiple storage classes including Glacier
  • S3 Intelligent-Tiering
  • Versioning
  • Replication
  • Encryption by default
  • Static website hosting
  • Time-limited authenticated URLs

Only in MQTT

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

What is each one used for?

Amazon S3 is most often brought in for data lake storage for analytics; MQTT for IoT messaging. The jobs each tool is most often brought in to do.

Amazon S3

  • Data lake storage for analyticsnot MQTT
  • Application and mobile app file storagenot MQTT
  • Long-term archives in Glacier classesnot MQTT
  • Static website hostingnot MQTT

MQTT

  • IoT messagingnot Amazon S3
  • Sensor datanot Amazon S3
  • Real-time updatesnot Amazon S3
  • Device telemetrynot Amazon S3

Where do Amazon S3 and MQTT fall short?

Amazon S3's most cited limit: billing depends on storage class, requests and transfer, so total cost is hard to predict. MQTT's: 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.

Amazon S3

  • Billing depends on storage class, requests and transfer, so total cost is hard to predict
  • Outbound internet data transfer is charged beyond the first 100 GB per month
  • Objects larger than 5 GB need multipart upload because single uploads are capped at 5 GB
  • Versioning is disabled by default and must be switched on per bucket
  • Available only on AWS; moving data elsewhere means egress and re-integration work

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

How much do Amazon S3 and MQTT cost?

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

Amazon S3

On request

No published plan breakdown. See the Amazon S3 review.

MQTT

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

Which should you pick?

Choose Amazon S3 if

  • You need object storage in buckets.
  • You also want multiple storage classes including glacier.

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.

Questions people ask

Is Amazon S3 or MQTT better?
It depends on the job. Amazon S3 fits data lake storage for analytics; MQTT fits ioT messaging. Amazon S3 starts at On request and MQTT at Free.
Which is cheaper, Amazon S3 or MQTT?
MQTT has a free tier; the other does not. Paid plans start at On request for Amazon S3 and Free for MQTT.
Does Amazon S3 or MQTT run on more platforms?
Amazon S3 runs on Web. MQTT runs on Any platform, Embedded devices, Web, Browser extension.
Can I use MQTT for free?
Yes. MQTT has a free tier, so you can try it without paying. Amazon S3 starts at On request.
What is Amazon S3 best used for?
Amazon S3 is most often used for data lake storage for analytics, application and mobile app file storage, long-term archives in glacier classes, static website hosting. Of those, data lake storage for analytics and application and mobile app file storage are not what MQTT is typically brought in for.
What can Amazon S3 do that MQTT cannot?
Amazon S3 covers Object storage in buckets, Multiple storage classes including Glacier, S3 Intelligent-Tiering, Versioning. MQTT covers Publish-Subscribe, Lightweight, QoS Levels, Retained Messages.

Answered from the vendors’ own pages

Amazon S3: What is Amazon S3?

Amazon S3 is an object storage service from AWS, described as built to retrieve any amount of data from anywhere. It is used for data lakes, cloud-native applications and mobile apps.

Source
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
Amazon S3: How is S3 priced?

AWS says the cost depends on object size, storage duration and storage class, with no minimum charge. Inbound transfer from the internet is free, as are transfers between buckets in the same Region, and the first 100 GB per month out to the internet is free.

Source
Amazon S3: What is the maximum object size in S3?

Objects can be up to 5 TB. A single upload operation is capped at 5 GB, so larger objects use the multipart upload API.

Source
Amazon S3: Is S3 versioning on by default?

No. Versioning is available but disabled by default. Default bucket-level encryption was added in November 2017.

Source
Share

Related pages

Other head to heads