Amazon EC2 vs Firebase vs Heroku

Need advice about which tool to choose?Ask the StackShare community!

Amazon EC2

33.7K
23K
+ 1
2.5K
Firebase

22.5K
18.5K
+ 1
1.9K
Heroku

17K
12.7K
+ 1
3.2K
Decisions about Amazon EC2, Firebase, and Heroku

I'm transitioning to Render from heroku. The pricing scale matches my usage scale, yet it's just as easy to deploy. It's removed a lot of the devops that I don't like to deal with on setting up my own raw *nix box and makes deployment simple and easy!

Clustering I don't use clustering features at the moment but when i need to set up clustering of nodes and discoverability, render will enable that where Heroku would require that I use an external service like redis.

Restarts The restarts are annoying. I understand the reasoning, but I'd rather watch my service if its got a memory leak and work to fix it than to just assume that it has memory leaks and needs to restart.

See more
Daniel Quinn
Senior Developer at Workfinder · | 4 upvotes · 3.3K views

I host my stuff with Hetzner in large part because their tools are straighforward and easy to use and they're based in a country whose laws respect privacy.

If you're hosting with a company that's US-based, you have to worry about their laws affecting your site, which isn't an acceptable requirement in my opinion.

See more
Jerome/Zen Quah
Shared insights
on
DigitalOceanDigitalOceanAmazon EC2Amazon EC2

DigitalOcean was where I began; its USD5/month is extremely competitive and the overall experience as highly user-friendly.

However, their offerings were lacking and integrating with other resources I had on AWS was getting more costly (due to transfer costs on AWS). Eventually I moved the entire project off DO's Droplets and onto AWS's EC2.

One may initially find the cost (w/o free tier) and interface of AWS daunting however with good planning you can achieve highly cost-efficient systems with savings plans, spot instances, etcetera.

Do not dive into AWS head-first! Seriously, don't. Stand back and read pricing documentation thoroughly. You can, not to the fault of AWS, easily go way overbudget. Your first action upon getting your AWS account should be to set up billing alarms for estimated and current bill totals.

See more
Pros of Amazon EC2
Pros of Firebase
Pros of Heroku
  • 644
    Quick and reliable cloud servers
  • 515
    Scalability
  • 391
    Easy management
  • 276
    Low cost
  • 269
    Auto-scaling
  • 88
    Market leader
  • 80
    Backed by amazon
  • 78
    Reliable
  • 66
    Free tier
  • 57
    Easy management, scalability
  • 12
    Flexible
  • 10
    Easy to Start
  • 9
    Web-scale
  • 8
    Widely used
  • 8
    Elastic
  • 7
    Node.js API
  • 4
    Industry Standard
  • 3
    Lots of configuration options
  • 2
    GPU instances
  • 1
    Amazing for individuals
  • 1
    Extremely simple to use
  • 1
    All the Open Source CLI tools you could want.
  • 1
    Simpler to understand and learn
  • 357
    Realtime backend made easy
  • 261
    Fast and responsive
  • 233
    Easy setup
  • 206
    Real-time
  • 184
    JSON
  • 126
    Free
  • 120
    Backed by google
  • 80
    Angular adaptor
  • 62
    Reliable
  • 36
    Great customer support
  • 25
    Great documentation
  • 22
    Real-time synchronization
  • 19
    Mobile friendly
  • 17
    Rapid prototyping
  • 12
    Great security
  • 10
    Automatic scaling
  • 9
    Freakingly awesome
  • 8
    Chat
  • 8
    Super fast development
  • 8
    Angularfire is an amazing addition!
  • 6
    Awesome next-gen backend
  • 6
    Ios adaptor
  • 5
    Firebase hosting
  • 5
    Built in user auth/oauth
  • 4
    Very easy to use
  • 3
    Brilliant for startups
  • 3
    It's made development super fast
  • 3
    Great
  • 2
    Low battery consumption
  • 2
    The concurrent updates create a great experience
  • 2
    I can quickly create static web apps with no backend
  • 2
    Great all-round functionality
  • 2
    Speed of light
  • 1
    Easy to use
  • 1
    Good Free Limits
  • 1
    .net
  • 1
    Serverless
  • 1
    Large
  • 1
    JS Offline and Sync suport
  • 1
    Easy Reactjs integration
  • 1
    Faster workflow
  • 1
    Push notification
  • 703
    Easy deployment
  • 460
    Free for side projects
  • 374
    Huge time-saver
  • 348
    Simple scaling
  • 261
    Low devops skills required
  • 189
    Easy setup
  • 174
    Add-ons for almost everything
  • 153
    Beginner friendly
  • 149
    Better for startups
  • 133
    Low learning curve
  • 47
    Postgres hosting
  • 41
    Easy to add collaborators
  • 30
    Faster development
  • 24
    Awesome documentation
  • 19
    Simple rollback
  • 18
    Focus on product, not deployment
  • 15
    Easy integration
  • 15
    Natural companion for rails development
  • 11
    Great customer support
  • 7
    GitHub integration
  • 6
    No-ops
  • 5
    Painless & well documented
  • 3
    Just works
  • 3
    Free
  • 2
    PostgreSQL forking and following
  • 2
    I love that they make it free to launch a side project
  • 2
    Great UI
  • 2
    MySQL extension

