Deploying multi-docker local setup to AWS using Elastic Beanstalk

I’m having e multi-docker setup running locally. Now, I would like to deploy that to AWS using Elastic Beanstalk.

My folder config is like this

  • Can I select which services to run with Atlassian's Localstack
  • How do I get AWS credentials in the AWS ECS docker container?
  • Is there any benefit to running docker containers on different Amazon servers?
  • How to use awslog driver in to get the logs from the docker container?
  • Deploy to elasticbeanstalk via CLI deploy command with Dockerrun.aws.json
  • What causes the EB cli to package an app as file name 1 (app-123456-654321.zip) vs file name 2 (9f1b.zip)?
  • app
        /.ebextensions
            composer.config
        /.elasticbeanstalk
            config.yml
        /docker (docker-compose and additional Docker files)
            docker-compose.yml
        /www (root folder of application)
    

    I already ran eb init, but I don’t know how to actually deploy my local docker-compose configuration to AWS.

    I read about the Dockerrun.aws.json file, should I just copy paste my docker-compose to that file? Or how does it work?

    I already tried to:

    • zip my folder and upload it to AWS
    • eb create / eb deploy but then I get the following error message:

      Platform Multi-container Docker 17.03.1-ce (Generic) does not appear to be valid

    Thank you

  • architechtetural thoughts about dockerizing the exsting services
  • Disable logging for one container in Docker-Compose
  • Kubernetes pod fails while making call to google cloud pub/sub with unknown certificate autority
  • Can I extend docker-compose files?
  • Concourse pending for long time before running task
  • Can't get docker running on Cloud9 IDE
  • One Solution collect form web for “Deploying multi-docker local setup to AWS using Elastic Beanstalk”

    I’m having a very similar issue (not using multi-container) and it appears Amazon has a bug. By selecting Docker 1.12.6 I am able to execute eb create which fails for me otherwise.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.