Though, I kinda wonder. When scaling web instances, does it provision a new machine per instance?
Also, how do I do something like create backing services?
Though, I kinda wonder. When scaling web instances, does it provision a new machine per instance?
Also, how do I do something like create backing services?
We host application instances in Docker containers, so each instance is essentially a container on a VM. We have a very basic scheduler implementation (read: round-robin) that deploys the containers evenly across nodes under the Runtime Layer[1]. As gabrtv mentions in another comment, we are looking to replace this scheduler with something more sophisticated like Apache Mesos[2].
As for creating backing services, we are looking to implement a service registry[3] where it would communicate with third-party services much like how Heroku Addons work. For the moment, most users set an environment variable for their application as per the docs: http://docs.deis.io/en/latest/developer/manage-application/#...
[1]: http://docs.deis.io/en/latest/components/layer/#runtime-laye...