Softwr

Cloud · head to head

Amazon ECS vs Heroku

Amazon ECS logo

Amazon ECS

Cloud

AWS managed container orchestration, free to use, billed for Fargate or EC2 compute

From
On request
Free plan
No
Heroku logo

Heroku

Cloud

Cloud Application Platform

From
$5/month
Free plan
No

The short version

  • Amazon ECS is a fully managed container orchestration service on AWS; Heroku is a cloud platform as a service.
  • Heroku starts at $5/mo; Amazon ECS prices on request.
  • Only Amazon ECS lists EC2 launch type; only Heroku lists add-ons marketplace.
  • Where Amazon ECS falls short: runs only on AWS, with no portability to other clouds.
  • Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.

How do Amazon ECS and Heroku differ?

Amazon ECS and Heroku differ on starting price (On request against $5/month), pricing model (Usage-based against Subscription) and platforms (Web against Web, API, Workers). Only the attributes on which Amazon ECS and Heroku actually diverge.

Attributes where Amazon ECS and Heroku differ
AttributeAmazon ECSHeroku
Starting priceOn request$5/month
Pricing modelUsage-basedSubscription
PlatformsWebWeb, API, Workers

Identical on both: free tier (No).

Not yet recorded: category for Amazon ECS, founded for Amazon ECS.

Which features does each one have?

They share no listed features; 8 appear only for Amazon ECS 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 Amazon ECS

  • Fargate serverless containers
  • EC2 launch type
  • ECS Anywhere for on-premises and edge
  • ECS Managed Instances
  • IAM-based access control
  • Automated patching
  • Encryption in transit and at rest
  • Spot capacity support

Only in Heroku

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

What is each one used for?

Amazon ECS is most often brought in for running containerised web services on AWS; Heroku for application hosting. The jobs each tool is most often brought in to do.

Amazon ECS

  • Running containerised web services on AWSnot Heroku
  • Batch jobs on Spot capacitynot Heroku
  • Serverless containers without managing serversnot Heroku
  • Hybrid workloads using ECS Anywherenot Heroku

Heroku

  • Application hostingnot Amazon ECS
  • Database as a servicenot Amazon ECS
  • CI/CD pipelinesnot Amazon ECS
  • API deploymentnot Amazon ECS

Where do Amazon ECS and Heroku fall short?

Amazon ECS's most cited limit: runs only on AWS, with no portability to other clouds. 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.

Amazon ECS

  • Runs only on AWS, with no portability to other clouds
  • Task definitions and APIs are AWS-specific, unlike Kubernetes
  • Costs combine ECS-adjacent services such as EC2, load balancers and IPv4
  • Smaller ecosystem of third-party tooling than Kubernetes

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 Amazon ECS and Heroku cost?

Heroku starts at $5/mo. Plan by plan below, from each vendor's own pricing page.

Amazon ECS

On request

No published plan breakdown. See the Amazon ECS review.

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 Amazon ECS if

  • You need fargate serverless containers.
  • You also want ec2 launch type.

Choose Heroku if

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

Questions people ask

Is Amazon ECS or Heroku better?
It depends on the job. Amazon ECS fits running containerised web services on AWS; Heroku fits application hosting. Amazon ECS starts at On request and Heroku at $5/month.
Which is cheaper, Amazon ECS or Heroku?
Amazon ECS starts at On request and Heroku at $5/month.
Does Amazon ECS or Heroku run on more platforms?
Amazon ECS runs on Web. Heroku runs on Web, API, Workers.
What is Amazon ECS best used for?
Amazon ECS is most often used for running containerised web services on aws, batch jobs on spot capacity, serverless containers without managing servers, hybrid workloads using ecs anywhere. Of those, running containerised web services on aws and batch jobs on spot capacity are not what Heroku is typically brought in for.
What can Amazon ECS do that Heroku cannot?
Amazon ECS covers Fargate serverless containers, EC2 launch type, ECS Anywhere for on-premises and edge, ECS Managed Instances. Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace.

Answered from the vendors’ own pages

Amazon ECS: Does ECS cost extra?

No. There is no additional charge for Amazon ECS orchestration; you pay for the compute and resources your containers use.

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
Amazon ECS: Can ECS run outside AWS?

ECS Anywhere runs containers on registered on-premises instances at $0.01025 per instance per hour.

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
Amazon ECS: What compute options does ECS offer?

AWS Fargate, Amazon EC2 and ECS Anywhere, plus ECS Managed Instances.

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
Share

Related pages

Other head to heads