Heroku vs AWS Fargate vs EC2 On-Demand vs EC2

Heroku vs AWS Fargate vs EC2 On-Demand vs EC2

When it comes to choosing container services, you have abundant options to explore. Heroku vs AWS Fargate vs EC2 On-Demand vs EC2 just scratches the surface. The following comparison should help you decide whether one of these services has the write Docker containers, Kubernetes, containerized virtual machines, and other features your organization needs for your usecase. Whether you want to run containers with applications any operating system can use, or create production environments that extend your underlying infrastructure while lowering your network's CPU usage, you need to know about these options.

Recommended reading: What is PaaS (Platform as a Service)?

Achieve Cloud Elasticity with Iron

Speak to us to find how you can achieve cloud elasticity with a serverless messaging queue and background task solution with free handheld support.

Heroku Features

Heroku calls its containers Dynos. Some critical Dyno features include:

  • Ability to deploy from Git
  • Horizontal auto-scaling
  • Automated OS patching
  • Docker container registry and runtime

Recommended reading: Which Heroku MQ add on is best? Let us show you!

Amazon Fargate Features

  • Serverless compute that runs applications in public cloud-based, discrete containers
  • Easy integration with AWS ECS services (Elastic Container Service), EKS (Elastic Kubernetes Service), AWS Lambda and other AWS services
  • Superb security from AWS public cloud

Recommended reading: AWS Fargate vs ECS: What You Need to Know

Amazon EC2 and EC2 On-Demand Features

Amazon ECT and AWS EC2 On-Demand have the same features. They only differ in how they charge for services.

Popular features include:

  • Optimize compute performance with EC2 instance types, EC2 Fleet, and Availability Zones
  • Optimized CPU configurations
  • Flexible storage options, including Amazon Elastic File System (EFS) and Amazon Elastic Block Store (EBS)

Explore Iron’s container features by visiting the IronWorker page.

Heroku vs AWS Fargate vs EC2 On-Demand vs EC2: Pricing

Heroku Pricing

Heroku has four pricing tiers:

  • Free and Hobby: $0
  • Production: $25 and up per month
  • Advanced: $250 and up per month
  • Enterprise: custom pricing

AWS Fargate Pricing

Amazon Web Services charges different prices for Fargate depending on your location. Users in Northern California can expect to pay:

  • $0.04656 per vCPU per hour
  • $0.00511 per GB per hour

Users in London, UK can expect to pay:

  • $0.01405223 per vCPU per hour
  • $0.00154224 per GB per hour

EC2 On-Demand Pricing

EC2 On-Demand Instances give you the option to pay for compute capacity by the second, with a minimum of 60 seconds. EC2 On-Demand pricing varies according to several variables, including:

  • Location
  • Operating system (Linux, UNIX, Windows, Windows Server 2003, etc.)
  • vCPU
  • ECU
  • Memory
  • Instance storage

EC2 Pricing

EC2 has several pricing options that depend on factors like whether you use a savings plan, reserved instances, or dedicated hosts. AWS has an online calculator you can use to estimate the cost of EC2 and other Amazon Web Services.

Use the online calculator for an EC2 spot pricing comparison with EC2 On-Demand.

Iron.io Serverless Tools

Speak to us to learn how IronWorker and IronMQ are essential products for your application to become cloud elastic.

Heroku vs AWS Fargate vs EC2 On-Demand vs EC2: Reviews


Heroku users give the service 4.3 out of 5 stars.

Positive reviews mention Heroku’s:

  • Easy documentation
  • Excellent marketplace for open source add-ons
  • Fast executions

Negative reviews mention:

  • Higher price than AWS, making it expensive for startups
  • Lack of persistent file storage

AWS Fargate

AWS users give the service 4.8 out of 5 stars on G2.

Positive reviews mention Fargate’s:

  • Serverless functionality that lets DevOps function on meaningful work
  • Autoscaling
  • Ability to deploy Docker containers without Amazon ECS or EC2 instances

Negative reviews mention:

  • Cold stars slow runtime
  • Solution can scale slower than expected


Reviewers give Amazon EC2 4.5 out of 5 stars on G2.

Positive reviews mention EC2’s:

  • Reliable vertical auto scaling
  • Terrific load balancer options and VPS (virtual private server)
  • Ability to work with a broad range of services, including Windows and Ubuntu

Negative reviews mention:

  • Difficulty using Amazon CloudFront, CloudFormation, and CloudWatch
  • Messy organization that makes some features hard to find
  • Amazon’s confusing pricing model
Heroku vs AWS Fargate vs EC2 On-Demand vs EC2

IronWorker Offers Flexible Container Services

IronWorker makes it easy for you to containerize your background tasks with flexible deployment options. The solution can run anything from push notifications to ETL processing. You even get to choose to run your containers on a shared infrastructure, dedicated hardware, on-premises server, or hybrid environment. The solution optimizes provisioning of your IaaS for your organization's unique usecase.

Unlock the Cloud with Iron.io

Find out how IronWorker and IronMQ can help your application obtain the cloud with fanatical customer support, reliable performance, and competitive pricing.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.