Too Long; Didn't Read
Elastic Beanstalk is a wrapper around Amazon Elastic Container Service and it already has some automation (by choosing actions in the UI interface). ElasticBeanstalk has some pros: It’s one of the easiest ways to deploy a simple application to AWS (ECS2) and it has some cons: It has a hard limit of 4 key-value pairs, thus you can’t set as many env variables as you want to set (EEC2 task is one ECS2 task)