GithubHelp home page GithubHelp logo

eb-docker-virtual-hosting's Introduction

Elastic Beanstalk Multi Container PHP + Tomcat (Virtual Hosting) Demo App

This demo app shows you how to run simple PHP and Tomcat applications together using the PHP, Tomcat and Nginx Docker images from the official Docker library.

Run the App

Follow the steps below to deploy this application to an Elastic Beanstalk Multi-container Docker environment. Accept the default settings unless indicated otherwise in the steps below:

  1. Download the ZIP file from the Releases section of this repository.
  2. Login to the Elastic Beanstalk Management Console
  3. Click 'Create New Application' and give your app a name and description
  4. Click 'Create web server' and select an IAM instance profile to use.
    Note: Please ensure the IAM instance profile you select has the necessary permissions. For more information, see Container Instance Role
  5. Choose 'Multi-container Docker' in the 'Predefined configuration' dropdown and click Next
  6. Upload the ZIP file downloaded in step 1
  7. Review and launch the application

eb-docker-virtual-hosting's People

Contributors

abhiksingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eb-docker-virtual-hosting's Issues

Running a Docker container with --privileged

I am following this example to run two websites on the same Elastic Beanstalk instance from two different Docker containers - exactly as the example shows. However, in one of my Docker containers, I mount a cifs drive from another AWS Windows fileserver. This works great when I build the Docker locally and run it with the --privileged flag. Only I can't figure out if this is supported with Elastic Beanstalk.

I need to know if AWS supports running one of the dockers (or both) with --privileged permissions?

I have seen a hacky way to do it (which works great) for a single Docker container here (http://stackoverflow.com/questions/28267419/how-can-i-run-a-docker-container-in-aws-elastic-beanstalk-with-non-default-run-p), but this obviously doesn't apply to the multi-docker mode.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.