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

Amazon EC2

33.7K
23K
+ 1
2.5K
AWS Elastic Beanstalk

1.9K
1.5K
+ 1
240
Add tool

Amazon EC2 vs AWS Elastic Beanstalk: What are the differences?

What is Amazon EC2? Scalable, pay-as-you-go compute capacity in the cloud. Amazon Elastic Compute Cloud (Amazon EC2) 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 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.

Amazon EC2 belongs to "Cloud Hosting" category of the tech stack, while AWS Elastic Beanstalk can be primarily classified under "Platform as a Service".

Some of the features offered by Amazon EC2 are:

  • Elastic – Amazon EC2 enables you to increase or decrease capacity within minutes, not hours or days. You can commission one, hundreds or even thousands of server instances simultaneously.
  • Completely Controlled – You have complete control of your instances. You have root access to each one, and you can interact with them as you would any machine.
  • Flexible – You have the choice of multiple instance types, operating systems, and software packages. Amazon EC2 allows you to select a configuration of memory, CPU, instance storage, and the boot partition size that is optimal for your choice of operating system and application.

On the other hand, AWS Elastic Beanstalk provides the following key features:

  • 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

"Quick and reliable cloud servers" is the top reason why over 644 developers like Amazon EC2, while over 74 developers mention "Integrates with other aws services" as the leading cause for choosing AWS Elastic Beanstalk.

According to the StackShare community, Amazon EC2 has a broader approval, being mentioned in 3605 company stacks & 1613 developers stacks; compared to AWS Elastic Beanstalk, which is listed in 374 company stacks and 118 developer stacks.

Decisions about Amazon EC2 and AWS Elastic Beanstalk
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
Craig Finch
Principal Consultant at Rootwork InfoTech · | 5 upvotes · 58.3K views

We first selected Google Cloud Platform about five years ago, because HIPAA compliance was significantly cheaper and easier on Google compared to AWS. We have stayed with Google Cloud because it provides an excellent command line tool for managing resources, and every resource has a well-designed, well-documented API. SDKs for most of these APIs are available for many popular languages. I have never worked with a cloud platform that's so amenable to automation. Google is also ahead of its competitors in Kubernetes support.

See more
Stephen Fox
Artificial Intelligence Fellow · | 2 upvotes · 62.9K views

GCE is much more user friendly than EC2, though Amazon has come a very long way since the early days (pre-2010's). This can be seen in how easy it is to edit the storage attached to an instance in GCE: it's under the instance details and is edited inline. In AWS you have to click the instance > click the storage block device (new screen) > click the edit option (new modal) > resize the volume > confirm (new model) then wait a very long time. Google's is nearly instant.

  • In both cases, the instance much be shut down.

There also the preference between "user burden-of-security" and automatic security: AWS goes for the former, GCE the latter.

See more
Pros of Amazon EC2
Pros of AWS Elastic Beanstalk
  • 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
  • 77
    Integrates with other aws services
  • 65
    Simple deployment
  • 44
    Fast
  • 28
    Painless
  • 16
    Free
  • 3
    Independend app container
  • 3
    Well-documented
  • 2
    Postgres hosting
  • 2
    Ability to be customized

Sign up to add or upvote prosMake informed product decisions

Cons of Amazon EC2
Cons of AWS Elastic Beanstalk
  • 13
    Ui could use a lot of work
  • 6
    High learning curve when compared to PaaS
  • 3
    Extremely poor CPU performance
  • 2
    Charges appear automatically after exceeding free quota
  • 0
    Slow deployments

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 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.

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

What companies use Amazon EC2?
What companies use AWS Elastic Beanstalk?

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

What tools integrate with Amazon EC2?
What tools integrate with AWS Elastic Beanstalk?

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
1928
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
1885
DockerAmazon EC2Scala+8
6
2141
JavaScriptGitHubNode.js+29
14
10583
What are some alternatives to Amazon EC2 and AWS Elastic Beanstalk?
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 AWS Elastic Beanstalk cost?
Pricing unavailable