What is the difference between Amazon EC2 and AWS Elastic Beanstalk?

It’s the difference between Infrastructure as a Service (EC2) and Platform as a Service (Elastic Beanstalk).

With PaaS, you typically only manage an application and its data. With IaaS, you also manage the runtime environment for the application and the Operating System on which that environment runs.