posted 2 weeks ago
Provided that at the moment I have no access to AWS / GCP / other cloud services, and the company I work for isn't planning to adopt any external cloud-based hosting solution, I have to run a given number of docker containers in a local HW infrastructure.
I've been suggested to create a single linux VM for each docker stack, so that I'll end having more or less a Vm per single docker-compose file. Of course, I'll have to installa docker-ce on every VM linux machine.
Despite the fact that having an infrastructure as the one depicted above let you to completely isolate each stack from the other - so that, for example, an issue on a single node will avoid to get a number of out-of-duty services, I'm not so sure a similar architecture is best pratice.
I mean, as far as I know - but I'm not a great expert on this topic, I'd had guessed that a more common sense solution would be a single virtual host running several containers, and adopt some other software layer (microk8, for example) to handle resources and pods.
I'd love to hear from your experience what's your opinion about.
TIA
Claude