dockerdigital-oceanrackspace

How to auto scale docker containers in a regular cloud server?


To make a scale-able architecture with docker containers is a very attractive solutions to deal with scale-ability issue. We can auto scale docker containers in Amazon Elastic Beanstalk environment or in a vendor specific pass environments.

What is the best way to make your own scale-able docker architecture on commodity cloud servers such as Digital Ocean or Rackspace that will auto provisions containers based on loads.


Solution

  • The most known solution for managing scaling a docker-based infrastructure are:

    This article mentions:

    In terms of scale, only Mesos has been proven to support large-scale systems of hundreds or thousands of nodes. However, when looking at small clusters of, say, less than a dozen nodes, Mesos may be an overly complex solution.

    As mentioned here:

    Almost everything we can do with Docker we can do with Swarm as well only on a much larger scale. There’s nothing new to do, no configurations to be duplicated and nothing new to learn.

    https://i2.wp.com/blog.docker.com/media/2015/11/image00.png?w=1887

    So start with Docker Swarm first, and if particular needs arise, look for the other solutions.

    See: