AWS Multiple Docker Environments
Overview[edit]
The goal is to cut down on costs in AWS. Each Elastic Beanstalk environment must its own corresponding EC2 instance, and each of those EC2 instances cost money.
So for example, if there is a staging and production environment, it's necessary to pay for both the EC2 instances needed to support them. If, however, the web application can be hosted within a docker container, then it's possible to use a Multicontainer Docker Environment and run separate Docker containers for staging and production within a single EBS instance. [1]
Notes[edit]
- ↑ Multicontainer Docker Environments - AWS documentation