Answer the question
In order to leave comments, you need to log in
Server Tuning. Services natively or in containers/virtuals?
I am now deploying a server for work needs. owncloud, file cleaner, gitlab, and so on.
By default, I install and configure all these services natively. Accordingly, when moving to another hardware, I will install all this again, at best, copying the configs, making backups is also a little confusing.
How do modern people do it? Is it possible to wrap these services in docker containers? Or shove them into virtual machines? Or do they not?
Thanks in advance.
PS: I will be especially grateful for articles/books introducing the modern practice of organizing such cases.
Answer the question
In order to leave comments, you need to log in
At a minimum, you need to use tools for configuration management, for example, https://www.ansible.com/
And yes, wrap it in docker. In principle, the documentation on the network is full. The official one has a bunch of examples on wrapping services: https://docs.docker.com/engine/examples/
I recently recorded a webinar about docker, you might be interested: https://www.youtube.com/watch?v=dfXuTTV6TVo
Usually, an intelligent administrator takes into account a lot of factors, such as the degree of utilization of hardware capacities, the required performance and availability of services, the amount of maintenance labor, etc. But modern people, for the most part, are not smart admins, but mods who choose docker just because it is mainstream.
How do modern people do it? Is it possible to wrap these services in docker containers? Or shove them into virtual machines? Or do they not?
Take a look at Proxmox.
Very convenient administration through a web muzzle.
Separate virtual machines for each service.
Personal example: 2 computers, 10 virtual machines on them. The third computer is in reserve in case one of them fails. A couple of HDDs to restore raids. All. The advantages of the approach are obvious - there is always a system backup for almost any period of time, in the event of an emergency, you can roll everything back in a minimum period of time without dancing with a tambourine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question