What's good about...

Cloudflare logo Cloudflare

  • Consolidates many edge services under one platform: DNS, Load Balancing, caching, image optimization, serverless functions
  • Massive edge network that can handle large DDoS attacks
  • Very generous free tier, affordable paid plans

Cloudflare logo Heroku

  • As easy as it gets if you just want to deploy a Git repo
  • Fully-managed infra, minimal ops overhead
  • Heroku Postgres is a one-click, battle-tested database
  • Extensive add-on marketplace

Price comparison

How do Cloudflare's prices compare against Heroku?

Example configuration Cloudflare Heroku
VM Small -- $50.00 / mo Dyno 1 GB RAM (Standard 2X)
VM Medium -- $250.00 / mo Dyno 2.5 GB RAM (Performance M)
VM Large -- $500.00 / mo Dyno 14 GB RAM (Performance L)
Object Storage $19.86 / mo 1 TB --
Load Balancer -- Included in plan
Managed PostgreSQL -- $50.00 / mo 4 GB RAM, 64 GB storage
Managed Redis®* -- $200.00 / mo 1 GB RAM
Serverless 25M Executions $82.50 / mo 25M invocations, 150 ms duration --
Free egress allowance -- 2 TB / mo per app
1 TB of egress beyond allowance Free for most services Not publicly listed

Note: Our pricing examples are based on several assumptions. Your actual costs may differ. Always check the cloud provider's website for the most up-to-date pricing.

Which services do they offer?

Here are some of the managed services that Cloudflare and Heroku offer:

Service Cloudflare Heroku
Content Delivery Network (CDN) --
Load Balancer --
Managed Containers --
Managed PostgreSQL --
Managed Redis®* --
Object Storage --
Serverless Cron Jobs --
Serverless Functions --
Static Sites --

Company details

Cloudflare
Website cloudflare.com
Headquarters United States of America 🇺🇸
Founded 2009
Data Center Locations 285
Example Customers Polestar, Carrefour, DHL, Hemnet, Shopify
Heroku
Website heroku.com
Headquarters United States of America 🇺🇸
Founded 2007
Data Center Locations 10
Example Customers Airbase, Dovetail, Hotel Engine, ClickMechanic, Ambassify

Alternatives to consider

Want to see how Cloudflare and Heroku compare against other providers? Check out these other comparisons:

More comparisons

Our data for Cloudflare was last updated on July 24, 2024, and for Heroku on July 26, 2024.