Sign up to add or upvote prosMake informed product decisions

Cons of Amazon EC2
Cons of Firebase
Cons of Heroku
  • 13
    Ui could use a lot of work
  • 6
    High learning curve when compared to PaaS
  • 3
    Extremely poor CPU performance
  • 25
    Can become expensive
  • 14
    No open source, you depend on external company
  • 14
    Scalability is not infinite
  • 9
    Not Flexible Enough
  • 5
    Cant filter queries
  • 3
    Very unstable server
  • 2
    Too many errors
  • 2
    No Relational Data
  • 22
    Super expensive
  • 6
    No usable MySQL option
  • 6
    Not a whole lot of flexibility
  • 5
    Storage
  • 4
    Low performance on free tier

Sign up to add or upvote consMake informed product decisions

What is Amazon EC2?

It is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

What is Firebase?

Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.

What is Heroku?

Heroku is a cloud application platform – a new way of building and deploying web apps. Heroku lets app developers spend 100% of their time on their application code, not managing servers, deployment, ongoing operations, or scaling.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Amazon EC2?
What companies use Firebase?
What companies use Heroku?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Amazon EC2?
What tools integrate with Firebase?
What tools integrate with Heroku?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Dec 22 2020 at 9:26PM
https://img.stackshare.io/company/260/c077fc04bb219001b7a1ab10f90ebcdb00c143a9.png logo

Pinterest

Amazon EC2MemcachedC+4
8
1929
Sep 29 2020 at 7:36PM
https://img.stackshare.io/company/165617/cbd54fc70c90bdc732b07283f2a61ca8fb8980bd.png logo

WorkOS

PythonSlackG Suite+17
6
2106
May 21 2020 at 12:02AM
https://img.stackshare.io/stack/650371/default_35848f736f9651e77452a8a4ce3c2c953360dedf.png logo

Rancher Labs

Amazon EC2KubernetesGrafana+12
3
1052
Aug 28 2019 at 3:10AM
https://img.stackshare.io/stack/505487/default_e35b8bd5e615e01dc9b420dbd2a444fcbaeff755.png logo

Segment

PythonJavaAmazon S3+16
5
1887
GitNode.jsFirebase+5
7
1478
DockerAmazon EC2Scala+8
6
2141
What are some alternatives to Amazon EC2, Firebase, and Heroku?
Amazon LightSail
Everything you need to jumpstart your project on AWS—compute, storage, and networking—for a low, predictable price. Launch a virtual private server with just a few clicks.
Amazon S3
Amazon Simple Storage Service provides a fully redundant data storage infrastructure for storing and retrieving any amount of data, at any time, from anywhere on the web
Amazon EC2 Container Service
Amazon EC2 Container Service lets you launch and stop container-enabled applications with simple API calls, allows you to query the state of your cluster from a centralized service, and gives you access to many familiar Amazon EC2 features like security groups, EBS volumes and IAM roles.
Beanstalk
A single process to commit code, review with the team, and deploy the final result to your customers.
Microsoft Azure
Azure is an open and flexible cloud platform that enables you to quickly build, deploy and manage applications across a global network of Microsoft-managed datacenters. You can build applications using any language, tool or framework. And you can integrate your public cloud applications with your existing IT environment.
See all alternatives
Interest over time
How much does Amazon EC2 cost?
How much does Firebase cost?
How much does Heroku cost?