Softwr

File Storage · head to head

Amazon SQS vs Ceph

Amazon SQS logo

Amazon SQS

File Storage

Fully managed message queues that decouple services, priced per request

From
On request
Free plan
No
Ceph logo

Ceph

File Storage

Open source distributed storage providing object, block and file from one cluster

From
Free
Free plan
Yes

The short version

  • Amazon SQS is a managed message queue.
  • Ceph is free; Amazon SQS prices on request.
  • Only Amazon SQS lists standard queues; only Ceph lists RADOS object store.
  • Where Amazon SQS falls short: messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka.

How do Amazon SQS and Ceph differ?

Amazon SQS and Ceph differ on starting price (On request against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon SQS and Ceph actually diverge.

Attributes where Amazon SQS and Ceph differ
AttributeAmazon SQSCeph
Starting priceOn requestFree
Pricing modelPer million requestsOpen source, no licence fee
Free tierNoYes
PlatformsWeb, LinuxLinux

Not yet recorded: category for Amazon SQS.

Which features does each one have?

They share no listed features; 6 appear only for Amazon SQS and 6 only for Ceph. 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 SQS

  • Standard queues
  • FIFO queues
  • Dead-letter queues
  • Fair queues
  • Long polling
  • Server-side encryption

Only in Ceph

  • RADOS object store
  • RADOS Gateway
  • RBD block devices
  • CephFS
  • CRUSH placement
  • Erasure coded pools

What is each one used for?

Amazon SQS is most often brought in for buffering bursts of work so a slower downstream service is not overwhelmed. The jobs each tool is most often brought in to do.

Amazon SQS

  • Buffering bursts of work so a slower downstream service is not overwhelmednot Ceph
  • Triggering Lambda functions from a queue with automatic retries and a dead-letter queuenot Ceph
  • Ordered processing of per-customer events using FIFO message groupsnot Ceph
  • Splitting a monolith into services that talk through durable messagesnot Ceph

Ceph

  • Backing a private cloud where virtual machine disks, shared filesystems and an S3 endpoint all need the same hardwarenot Amazon SQS
  • Growing past the point where a proprietary array upgrade costs more than a rack of commodity serversnot Amazon SQS
  • Research and media environments with petabytes of data and staff who can operate storagenot Amazon SQS
  • Providing an S3 endpoint on premises with multi site replication under your own controlnot Amazon SQS

Where do Amazon SQS and Ceph fall short?

Amazon SQS's most cited limit: messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon SQS

  • Messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka
  • Every API call is billed, including empty polls and deletes, so a badly configured short-polling consumer can cost more than the messages it handles
  • A single queue has one consumer group; delivering the same message to several systems requires an SNS topic fanning out to several queues
  • The maximum message size is small compared with data pipelines, so larger payloads must be stored in S3 and referenced
  • FIFO queues carry a higher rate and throughput limits that Standard queues do not have, which complicates scaling ordered workloads

Ceph

  • Ceph assumes an operator who understands placement groups, CRUSH rules and recovery tuning, so organisations without dedicated storage staff routinely end up with a cluster that works until the first failure and then does not
  • Small clusters are inefficient: three way replication means a third of raw capacity is usable, and erasure coding needs enough failure domains to be safe, so the economics only work above a certain size
  • Recovery and rebalancing generate heavy internal traffic, so a failed disk can degrade client latency across the cluster unless backfill is throttled correctly beforehand
  • Upgrades must follow a strict daemon order across monitors, managers, OSDs and gateways, and a mistake in that order on a live cluster is difficult to reverse
  • Because it is self hosted, every byte served to the internet is transit you pay for on your own links, so the free licence does not mean free egress and bandwidth planning becomes your problem rather than the providers

How much do Amazon SQS and Ceph cost?

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

Amazon SQS

On request
  • Standard queueOn request
    • First 1 million requests per month free
    • $0.40 per million requests in the first volume tier
    • Lower rates at very high volumes
  • FIFO queueOn request
    • $0.50 per million requests in the first volume tier
    • Ordering and deduplication by message group
  • Fair queue add-onOn request
    • $0.10 per million fair queue requests, charged on top of Standard rates

Ceph

Free
  • CephFree
    • Full functionality, no capacity limit
    • Object, block and file interfaces
    • Community support via mailing list and Slack

Which should you pick?

Choose Amazon SQS if

  • You need standard queues.
  • You work on Web, Linux.
  • You also want fifo queues.

Choose Ceph if

  • You need rados object store.
  • You want to start without paying.
  • You work on Linux.
  • You also want rados gateway.

Questions people ask

Is Amazon SQS or Ceph better?
It depends on the job. Amazon SQS fits buffering bursts of work so a slower downstream service is not overwhelmed; Ceph fits backing a private cloud where virtual machine disks, shared filesystems and an S3 endpoint all need the same hardware. Amazon SQS starts at On request and Ceph at Free.
Which is cheaper, Amazon SQS or Ceph?
Ceph has a free tier; the other does not. Paid plans start at On request for Amazon SQS and Free for Ceph.
Does Amazon SQS or Ceph run on more platforms?
Amazon SQS runs on Web, Linux. Ceph runs on Linux.
Can I use Ceph for free?
Yes. Ceph has a free tier, so you can try it without paying. Amazon SQS starts at On request.
What is Amazon SQS best used for?
Amazon SQS is most often used for buffering bursts of work so a slower downstream service is not overwhelmed, triggering lambda functions from a queue with automatic retries and a dead-letter queue, ordered processing of per-customer events using fifo message groups, splitting a monolith into services that talk through durable messages. Of those, buffering bursts of work so a slower downstream service is not overwhelmed and triggering lambda functions from a queue with automatic retries and a dead-letter queue are not what Ceph is typically brought in for.
What can Amazon SQS do that Ceph cannot?
Amazon SQS covers Standard queues, FIFO queues, Dead-letter queues, Fair queues. Ceph covers RADOS object store, RADOS Gateway, RBD block devices, CephFS.

Answered from the vendors’ own pages

Amazon SQS: Is SQS free?

The first 1 million requests each month are free across regions, per AWS. Beyond that you pay per million requests.

Ceph: How many nodes do I need to start?

Three is the practical minimum for a replicated cluster with real fault tolerance, and most production advice starts at five once you account for maintenance windows.

Amazon SQS: What is the difference between SQS and SNS?

SQS stores messages for a consumer to pull; SNS pushes one message to many subscribers. They are commonly combined.

Ceph: Is it faster than a SAN?

Not on single stream latency. It wins on aggregate throughput and on growing without a forklift upgrade, which is a different property from raw speed.

Amazon SQS: Does SQS guarantee order?

Only FIFO queues do, within a message group. Standard queues deliver at least once and may reorder.

Ceph: Can I buy support?

Yes. IBM sells IBM Storage Ceph and SUSE and others have offered supported builds; the upstream project itself is free.

Ceph: Should I use it just for S3?

If object is all you need, a dedicated object store is simpler to run. Ceph earns its complexity when you need block and file as well.

Share

Related pages

Other head to heads