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?

  • I would create build images and copy the data from local into image, then just have that deployed. – Matt The Ninja Sep 3 '17 at 13:11

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.