Softwr

Cloud · head to head

Amazon MSK vs Google Cloud Run

Amazon MSK logo

Amazon MSK

Cloud

Managed Apache Kafka on AWS with Standard and Express broker types

From
$0.204/hour
Free plan
No
Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No

The short version

  • Amazon MSK starts at $0.204/mo; Google Cloud Run prices on request.
  • Only Amazon MSK lists standard brokers; only Google Cloud Run lists deploy any container image.
  • 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 Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.

How do Amazon MSK and Google Cloud Run differ?

Amazon MSK and Google Cloud Run differ on starting price ($0.204/hour against On request), pricing model and platforms (Web, Linux against Web). Only the attributes on which Amazon MSK and Google Cloud Run actually diverge.

Attributes where Amazon MSK and Google Cloud Run differ
AttributeAmazon MSKGoogle Cloud Run
Starting price$0.204/hourOn request
Pricing modelPer broker hour plus per GB-month storageUsage-based
PlatformsWeb, LinuxWeb

Identical on both: free tier (No).

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 9 only for Google Cloud Run. 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 Google Cloud Run

  • Deploy any container image
  • Source-based builds for common languages
  • Services with automatic scaling and scale to zero
  • Jobs for scheduled or manual tasks
  • Worker pools for background processing
  • Traffic splitting and rollback between revisions
  • Custom domains and managed TLS
  • Request-based and instance-based billing

What is each one used for?

Amazon MSK is most often brought in for migrating a self-managed Kafka cluster without rewriting clients; Google Cloud Run for hosting web APIs and microservices. The jobs each tool is most often brought in to do.

Amazon MSK

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

Google Cloud Run

  • Hosting web APIs and microservicesnot Amazon MSK
  • Scheduled batch jobsnot Amazon MSK
  • Queue consumers on worker poolsnot Amazon MSK
  • Deploying containers without managing clustersnot Amazon MSK
  • Event-driven backends with Pub/Subnot Amazon MSK

Where do Amazon MSK and Google Cloud Run 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. Google Cloud Run's: runs only on Google Cloud, so there is no self-hosted option. 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

Google Cloud Run

  • Runs only on Google Cloud, so there is no self-hosted option
  • The container file system is in memory and not persistent
  • Worker pools do not autoscale natively and need at least one instance
  • Services are stateless, so state needs external storage

How much do Amazon MSK and Google Cloud Run cost?

Amazon MSK starts at $0.204/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

Google Cloud Run

On request

No published plan breakdown. See the Google Cloud Run review.

Which should you pick?

Choose Amazon MSK if

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

Choose Google Cloud Run if

  • You need deploy any container image.
  • You also want source-based builds for common languages.

Questions people ask

Is Amazon MSK or Google Cloud Run better?
It depends on the job. Amazon MSK fits event streaming between microservices where producers and consumers already speak Kafka; Google Cloud Run fits hosting web APIs and microservices. Amazon MSK starts at $0.204/hour and Google Cloud Run at On request.
Which is cheaper, Amazon MSK or Google Cloud Run?
Amazon MSK starts at $0.204/hour and Google Cloud Run at On request.
Does Amazon MSK or Google Cloud Run run on more platforms?
Amazon MSK runs on Web, Linux. Google Cloud Run runs on Web.
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 Google Cloud Run is typically brought in for.
What can Amazon MSK do that Google Cloud Run cannot?
Amazon MSK covers Standard brokers, Express brokers, MSK Connect, MSK Replicator. Google Cloud Run covers Deploy any container image, Source-based builds for common languages, Services with automatic scaling and scale to zero, Jobs for scheduled or manual tasks.

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.

Google Cloud Run: What can Cloud Run run?

Any container image, or source code for Go, Node.js, Python, Java.NET and Ruby that Google builds into a container.

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.

Google Cloud Run: How is Cloud Run billed?

Allocated CPU and memory are billed in 100 millisecond granularity, in request-based or instance-based mode. A free tier is available.

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

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

Google Cloud Run: Can Cloud Run scale to zero?

Yes. Services scale to zero when idle unless a minimum number of instances is set.

Source
Share

Related pages

Other head to heads