AWS Elastic Beanstalk vs Heroku

AWS Elastic Beanstalk
AWS Elastic Beanstalk

1.1K
152
230
Heroku
Heroku

7.1K
926
3.1K
Add tool

AWS Elastic Beanstalk vs Heroku: What are the differences?

What is AWS Elastic Beanstalk? Quickly deploy and manage applications in the AWS cloud. Once you upload your application, Elastic Beanstalk automatically handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring.

What is Heroku? Build, deliver, monitor and scale web apps and APIs with a trail blazing developer experience. 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.

AWS Elastic Beanstalk and Heroku can be categorized as "Platform as a Service" tools.

Some of the features offered by AWS Elastic Beanstalk are:

  • Elastic Beanstalk is built using familiar software stacks such as the Apache HTTP Server for Node.js, PHP and Python, Passenger for Ruby, IIS 7.5 for .NET, and Apache Tomcat for Java
  • There is no additional charge for Elastic Beanstalk - you pay only for the AWS resources needed to store and run your applications.
  • Easy to begin – Elastic Beanstalk is a quick and simple way to deploy your application to AWS. You simply use the AWS Management Console, Git deployment, or an integrated development environment (IDE) such as Eclipse or Visual Studio to upload your application

On the other hand, Heroku provides the following key features:

  • Agile deployment for Ruby, Node.js, Clojure, Java, Python, Go and Scala.
  • Run and scale any type of app.
  • Total visibility across your entire app.

"Integrates with other aws services" is the primary reason why developers consider AWS Elastic Beanstalk over the competitors, whereas "Easy deployment" was stated as the key factor in picking Heroku.

StackShare, Heroku, and SendGrid are some of the popular companies that use Heroku, whereas AWS Elastic Beanstalk is used by Sellsuki, Edify, and eTobb. Heroku has a broader approval, being mentioned in 1496 company stacks & 937 developers stacks; compared to AWS Elastic Beanstalk, which is listed in 370 company stacks and 113 developer stacks.

- No public GitHub repository available -
- No public GitHub repository available -

What is AWS Elastic Beanstalk?

Once you upload your application, Elastic Beanstalk automatically handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring.

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.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose AWS Elastic Beanstalk?
Why do developers choose Heroku?
What are the cons of using AWS Elastic Beanstalk?
What are the cons of using Heroku?
What companies use AWS Elastic Beanstalk?
What companies use Heroku?
What are some alternatives to AWS Elastic Beanstalk and Heroku?
Google App Engine
Google has a reputation for highly reliable, high performance infrastructure. With App Engine you can take advantage of the 10 years of knowledge Google has in running massively scalable, performance driven systems. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow.
AWS CodeDeploy
AWS CodeDeploy is a service that automates code deployments to Amazon EC2 instances. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications.
Docker
The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
Azure App Service
Quickly build, deploy, and scale web apps created with popular frameworks .NET, .NET Core, Node.js, Java, PHP, Ruby, or Python, in containers or running on any operating system. Meet rigorous, enterprise-grade performance, security, and compliance requirements by using the fully managed platform for your operational and monitoring tasks.
AWS CloudFormation
You can use AWS CloudFormation’s sample templates or create your own templates to describe the AWS resources, and any associated dependencies or runtime parameters, required to run your application. You don’t need to figure out the order in which AWS services need to be provisioned or the subtleties of how to make those dependencies work.
See all alternatives
What tools integrate with AWS Elastic Beanstalk?
What tools integrate with Heroku?
Decisions about AWS Elastic Beanstalk and Heroku
No stack decisions found
Interest over time
Reviews of AWS Elastic Beanstalk and Heroku
Review ofHerokuHeroku

I use Heroku, for almost any project of mine. Their free plan is awesome for testing, solo developers or your startup and its almost impossible to not cover you somehow. Adding an add on is a simple command away and I find it easy to use it both on my Windows PC or my Linux laptop. Their documentation, covers almost everything. In particular I have used Heroku for Spring, Django and AngularJS. I even find it easier to run my project on my local dev with foreman start, than ./manage.py runserver (for my django projects). There is no place like Heroku for the developer!

Review ofHerokuHeroku

