Question: what is the difference between aws lambda and elastic beanstalk?
Answer: Basically both does the same thing like manage your infrastructure. With Lambda AWS runs your code and you do not control the underlying infrastructure. With Beanstalk you have full control of the underlying infrastructure like you can assign on which instance type to run your application.