Softwr

Cloud · head to head

AWS Batch vs Google Cloud Run

AWS Batch logo

AWS Batch

Cloud

Job queue and scheduler for batch computing with no charge beyond the compute it launches

From
Free
Free plan
Yes
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

  • AWS Batch is free; Google Cloud Run prices on request.
  • Only AWS Batch lists job queues; only Google Cloud Run lists deploy any container image.
  • Where AWS Batch falls short: it schedules jobs, not workflows, so multi-stage pipelines need Step Functions or an external orchestrator.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.

How do AWS Batch and Google Cloud Run differ?

AWS Batch and Google Cloud Run differ on starting price (Free against On request), pricing model and free tier (Yes against No). Only the attributes on which AWS Batch and Google Cloud Run actually diverge.

Attributes where AWS Batch and Google Cloud Run differ
AttributeAWS BatchGoogle Cloud Run
Starting priceFreeOn request
Pricing modelNo charge for Batch, pay for underlying resourcesUsage-based
Free tierYesNo
PlatformsWeb, LinuxWeb

Not yet recorded: category for AWS Batch.

Which features does each one have?

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

  • Job queues
  • Managed compute environments
  • Array jobs
  • Multi-node parallel jobs
  • Job dependencies
  • Spot support

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?

AWS Batch is most often brought in for rendering and media processing queues that scale to zero when idle; Google Cloud Run for hosting web APIs and microservices. The jobs each tool is most often brought in to do.

AWS Batch

  • Running thousands of containerised genomics or simulation jobs overnight on Spot capacitynot Google Cloud Run
  • Rendering and media processing queues that scale to zero when idlenot Google Cloud Run
  • Nightly financial risk calculations with job dependenciesnot Google Cloud Run
  • Preparing and processing machine learning data in parallelnot Google Cloud Run

Google Cloud Run

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

Where do AWS Batch and Google Cloud Run fall short?

AWS Batch's most cited limit: it schedules jobs, not workflows, so multi-stage pipelines need Step Functions or an external orchestrator. 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.

AWS Batch

  • Batch has no cost of its own, but the compute it launches does, and a misconfigured maximum vCPU limit can scale a runaway queue into a large bill
  • It schedules jobs, not workflows, so multi-stage pipelines need Step Functions or an external orchestrator
  • Spot interruptions require jobs to be restartable and retry-safe, which not all legacy workloads are
  • Startup latency for a new compute environment is minutes, so it does not suit interactive or low-latency work
  • Debugging scheduling behaviour such as jobs stuck in RUNNABLE needs knowledge of compute environment limits and instance availability

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 AWS Batch and Google Cloud Run cost?

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

AWS Batch

Free
  • AWS BatchFree
    • No additional charge for the scheduler
    • Pay for EC2, Fargate or Lambda resources used
    • Reserved Instances, Savings Plans and Spot supported

Google Cloud Run

On request

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

Which should you pick?

Choose AWS Batch if

  • You need job queues.
  • You want to start without paying.
  • You work on Web, Linux.
  • You also want managed compute environments.

Choose Google Cloud Run if

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

Questions people ask

Is AWS Batch or Google Cloud Run better?
It depends on the job. AWS Batch fits running thousands of containerised genomics or simulation jobs overnight on Spot capacity; Google Cloud Run fits hosting web APIs and microservices. AWS Batch starts at Free and Google Cloud Run at On request.
Which is cheaper, AWS Batch or Google Cloud Run?
AWS Batch has a free tier; the other does not. Paid plans start at Free for AWS Batch and On request for Google Cloud Run.
Does AWS Batch or Google Cloud Run run on more platforms?
AWS Batch runs on Web, Linux. Google Cloud Run runs on Web.
Can I use AWS Batch for free?
Yes. AWS Batch has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
What is AWS Batch best used for?
AWS Batch is most often used for running thousands of containerised genomics or simulation jobs overnight on spot capacity, rendering and media processing queues that scale to zero when idle, nightly financial risk calculations with job dependencies, preparing and processing machine learning data in parallel. Of those, running thousands of containerised genomics or simulation jobs overnight on spot capacity and rendering and media processing queues that scale to zero when idle are not what Google Cloud Run is typically brought in for.
What can AWS Batch do that Google Cloud Run cannot?
AWS Batch covers Job queues, Managed compute environments, Array jobs, Multi-node parallel jobs. 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

AWS Batch: How much does AWS Batch cost?

Nothing for Batch itself, per the AWS page; you pay for the EC2, Fargate or Lambda resources your jobs use.

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
AWS Batch: Does AWS Batch support Spot?

Yes. Compute environments can use Spot Instances, and Spot discounts apply to the underlying EC2 charges.

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
AWS Batch: Is Batch a replacement for Step Functions?

No. Batch schedules compute jobs; Step Functions orchestrates workflows, and they are often combined.

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