Softwr

Cloud · head to head

Amazon MSK vs Heroku

Amazon MSK logo

Amazon MSK

Cloud

Managed Apache Kafka on AWS with Standard and Express broker types

From
$0.204/hour
Free plan
No
Heroku logo

Heroku

Cloud

Cloud Application Platform

From
$5/month
Free plan
No

The short version

  • Heroku is a cloud platform as a service.
  • Amazon MSK starts at $0.204/mo, Heroku at $5/mo.
  • Only Amazon MSK lists standard brokers; only Heroku lists git-based deployment.
  • 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.
  • Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.

How do Amazon MSK and Heroku differ?

Amazon MSK and Heroku differ on starting price ($0.204/hour against $5/month), pricing model and platforms (Web, Linux against Web, API, Workers). Only the attributes on which Amazon MSK and Heroku actually diverge.

Attributes where Amazon MSK and Heroku differ
AttributeAmazon MSKHeroku
Starting price$0.204/hour$5/month
Pricing modelPer broker hour plus per GB-month storageSubscription
PlatformsWeb, LinuxWeb, API, Workers

Identical on both: free tier (No).

Not yet recorded: category for Amazon MSK, founded for Amazon MSK.

Which features does each one have?

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

  • Git-based deployment
  • Buildpacks
  • Dynos (containers)
  • Add-ons marketplace
  • Postgres database
  • Environment variables
  • Logging
  • API

What is each one used for?

Amazon MSK is most often brought in for migrating a self-managed Kafka cluster without rewriting clients; Heroku for application hosting. The jobs each tool is most often brought in to do.

Amazon MSK

  • Event streaming between microservices where producers and consumers already speak Kafkanot Heroku
  • Feeding Amazon S3, OpenSearch or Redshift from application events with MSK Connectnot Heroku
  • Migrating a self-managed Kafka cluster without rewriting clientsnot Heroku
  • Cross-Region replication of topics for disaster recoverynot Heroku

Heroku

  • Application hostingnot Amazon MSK
  • Database as a servicenot Amazon MSK
  • CI/CD pipelinesnot Amazon MSK
  • API deploymentnot Amazon MSK

Where do Amazon MSK and Heroku 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. Heroku's: there is no free dyno tier; the cheapest Eco dyno is $5 per month. 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

Heroku

  • There is no free dyno tier; the cheapest Eco dyno is $5 per month
  • Eco dynos sleep after 30 minutes of inactivity, are restricted to personal accounts and allow only 2 process types
  • Free SSL and 10 process types start at the Basic dyno at $7 per month
  • Private and Shield dyno types require a Private Space, which is billed on top of the dynos
  • Private Space dynos start at $250 per month for Private-M and $500 per month for Private-L
  • Dyno prices are per dyno per month, so an app with several process types multiplies the bill

How much do Amazon MSK and Heroku cost?

Amazon MSK starts at $0.204/mo; Heroku starts at $5/mo. 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

Heroku

$5/month
  • Eco Dyno$5/mo
    • 0.5 GB RAM
    • Git/Docker deploy
    • Custom domains
  • Basic Dyno$7/mo
    • 0.5 GB RAM
    • Always-on
    • Free SSL
  • Standard-1X Dyno$25/mo
    • 0.5 GB RAM
    • Horizontal scaling
    • App metrics
  • Standard-2X Dyno$50/mo
    • 1 GB RAM
    • Horizontal scaling
    • App metrics

Which should you pick?

Choose Amazon MSK if

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

Choose Heroku if

  • You need git-based deployment.
  • You work on Web, API, Workers.
  • You also want buildpacks.

Questions people ask

Is Amazon MSK or Heroku better?
It depends on the job. Amazon MSK fits event streaming between microservices where producers and consumers already speak Kafka; Heroku fits application hosting. Amazon MSK starts at $0.204/hour and Heroku at $5/month.
Which is cheaper, Amazon MSK or Heroku?
Amazon MSK starts at $0.204/hour and Heroku at $5/month.
Does Amazon MSK or Heroku run on more platforms?
Amazon MSK runs on Web, Linux. Heroku runs on Web, API, Workers.
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 Heroku is typically brought in for.
What can Amazon MSK do that Heroku cannot?
Amazon MSK covers Standard brokers, Express brokers, MSK Connect, MSK Replicator. Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace.

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.

Heroku: How much does Heroku cost?

Heroku dyno pricing starts at $5 per month USD for the Eco tier (with 30-minute inactivity sleep), $7 per month for Basic (always-on), and scales up to $1,500 per month for Performance-2XL with 126 GB RAM.

Source
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.

Heroku: What is the cheapest always-on Heroku plan?

The Basic Dyno at $7 per month USD is Heroku's cheapest always-on container option. It provides 0.5 GB RAM, free SSL, and support for 10 process types.

Source
Amazon MSK: Is MSK compatible with Apache Kafka clients?

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

Heroku: How is Heroku Postgres priced?

Heroku Postgres Essential tier (shared resources) starts at $5-$20 per month for 1-32 GB disk. Standard tier (dedicated) ranges $50-$12,000 per month. Premium, Private, Shield, and Advanced tiers offer higher performance at corresponding prices.

Source
Share

Related pages

Other head to heads