- Projects/
- AWS DevOps Pro Certification/
- 2: Configuration Mgmt / Infrastructure as Code/
- 0: Elastic Beanstalk/
3: Beanstalk Docker Deploys
·1 min
Table of Contents
Docker is one of the options in EB!
(Next to e.g. Python)
Single-container Deploys
- Dockerfile -> (build) -> image
- One instance, one container
- Beanstalk can do this for us
- Not ideal for multi-tier envs
- e.g. web layer, app layer, db layer
Multi-Container Deploys
- Several containers can run on same instances
- Separate containers for db, webapp, api
Docker run
file is mandatory for multi-container
How to ensure scalability running docker on EB?
- Deploy 1 container per process with multi-container