Elastic Beanstalk with multiple environments and URL routing between them

I’m trying to get started with creating a website with a few Docker microservices using Amazon Web Services. These services should all reside under the same domain, so i want something like:

  • domain.com/search to point to my Search service.
  • domain.com/auth to point to my Authentication service.
  • domain.com/static to point to a bucket of static files.
  • domain.com to point to /static/index.html (which implements an AngularJS app).

(note: everything under the mentioned directories should also point to the particular service, ie. /search/autocomplete points to Search).

  • docker: 'stack' is not a docker command
  • SSL: how to get access to HTTPS in docker container
  • nginx & nodejs: connect() failed (111: Connection refused) while connecting to upstream
  • Changing path of docker containers in host system
  • How to expose Docker volumes to my local machine using KiteMatic interface
  • Lowercase images names in docker
  • Search and Authentication should both have load balancing independent of each other. These services each implement a web-api in Python/Falcon, and the containers are set up to listen on port 80 using a webserver embedded in the container.

    I would also like to have Search be able to invoke Authentication.

    I’m very confused as how to go about this. I’m not even sure Elastic Bealstalk is the right tool to use, so i was hoping to be pointed in the right direction. Thank you.

  • docker logs doesn't log detached exec
  • Mysql: forward host lookup failed: Unknown host
  • Locally deploying a GCloud app with a custom Docker image
  • configuring dynomitedb from Docker-compose
  • Jenkins amazon-ecr plugin issue
  • Docker - orchardup/mysql container does not start on Ubuntu 14.04
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.