Skip to main content
  1. Projects/
  2. AWS DevOps Pro Certification/
  3. 2: Configuration Mgmt / Infrastructure as Code/
  4. 0: Elastic Beanstalk/

3: Beanstalk Docker Deploys

·1 min

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