Softwr

Developer Tools · head to head

Amazon MSK vs Envoy

Amazon MSK logo

Amazon MSK

Developer Tools

Managed Apache Kafka on AWS with Standard and Express broker types

From
$0.204/hour
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

  • Envoy is free; Amazon MSK starts at $0.204/mo.
  • Only Amazon MSK lists standard brokers; only Envoy lists xDS dynamic configuration.
  • Where Amazon MSK falls short: brokers are billed whether or not traffic flows, so a quiet development cluster costs hundreds of dollars a month at the AWS example rate.

How do Amazon MSK and Envoy differ?

Amazon MSK and Envoy differ on starting price ($0.204/hour against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon MSK and Envoy actually diverge.

Attributes where Amazon MSK and Envoy differ
AttributeAmazon MSKEnvoy
Starting price$0.204/hourFree
Pricing modelPer broker hour plus per GB-month storageOpen-source
Free tierNoYes
PlatformsWeb, LinuxWeb

Not yet recorded: category for Amazon MSK.

Which features does each one have?

They share no listed features; 6 appear only for Amazon MSK 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 MSK

  • Standard brokers
  • Express brokers
  • MSK Connect
  • MSK Replicator
  • IAM access control
  • Tiered storage

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 MSK is most often brought in for migrating a self-managed Kafka cluster without rewriting clients. The jobs each tool is most often brought in to do.

Amazon MSK

  • Event streaming between microservices where producers and consumers already speak Kafkanot Envoy
  • Feeding Amazon S3, OpenSearch or Redshift from application events with MSK Connectnot Envoy
  • Migrating a self-managed Kafka cluster without rewriting clientsnot Envoy
  • Cross-Region replication of topics for disaster recoverynot 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 MSK
  • An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot Amazon MSK
  • Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot Amazon MSK
  • 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 MSK

Where do Amazon MSK and Envoy fall short?

Amazon MSK's most cited limit: Cross-AZ replication and client traffic generate data transfer charges that are not in the broker price. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon MSK

  • You still choose broker counts, instance sizes and partition layout, so capacity planning and rebalancing remain your responsibility on Standard brokers
  • Brokers are billed whether or not traffic flows, so a quiet development cluster costs hundreds of dollars a month at the AWS example rate
  • The ecosystem around schema governance, managed connectors and stream processing is thinner than Confluent Cloud, so more components must be assembled
  • Cross-AZ replication and client traffic generate data transfer charges that are not in the broker price
  • Kafka version upgrades and client compatibility still require planning, and AWS lags upstream releases

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 MSK and Envoy cost?

Amazon MSK starts at $0.204/mo; Envoy is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon MSK

$0.204/hour
  • Standard broker$0.204/hour
    • kafka.m7g.large $0.204 per hour, kafka.m5.large $0.21
    • Storage $0.10 per GB-month
  • Express broker$0.408/hour
    • express.m7g.large $0.408 per hour, express.m8g.large $0.3468
    • $0.01 per GB of data written
    • Low-cost storage tier retrieval $0.0015 per GB

Envoy

Free

No published plan breakdown. See the Envoy review.

Which should you pick?

Choose Amazon MSK if

  • You need standard brokers.
  • You work on Web, Linux.
  • You also want express brokers.

Choose Envoy if

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

Questions people ask

Is Amazon MSK or Envoy better?
It depends on the job. Amazon MSK fits event streaming between microservices where producers and consumers already speak Kafka; 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 MSK starts at $0.204/hour and Envoy at Free.
Which is cheaper, Amazon MSK or Envoy?
Envoy has a free tier; the other does not. Paid plans start at $0.204/hour for Amazon MSK and Free for Envoy.
Does Amazon MSK or Envoy run on more platforms?
Amazon MSK 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 MSK starts at $0.204/hour.
What is Amazon MSK best used for?
Amazon MSK is most often used for event streaming between microservices where producers and consumers already speak kafka, feeding amazon s3, opensearch or redshift from application events with msk connect, migrating a self-managed kafka cluster without rewriting clients, cross-region replication of topics for disaster recovery. Of those, event streaming between microservices where producers and consumers already speak kafka and feeding amazon s3, opensearch or redshift from application events with msk connect are not what Envoy is typically brought in for.
What can Amazon MSK do that Envoy cannot?
Amazon MSK covers Standard brokers, Express brokers, MSK Connect, MSK Replicator. Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default.

Answered from the vendors’ own pages

Amazon MSK: How much does Amazon MSK cost?

Standard kafka.m7g.large brokers are $0.204 per hour and express.m7g.large brokers $0.408 per hour, plus storage at $0.10 per GB-month, per the AWS page.

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 MSK: What is the difference between Standard and Express brokers?

Express brokers are designed for higher throughput per broker and quicker scaling; Standard brokers give more control over configuration. Both are billed per broker hour.

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 MSK: Is MSK compatible with Apache Kafka clients?

Yes. It runs Apache Kafka, so existing producers, consumers and Kafka Connect connectors work.

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