I’m trying out a docker cloud with UCP in our datacenter but I still got some question, that I coudn’t find an answer for.
When I got a webserver container running and I scale it, so I get
for example 3 webcontainers, how is the traffic handled? Is there some
kind of load balancer? Where does the traffic ‘enter’ the cloud to find
the webservers inside my docker cluster?
How does the client knows where the container runs? How does he knows the ip of the webserver?
When I’ve got 2 containers that run a webserver on one host they
both need to expose port 80. I know you can map 80:80 for container 1
and 81:80 for container 2, but how will that work? When the client knows
the IP address and enters it in his webbrowser it will find the :80. I
never saw somebody specify port 81 inside his browser, how can this be
In UCP how do you specify on which host the container will be
running? Is it done by adding label constraints to the container? And
how do I add labels to hosts after they are created?
Can you automatically upscale the amount of for example webservers when the demand is high? dynamic scaling?)
When I launched one container on let’s say AWS cloud and I want to
bring it back to the on premise esx hostn is this possible?
Right now I’ve installed UCP, but I was wondering if there are alternatives, since the features of UCp are rather limited.
I know these are many questions (and maybe stupid ones), but I couldn’t find a clear answer yet.