Explore Courses Blog Tutorials Interview Questions
+10 votes
in AWS by (1.1k points)
Can someone differentiate between EC2 and Elastic Beanstalk?

3 Answers

+11 votes
by (10.5k points)


  • EC2 is a service of Amazon which helps you to create and launch servers in the Amazon cloud.

  • These servers are called instances and they are configured behind a load balancer when we create a Beanstalk application

  • With a single instance, we can launch n number of instances.

  • You pay for the time and for what you have used.

     AWS Elastic Beanstalk

  • A Beanstalk infrastructure contains EC2 instances, databases, security and scaling groups and many more AWS components.

  • It is beneficial for the purpose of deploying elastic cloud applications.

  • Beanstalk doesn’t charge for the additional resources you have been provided with.

  • Elastic Beanstalk supports a PHP stack. You can keep your site in version control and easily deploy to your environment whenever you make changes

Learn more about AWS by going through AWS course and master this trending technology.

0 votes
by (33.1k points)

Refer to this blog to learn Amazon EC2

For Elastic Beanstalk in AWS -

Hope these resources help you!

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
by (300 points)
reshown by


EC2 is Amazon's service that allows you to create a server (AWS calls these instances) in the AWS cloud. You pay by the hour and only what you use. You can do whatever you want with this instance as well as launch n number of instances.

Elastic Beanstalk

Elastic Beanstalk is one layer of abstraction away from the EC2 layer. Elastic Beanstalk will setup an "environment" for you that can contain a number of EC2 instances, an optional database, as well as a few other AWS components such as a Elastic Load Balancer, Auto-Scaling Group, Security Group. Then Elastic Beanstalk will manage these items for you whenever you want to update your software running in AWS. Elastic Beanstalk doesn't add any cost on top of these resources that it creates for you. If you have 10 hours of EC2 usage, then all you pay is 10 compute hours.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

Browse Categories