AWS Elastic Beanstalk is an application management platform that helps customers easily deploy and scale web applications and services without having to worry about underlying infrastructure. AWS Elastic Beanstalk uses the Amazon EC2 Container Service under the hood for its Multicontainer Docker Environments.
You can refer this link for further explanation - https://aws.amazon.com/ecs/faqs/