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?
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
AWS Elastic Beanstalk Multiple Docker environment use same
Dockerrun.aws.json in ECS. Try to replicate the
Dockerrun.aws.json from the ECS documentation.