Softwr

Developer Tools · head to head

Amazon SQS vs Envoy

Amazon SQS logo

Amazon SQS

Developer Tools

Fully managed message queues that decouple services, priced per request

From
On request
Free plan
No
Envoy logo

Envoy

Developer Tools

A high-performance L7 proxy written in C++ that is configured by an API rather than a config file, and is usually deployed under a control plane.

From
Free
Free plan
Yes

The short version

  • Amazon SQS is a managed message queue.
  • Envoy is free; Amazon SQS prices on request.
  • Only Amazon SQS lists standard queues; only Envoy lists xDS dynamic configuration.
  • 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 Envoy differ?

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

Attributes where Amazon SQS and Envoy differ
AttributeAmazon SQSEnvoy
Starting priceOn requestFree
Pricing modelPer million requestsOpen-source
Free tierNoYes
PlatformsWeb, LinuxWeb

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 8 only for Envoy. 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 Envoy

  • xDS dynamic configuration
  • Protocol breadth
  • Filter chain architecture
  • Observability by default
  • Outlier detection
  • Traffic shaping
  • mTLS termination and origination
  • Hot restart

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 Envoy
  • Triggering Lambda functions from a queue with automatic retries and a dead-letter queuenot Envoy
  • Ordered processing of per-customer events using FIFO message groupsnot Envoy
  • Splitting a monolith into services that talk through durable messagesnot Envoy

Envoy

  • Acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use itnot Amazon SQS
  • An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot Amazon SQS
  • Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot Amazon SQS
  • Standardising observability across a polyglot estate, so that latency, error rates and tracing look the same regardless of the language a service is written innot Amazon SQS

Where do Amazon SQS and Envoy 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

Envoy

  • The configuration surface is very large and hand-written bootstrap YAML runs to hundreds of lines for routing that Nginx expresses in twenty, which is why nearly every production deployment sits under a control plane and inherits that control plane's constraints as well
  • xDS is the real API and it is not stable in the comfortable sense; the v2 API set was removed outright, resource types continue to be deprecated, and your control plane and Envoy binaries have to be upgraded roughly in step or the proxies stop accepting configuration
  • Extending it properly means writing a C++ filter and building and maintaining your own Envoy binary; the alternatives are Lua, which adds per-request overhead, and proxy-wasm, whose ABI has remained effectively experimental for years with a real performance cost
  • At sidecar density the per-proxy memory and CPU footprint is a measurable share of cluster capacity, since thousands of workloads each carry a full proxy, and this is precisely the cost that has pushed mesh projects towards node-level or ambient architectures
  • There is no single vendor selling support for Envoy itself; you get the community plus control-plane vendors such as Solo.io and Tetrate, so an Envoy-level production bug is your own engineers in a C++ codebase unless a support contract happens to cover it
  • Diagnosing why a request got a particular response involves reading config dumps, the stats endpoint and the RESPONSE_FLAGS codes in access logs rather than a readable error, which is a specific skill you must hire or spend months growing

How much do Amazon SQS and Envoy cost?

Envoy 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

Envoy

Free

No published plan breakdown. See the Envoy review.

Which should you pick?

Choose Amazon SQS if

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

Choose Envoy if

  • You need xds dynamic configuration.
  • You want to start without paying.
  • You also want protocol breadth.

Questions people ask

Is Amazon SQS or Envoy better?
It depends on the job. Amazon SQS fits buffering bursts of work so a slower downstream service is not overwhelmed; Envoy fits acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use it. Amazon SQS starts at On request and Envoy at Free.
Which is cheaper, Amazon SQS or Envoy?
Envoy has a free tier; the other does not. Paid plans start at On request for Amazon SQS and Free for Envoy.
Does Amazon SQS or Envoy run on more platforms?
Amazon SQS runs on Web, Linux. Envoy runs on Web.
Can I use Envoy for free?
Yes. Envoy 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 Envoy is typically brought in for.
What can Amazon SQS do that Envoy cannot?
Amazon SQS covers Standard queues, FIFO queues, Dead-letter queues, Fair queues. Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default.

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.

Envoy: Should I run Envoy on its own, or under a control plane?

Almost always under one. Directly authoring xDS or static bootstrap configuration is viable for a handful of routes and becomes unmanageable beyond that. Envoy Gateway, Istio, Contour, Gloo and Consul all exist to generate that configuration for you.

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.

Envoy: How does it compare with Nginx or HAProxy?

Envoy is dynamically configured over an API and instrumented far more heavily; Nginx and HAProxy are faster to configure and lighter for straightforward reverse proxying. If you never need to change routing without a reload, Envoy is more machinery than the problem requires.

Amazon SQS: Does SQS guarantee order?

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

Envoy: What does it cost?

Nothing to licence; it is Apache 2.0 and there is no paid edition. The cost is engineering time and, for most organisations, a commercial control plane or cloud service that packages it.

Envoy: Can I write extensions without C++?

You can write Lua filters or proxy-wasm modules in Rust, Go, C++ or AssemblyScript. Both carry per-request overhead compared with a native filter, and the Wasm path has been slower to stabilise than the project originally projected.

Envoy: Is it a CNCF project?

Yes, it is a graduated CNCF project licensed under Apache 2.0, which means the trademark and governance sit with the foundation rather than with Lyft or any vendor.

Share

Related pages

Other head to heads