Softwr

Cloud · head to head

AWS (Amazon Web Services) vs Heroku

AWS (Amazon Web Services) logo

AWS (Amazon Web Services)

Cloud

Cloud computing platform

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.
  • AWS (Amazon Web Services) is free; Heroku starts at $5/mo.
  • Only AWS (Amazon Web Services) lists EC2 - Virtual Servers; only Heroku lists dynos (containers).
  • Where AWS (Amazon Web Services) falls short: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills.
  • Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.

How do AWS (Amazon Web Services) and Heroku differ?

AWS (Amazon Web Services) and Heroku differ on starting price (Free against $5/month), pricing model (Usage-based against Subscription) and free tier (Yes against No). Only the attributes on which AWS (Amazon Web Services) and Heroku actually diverge.

Attributes where AWS (Amazon Web Services) and Heroku differ
AttributeAWS (Amazon Web Services)Heroku
Starting priceFree$5/month
Pricing modelUsage-basedSubscription
Free tierYesNo
PlatformsWeb, API, iOS, AndroidWeb, API, Workers
Founded20062007

Identical on both: category (Cloud).

Which features does each one have?

They share 3 listed features; 17 appear only for AWS (Amazon Web Services) and 17 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 AWS (Amazon Web Services)

  • EC2 - Virtual Servers
  • S3 - Object Storage
  • RDS - Managed Database
  • Lambda - Serverless Computing
  • CloudFront - CDN
  • VPC - Virtual Network
  • IAM - Access Management
  • CloudWatch - Monitoring

Only in Heroku

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

Both cover

  • Datadog
  • New Relic
  • Slack

What is each one used for?

AWS (Amazon Web Services) is most often brought in for web hosting; Heroku for application hosting. The jobs each tool is most often brought in to do.

AWS (Amazon Web Services)

  • Web hostingnot Heroku
  • Data storagenot Heroku
  • Machine learningnot Heroku
  • Big data analyticsnot Heroku
  • Application developmentnot Heroku

Heroku

  • Application hostingnot AWS (Amazon Web Services)
  • Database as a servicenot AWS (Amazon Web Services)
  • CI/CD pipelinesnot AWS (Amazon Web Services)
  • API deploymentnot AWS (Amazon Web Services)

Where do AWS (Amazon Web Services) and Heroku fall short?

AWS (Amazon Web Services)'s most cited limit: data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills. 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.

AWS (Amazon Web Services)

  • Data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills
  • Discounts require one or three year Savings Plan commitments rather than being automatic
  • Every service is priced separately, so a working architecture has no single published cost
  • The free tier is a promotional allowance rather than an ongoing free plan

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 AWS (Amazon Web Services) and Heroku cost?

AWS (Amazon Web Services) is free to use; Heroku starts at $5/mo. Plan by plan below, from each vendor's own pricing page.

AWS (Amazon Web Services)

Free
  • AWS Free TierFree
    • EC2 750 hours/month
    • 5GB S3 storage
    • 20GB data transfer
  • Pay-As-You-GoFree
    • No upfront payment
    • No long-term commitments
    • Pay only for what you use

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 AWS (Amazon Web Services) if

  • You need ec2 - virtual servers.
  • You want to start without paying.
  • You work on Web, API, iOS, Android.
  • You also want s3 - object storage.

Choose Heroku if

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

Questions people ask

Is AWS (Amazon Web Services) or Heroku better?
It depends on the job. AWS (Amazon Web Services) fits web hosting; Heroku fits application hosting. AWS (Amazon Web Services) starts at Free and Heroku at $5/month.
Which is cheaper, AWS (Amazon Web Services) or Heroku?
AWS (Amazon Web Services) has a free tier; the other does not. Paid plans start at Free for AWS (Amazon Web Services) and $5/month for Heroku.
Does AWS (Amazon Web Services) or Heroku run on more platforms?
AWS (Amazon Web Services) runs on Web, API, iOS, Android. Heroku runs on Web, API, Workers.
Can I use AWS (Amazon Web Services) for free?
Yes. AWS (Amazon Web Services) has a free tier, so you can try it without paying. Heroku starts at $5/month.
What is AWS (Amazon Web Services) best used for?
AWS (Amazon Web Services) is most often used for web hosting, data storage, machine learning, big data analytics. Of those, web hosting and data storage are not what Heroku is typically brought in for.
What can AWS (Amazon Web Services) do that Heroku cannot?
AWS (Amazon Web Services) covers EC2 - Virtual Servers, S3 - Object Storage, RDS - Managed Database, Lambda - Serverless Computing. Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace. Both handle Datadog, New Relic, Slack.

Answered from the vendors’ own pages

AWS (Amazon Web Services): What are AWS's payment options and pricing models?

AWS offers four pricing approaches: pay-as-you-go (you pay only for what you use), flat-rate plans combining multiple services into one monthly price without overages, Savings Plans offering discounts on compute and machine learning with 1- or 3-year commitments, and volume-based tiered pricing where costs decrease as usage increases.

Source
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
AWS (Amazon Web Services): Are there contracts, termination fees, or commitments required for AWS?

No long-term contracts are required for AWS services. No termination fees apply once you stop using the service. Savings Plans provide optional 1- or 3-year commitments with discounted hourly rates, but you can revert to pay-as-you-go pricing anytime.

Source
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
AWS (Amazon Web Services): Does AWS offer a free tier?

AWS provides a free tier that offers hands-on experience with AWS products at no charge. The free tier allows new customers to try eligible services before committing to paid usage.

Source
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
AWS (Amazon Web Services): How do I estimate my AWS costs?

AWS provides the AWS Pricing Calculator and Cost Explorer tool to estimate costs for single or multiple services. AWS also offers cost optimization recommendations, performance reporting, and budget alerts to help track and control spending.

Source
Share

Related pages

Other head to heads