Deploy a Docker environment on Elastic Beanstalk

by guidsen   Last Updated August 03, 2015 14:00 PM

I just "Dockerized" my infrastructure into containers. The environment basically is one nginx-php-fpm container which contains nginx configured with php-fpm. This container connects to multiple data-containers which contains the application files for the specific component.

I've seen multiple talks on deploying a single container to Beanstalk, but I'm not sure how I would deploy an environment like this. Locally the environment works. I got my nginx-php-fpm container using the --volumes-from flag to a data-container.

How would I create the same environment on Beanstalk? I can't find the option to volume from another container. Also is there a good platform that handles the Docker orchestration yet?



Answers 1


AWS Elastic Beanstalk provides Multiple Docker environment. It will be deployed on top of AWS EC2 Container Service (ECS). ECS itself supports --volume-from options. See AWS ECS documentation to mount volumes from another container using volumesFrom.

AWS Elastic Beanstalk Multiple Docker environment use same Dockerrun.aws.json in ECS. Try to replicate the Dockerrun.aws.json from the ECS documentation.

Edward Samuel
Edward Samuel
August 03, 2015 09:46 AM

Related Questions


How to make AWS containers communicate

Updated January 02, 2018 23:00 PM

Multiple docker containers elastic beanstalk

Updated April 30, 2015 21:00 PM

AWS ElasticBeanstalk: container keeps restarting

Updated September 23, 2015 20:00 PM