Can't beat the simplicity of deploying and managing apps, the pricing is a bit high, but you are paying for those streamlined tools. However, after several experiences of tracing issues back to Heroku's stack, not having visibility into what they are doing has prompted moving two applications off of it and on to other more transparent cloud solutions. Heroku is amazing for what it is, hosting for early stage products.

Review ofHerokuHeroku

I've been using Heroku for 3 years now, they have grown super fast and each time they're improving their services. What I really like the most is how easily you can show to your client the advances on you project, it would take you maximum 15 minutes to configure two environments (Staging/Production). It is simply essential and fantastic!

Review ofHerokuHeroku

I liked how easy this was to use and that I could create some proof of concepts without have to pay. The downside for NodeJS is remote debugging. Pretty much have to depend on logging where Azure allows remote debugging with Node Inspector.

Review ofHerokuHeroku

Using Heroku takes away all the pains associated with managing compute and backing services. It may require a little extra optimisation and tweaks, but these constraints often make your app better anyway.

How developers use AWS Elastic Beanstalk and Heroku
Avatar of StackShare
StackShare uses HerokuHeroku

Not having to deal with servers is a huge win for us. There are certainly trade-offs (having to wait if the platform is down as opposed to being able to fix the issue), but we’re happy being on Heroku right now. Being able to focus 100% of our technical efforts on application code is immensely helpful.

Two dynos seems to be the sweet spot for our application. We can handle traffic spikes and get pretty consistent performance otherwise.

We have a total of four apps on Heroku: Legacy Leanstack, StackShare Prod, StackShare Staging, StackShare Dev. Protip: if you’re setting up multiple environments based on your prod environment, just run heroku fork app name. Super useful, it copies over your db, add-ons, and settings.

We have a develop branch on GitHub that we push to dev to test out, then if everything is cool we push it to staging and eventually prod. Hotfixes of course go straight to staging and then prod usually.

Avatar of StackShare
StackShare uses HerokuHeroku

We keep the Metrics tab open while we load test, and hit refresh to see what’s going on: heroku metric

I would expect the graphs to expand with some sort of detail, but that’s not the case. So these metrics aren’t very useful. The logs are far more useful, so we just keep the tail open while we test.

Avatar of Tim Lucas
Tim Lucas uses HerokuHeroku

Heroku runs the web and background worker processes. Auto-deployments are triggered via GitHub commits and wait for the Buildkite test build to pass. Heroku pipelines with beta release phase execution (for automatically running database migrations) allowed for easy manual testing of big new releases. Web and worker logs are sent to Papertrail.

Avatar of Jeff Flynn
Jeff Flynn uses HerokuHeroku

As much as I love AWS EC, I prefer Heroku for apps like this. Heroku has grown up around Rails and Ruby, massive set of add-ons that are usually one-click setup, and I once had to perform an emergency app scale-up a that I completed in seconds from my mobile phone whilst riding the Bangkok subway. Doesn't get much easier than that.

Avatar of Matt Welke
Matt Welke uses HerokuHeroku

Used for proofs of concept and personal projects where I want to remain in a free tier (as opposed to a service like DigitalOcean), and application state must outlive an HTTP request/response cycle.

Heroku Postgres sometimes used as a free tier PostgreSQL managed database linked to non-Heroku apps, for example AWS Lambda.

Avatar of ONLICAR
ONLICAR uses AWS Elastic BeanstalkAWS Elastic Beanstalk

Elastic Beanstalk gives us a managed platform for our front end servers to make sure that traffic is never overloading our servers and that deployments are always successful.

Avatar of Lumanu
Lumanu uses AWS Elastic BeanstalkAWS Elastic Beanstalk

Elastic Beanstalk manages our environments. We rely on it to manage rolling out new versions of services.

Avatar of Flux Work
Flux Work uses AWS Elastic BeanstalkAWS Elastic Beanstalk

Easy to get started. Essentially a package of several AWS products integrated for you.

Avatar of Daniel Pupius
Daniel Pupius uses AWS Elastic BeanstalkAWS Elastic Beanstalk

For convenience I use Elastic Beanstalk to host all my sites.

Avatar of Undisclosed, Do Not Contact or Spam Please
Undisclosed, Do Not Contact or Spam Please uses AWS Elastic BeanstalkAWS Elastic Beanstalk

All server-side deployments go to one of 5 EB environments.

How much does AWS Elastic Beanstalk cost?
How much does Heroku cost?
Pricing unavailable