Softwr

Cloud · head to head

Google App Engine vs Heroku

Google App Engine logo

Google App Engine

Cloud

Google Cloud platform for deploying web apps without managing servers

From
Free
Free plan
Yes
Heroku logo

Heroku

Cloud

Cloud Application Platform

From
$5/month
Free plan
No

The short version

  • Heroku is a cloud platform as a service.
  • Google App Engine has a free plan, then $0.05/mo; Heroku starts at $5/mo.
  • Only Google App Engine lists automatic scaling; only Heroku lists git-based deployment.
  • Where Google App Engine falls short: google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects.
  • Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.

How do Google App Engine and Heroku differ?

Google App Engine and Heroku differ on starting price (Free against $5/month), pricing model and free tier (Yes against No). Only the attributes on which Google App Engine and Heroku actually diverge.

Attributes where Google App Engine and Heroku differ
AttributeGoogle App EngineHeroku
Starting priceFree$5/month
Pricing modelPer instance hour, with a daily free tier on standardSubscription
Free tierYesNo
PlatformsWeb, APIWeb, API, Workers

Not yet recorded: category for Google App Engine, founded for Google App Engine.

Which features does each one have?

They share no listed features; 5 appear only for Google App Engine 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 Google App Engine

  • Standard environment
  • Flexible environment
  • Automatic scaling
  • Traffic splitting
  • Managed services

Only in Heroku

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

What is each one used for?

Google App Engine is most often brought in for A small web app or API that fits inside the daily free tier; Heroku for application hosting. The jobs each tool is most often brought in to do.

Google App Engine

  • A small web app or API that fits inside the daily free tiernot Heroku
  • An existing App Engine codebase that needs to keep runningnot Heroku
  • A team wanting simple deploys without Kubernetesnot Heroku
  • Background services scaled to zero between requestsnot Heroku

Heroku

  • Application hostingnot Google App Engine
  • Database as a servicenot Google App Engine
  • CI/CD pipelinesnot Google App Engine
  • API deploymentnot Google App Engine

Where do Google App Engine and Heroku fall short?

Google App Engine's most cited limit: google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects. 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.

Google App Engine

  • Google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects
  • The standard environment runs in language sandboxes with version and library limits that constrain what code can do
  • The flexible environment has no free tier and cannot scale to zero, so idle apps still incur charges
  • Some bundled services, such as the Search API, are legacy features with their own small free allowances
  • Apps are tightly bound to App Engine APIs, which makes moving off it to another cloud harder

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 Google App Engine and Heroku cost?

Google App Engine has a free plan, with paid plans from $0.05/mo; Heroku starts at $5/mo. Plan by plan below, from each vendor's own pricing page.

Google App Engine

Free
  • Standard environment$0.05/hour
    • F1 instances free for 28 hours per day per project
    • B1 instances free for 9 hours per day per project
    • Then $0.05 per instance hour for F1 and B1
  • Flexible environment$0.0526/hour
    • $0.0526 per vCPU hour
    • $0.0071 per GB of memory hour
    • No free tier

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 Google App Engine if

  • You need standard environment.
  • You want to start without paying.
  • You work on Web, API.
  • You also want flexible environment.

Choose Heroku if

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

Questions people ask

Is Google App Engine or Heroku better?
It depends on the job. Google App Engine fits a small web app or API that fits inside the daily free tier; Heroku fits application hosting. Google App Engine starts at Free and Heroku at $5/month.
Which is cheaper, Google App Engine or Heroku?
Google App Engine has a free tier; the other does not. Paid plans start at Free for Google App Engine and $5/month for Heroku.
Does Google App Engine or Heroku run on more platforms?
Google App Engine runs on Web, API. Heroku runs on Web, API, Workers.
Can I use Google App Engine for free?
Yes. Google App Engine has a free tier, so you can try it without paying. Heroku starts at $5/month.
What is Google App Engine best used for?
Google App Engine is most often used for a small web app or api that fits inside the daily free tier, an existing app engine codebase that needs to keep running, a team wanting simple deploys without kubernetes, background services scaled to zero between requests. Of those, a small web app or api that fits inside the daily free tier and an existing app engine codebase that needs to keep running are not what Heroku is typically brought in for.
What can Google App Engine do that Heroku cannot?
Google App Engine covers Standard environment, Flexible environment, Automatic scaling, Traffic splitting. Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace.

Answered from the vendors’ own pages

Google App Engine: Is App Engine free?

Standard has a daily free tier per project. The flexible environment has none.

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
Google App Engine: How is it billed?

Standard by instance hour by class, flexible by vCPU and memory 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
Google App Engine: App Engine or Cloud Run?

Cloud Run suits most new container workloads. App Engine suits existing apps and simple deployments.

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