EC2 Container Service Networking

My team is exploring different toolsets (Docker Datacenter, DC/OS, etc.) for a CaaS Platform offering. We’re currently looking at Amazon EC2 Container Service (ECS) as a possible solution, but are having trouble translating our docker-compose files into ECS tasks.

Specifically, we’re not sure how to approach networking within a task in ECS. I was under the impression that a task was sort of analogous to a compose, but it seems to handle networking in a very different way.

  • docker info command doesn't show anything in ec2 Instance
  • Connecting to RDS Mysql from docker container with WordPress
  • Error unmounting Docker - invalid argument
  • Elastic BeanStalk Docker app, writing local files
  • How can I detect if a tcp connection has been forwarded from a ssl connection?
  • Trouble getting AWS ecs-cli to pull from private docker repo
  • E.g. the expects two networks, ‘front-tier’ and ‘back-tier’ each of which seems to be stock overlay networks. How does one create these in ECS?

  • Automatically run command inside docker container after starting up + volume mount
  • Django can't connect to Postgres in Docker setup
  • Explanation about Supervisor and tail over Apache's error.log
  • How do I configure boot2docker to start my containers on boot?
  • apache-php doesn't start with docker-compose
  • How to copy files from Windows host to Docker container
  • One Solution collect form web for “EC2 Container Service Networking”

    ECS supports docker compose style container deployment using

    Please refer to the following documenation

    The example you have shared uses docker networking, which was added to docker in 1.9.
    Amazon ECS still does not support docker networking options when defining tasks, so you will not get the example to work as is.

    Of course you can redefine the task and use legacy docker link features to open access between containers.

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