Creating an AWS Elastic Beanstalk application and environment is nice and simple with the help of the eb-cli. However, if you aim to set up several environments and still manage to maintain all of them, you might want to start with Infrastructure as Code (IaC).