I have to admit something to you (readers, but also colleagues). When I became CTO (Chief Technology Officer) at Wilda Software and worked on infrastructure and the internal systems our team uses, I always had it in mind that we should bet on self-hosting, meaning hosting various pieces of software ourselves. The reason was a conviction that this way we would have more control, avoid problems caused by losing access to services, and avoid possible security breaches (even though we do use external servers). But there was one more argument: "we're an IT company, and that's how it's done in this industry, because it shows professionalism". True? Well, not quite.
After a few years and a bigger load of experience, it dawned on me (and on us as a team, generally) that yes, self-hosting has big advantages and is simply interesting to outsiders, but unfortunately it also has drawbacks. In a more amateur setup, or one with no plans to make money, some of those weaknesses matter less. In an organization operating on the market they are a major challenge, and sometimes they even block projects. In short, self-hosting is not the ideal solution in every case, and even where it seems to be the best option, the situation can change once we are talking about a team that has to deliver business solutions to its clients. Those clients do not care what infrastructure a software house has. It simply has to do its job and bring value.
I realize that some people are tearing their hair out while reading this, because self-hosting matters especially for privacy, independence from Big Tech and so on. I apologize to those readers: today I will play devil's advocate, but I will also draw on my own experience. So let us talk about the problems of running applications yourself, which some people forget about because they enthusiastically believe they will become immune to all the evils of the tech world.
What is self-hosting?
Let us start with the basics, which not everyone may know: what are we actually going to talk about today? Self-hosting means using software that we host ourselves, i.e. we deploy it to a server and configure it for our needs. It is the opposite of the SaaS (Software as a Service) cloud model, where we create an account in a service provided by an external company, most often paying a subscription for it. The simplest example is a task management system. You can create an account on the Jira server and run your team's projects there. But you can also download Redmine and set it up on your own server. To get ahead of myself a little: in this particular area Wilda Software chose self-hosting, though we went even further.
Such "self-management", as I mentioned earlier, usually concerns software, so this is software self-hosting. In this model we take ready-made software to deploy (the most popular system of this kind is WordPress for building websites), install it according to the instructions, and then configure and modify it depending on our needs and abilities. There are situations, however, where an organization wants to be so independent of other providers that it opts for hardware self-hosting, at least partial. This usually means the company buys a physical server and brings it to its own premises, gaining more hands-on control over it and often cutting it off from the Internet. In short, the company builds itself a small server room. This is a much less popular "pastime", because it involves higher costs, proper conditions and the knowledge needed to handle all of it. In our careers, serving dozens or hundreds of clients, we have come across maybe four cases where the companies we worked with made such a move. It came either from having a suitable computer on site and wanting to use it, or from specific cybersecurity requirements. Usually, though, we are talking about clients who have their own IT specialists and administrators on site. It also has to be said clearly that in some cases buying such a server was not justified.
By far the most common example of self-hosting, however, is downloading the installation package of ready-made software and deploying it to a purchased ready-made cloud server. Even then we have a lot of control over the data, since we usually have access to the database, while the server itself is secured by specialists in their trade, namely hosting companies. Unless we have very specific requirements or highly confidential data, hardware self-hosting will in most cases be too heavy a ball and chain.
That does not mean software self-hosting (the focus of this article) cannot be one too.
Self-hosting requires resources
First, a fairly obvious point, which I already hinted at above. With SaaS services, the subscription covers the pay of the team, but also the fixed and variable costs the provider bears, including keeping the servers running. In return, as users we do not have to worry about things like hardware maintenance, electricity supply or replacing a disk. Of course, we overpay a bit, but that is understandable too: in return we buy ourselves peace of mind. It is a bit like investing in ready-made funds, where we only hand over the money and specialists manage it for us and charge a fee for it.
When we decide to self-host some software, we are responsible for installing, configuring and monitoring that application. I will say a bit more about that in the next section, but we also need a server to run it all on. And such a machine (virtual or physical) has to be paid for regardless of what running the software itself costs. If we also choose a so-called managed VPS (managed VPS), we again gain a bit of peace of mind, but we pay the administrators who perform certain tasks for us. In short, we have to take care of resources on our own, while with cloud services such a cost may be higher, but it is spread across a larger group of people.
Then there is the matter of files. Many applications let you upload them, and if we underestimate how much information we want to store, we may run out of disk space. Then we have to either review and clean up (time, nerves, uncertainty), buy more disk space from the provider (which is not always possible with every hosting company, and sometimes you have to...), move to a bigger server (costs), or move the files to so-called storage, a "theoretically unlimited" disk space (costs and the time needed to reconfigure everything). With a cloud service, the service's administration takes care of this and we do not have to worry (unless limits are set up front, but they can usually be raised).
That is why self-hosting makes more sense when we are buying a server or servers anyway, and will configure more services on them rather than just one, unless that one service is extremely important. And note that we are talking here the whole time about self-managing software. If setting up physical machines on our own premises is involved, the costs (and the stress) rise dramatically.
Self-hosting requires knowledge and time
This is probably the most underrated point in the game of hosting services on your own resources. Many people think there are ready-made pieces of software, prepared packages and instructions for deploying them, so it is enough to follow the steps on your own server and you have a lovely service without having to pay those bloodsuckers with their cloud offerings. Sounds great? Until it does not.
Remember that:
- we are fully responsible for the software we host. There is no support to help us, and if there is, we have to contact it individually under our plan,
- ready-made packages are sometimes built in a technology we do not work with day to day, so we should get to know it, and that takes time,
- from time to time the software has to be updated, which means, for example, restarting services and running specific commands. And if the technology is not our domain, see the previous point,
- the instructions that come with the software almost never map perfectly onto every environment, especially for more complicated systems (containerization helps a bit here). That means we have to become specialists in the system we host, which is always harder than with software we write ourselves or a cloud service we rely on,
- all of this takes time and willingness from employees (sometimes assigning someone to look after it) and often distracts from the company's actual business.
Now I will admit something I probably should not, especially as a CTO and co-owner of a software house, but honesty is worth something. As I wrote, when we started the business I could not imagine us not using self-hosted services. Among them were the repository management tool Gogs and Redmine for project management (you can read more about our technology stack in this article). In this paragraph let us set aside whether those were good choices in terms of quality and focus on the technical side. Gogs (as the name suggests) is built on the Go language, and Redmine on Ruby. Meanwhile our team focuses on technologies related to PHP and JavaScript (including Node.js). Of course, like most software houses, we are able to move between different languages and frameworks if a client's project requires it. But we cannot hide that, again like any team, we have our preferences and areas where we are most effective. That means sinking into Go and Ruby technologies and frameworks only to be able to fix two self-hosted tools when needed (which happens maybe once a year) is not cost-effective. This in turn means that every tight spot and outage comes with some stress, not only because of the broken service, but also because we are unsure whether we can handle it ourselves.
If we cannot assemble a three-door wardrobe ourselves and would spend many hours on it that we could use differently (for example, earning money doing what we are good at), it is often better to pay a company that will do it faster, more efficiently and for us. It is the same with software, and, among other things, with our switch from Gogs to cloud-based GitHub. Along the way we even considered setting up GitLab ourselves, but after counting all the costs and the need to operate software not written in our home language, we gave up on it.
Of course, that is only one side of the coin. Sometimes it is worth leaving your comfort zone, learning something new, gaining extra skills and paying attention to aspects other than money (for example, data privacy). Still, in general you should weigh all the points and consider what it will be used for. Because, as I have already written, the perspective changes when we talk about a professional environment, where it is no longer just about having fun and learning, but about providing services professionally, which requires a reliable and functional environment.
Self-hosting is not available for every solution
Let us come back to Gogs for a moment. Considering a replacement was not only about the technology it was built with, but also about its limited capabilities compared to GitLab or GitHub, which simply began to weigh on us as the company grew (for the same reason, something like Gitea was not an option either). On top of that come the requirements of some clients' technical teams. This brings us to the next point: in most areas you will find self-hostable equivalents, but will they always be equally functional replacements for commercial services? Frankly, rarely.
Of course, not every company needs the best and most feature-rich solution in its class. Not every sales department uses all the modules of its CRM, not every IT company needs all of GitLab's fireworks, and not every big team needs an "all-in-one" messenger. There is a reason different subscription plans and different services exist: everyone simply has their own needs. How does that relate to self-hosting?
It is true that not all such services are free, but a large part of them really are. Sometimes they are simplified versions of well-known cloud applications, and sometimes open source software built by enthusiasts hoping to achieve something more. And although you cannot map it one to one, it is not for nothing that the solutions most polished for business are available as subscriptions and run by bigger companies. The truth is that with a bigger budget you can (with good management and willingness) do bigger things. But then you also expect proper compensation for it.
A note here: this does not mean self-hosted solutions are not worth considering because they are all automatically worse. Absolutely not. Their advantage is often that they are open source and developed by a community that improves the software together and points out things to work on. A good CRM available for self-hosting is better than a poor CRM in the cloud. Still, you have to be aware that nobody who puts thousands of hours into something they will then release for others to set up will do it for free, unless they are driven by loftier ideals (which, unfortunately, cannot feed a family). I know I am being cynical now, because life is not only about money, and that is true too. But you can count on the fingers of one hand the solutions that really match the giants of each area in every respect, functional and non-functional. Such systems exist, and even their simpler versions are often enough, but let us be honest: it is not for nothing that most companies use, say, Jira, Asana, Monday.com or something similar, not OpenProject and Redmine. Slack or Microsoft Teams are more popular than Rocket.Chat.
Finally, there are areas where hosting things yourself really takes large resources. An example is your own instance of PeerTube, the Fediverse version of YouTube, where, as you can guess, we also host our videos. Given their size, in this case you really have to think hard before taking a step toward self-hosting.
Self-hosting requires technical and legal safeguards
We already know that self-hosting requires adequate resources, bigger or smaller depending on the software and the degree of self-hosting. That automatically brings with it the need to secure those resources properly: firewall rules, access rights, sometimes a VPN, and generally something called "hardening". Everyone supposedly knows this, though sometimes they ignore it. But let us not kid ourselves: not every IT person can correctly set up and look after an entire server environment. Sometimes it comes from a lack of knowledge (which is nothing to be ashamed of, since this field is huge and will only get bigger), and sometimes from the often-mentioned lack of time. When we choose a cloud service, we trust the provider to take care of our data and protect it properly. Of course, we often do so with no idea what the real procedures inside the team look like, and that is the self-hosting fans' argument. A well-founded one, let us add. Still, you have to trust someone, and in doing so you need to consider both willingness and skill.
There are also situations with specific legal restrictions for the organization providing a service. When we self-host something not only for ourselves but also for third parties, this affects us too. It applies even more when we make a system we built ourselves available to others. Depending on the level of legal safeguards required, self-hosting may carry too much risk with regard to terms and regulations.
Self-hosting requires fast action when something fails
This thread came up in the previous sections, but let us say it plainly: software sometimes stops working. It may be related to bugs in the application itself, to external services (for example, a mail server), and sometimes the problem lies with the machine the application runs on. Recently we even had a case where an excavator working near a client, while digging in the ground (which such vehicles usually do), cut a fiber optic cable, and as a result the services hosted in that company's infrastructure stopped working. The cases differ, but they have one thing in common: something has to be done about it.
When we host such a service, the duty to fix it falls on us. Sometimes it is simple and restarting the machine or the right service is enough... provided you know how. The documentation often contains recipes for the most common problems. But sometimes you have to diagnose something more specific, and then without knowledge of the technology and the IT system itself, such a person curses the idea of self-hosting even more.
Of course, I am painting a somewhat dark picture here, but let us still remember that not everyone is an administrator and has enough time to handle unfamiliar software on top of their basic duties. True, it can come in handy (more on that in a moment), but outages happen, and it is better to be among those who merely complain about them rather than those trying to sweat it out and solve them.
So is self-hosting bad?
Absolutely not. This article does not aim to prove that hosting software yourself brings nothing but negatives, because that is not the case. There are positive sides too, since such solutions are still being built for a reason. But I would like to point out that we should not swing the pendulum to the other side: self-hosting is not all sunshine and rainbows and independence from every fluctuation at big companies. It is simply taking on a duty that not everyone is, or will be, ready for. In theory, having everything on your own servers sounds fantastic, but there is also practice and, above all, the conditions we work in.
Still, we can certainly list the advantages of self-hosting:
- independence from an external company or (more often these days) from changes to the software of a cloud service,
- control over the data, both in the database and in files,
- the psychological sense of independence (yes, that sometimes matters too),
- potentially lower costs (depending on the service and how it is run),
- the chance to use it for PR,
- control over updates and potentially more stable software: if we set something up and it works, we decide when to upgrade the version.
There is another potential advantage worth considering in a company setting: knowing a specific piece of software that you can configure yourself lets you offer additional services to clients. Imagine someone sees a rather nice-looking CRM (Customer Relationship Management) system in our environment and learns they can have one too. Then comes the inevitable question: "Can you do this for us as well? We'll pay you for it!" If the team has the right knowledge of that software and can manage it, it gains a potential competitive advantage: the ability to configure a certain type of software (and sometimes even modify it) for the client, or simply to share its own resources.
Self-hosting at Wilda Software
I mentioned that although at the start we had a strictly self-hosting bent and a feeling that "that's just how it's done", over the years this began to change. Spending years on client projects, we started to reflect on where it was really worth doing things ourselves and where it was not. But there is no hiding it: this knowledge comes with experience, and that comes with time. So if you are reading this now and think that only a madman would give up self-hosting once he has chosen it, then either you have a stronger bent for it, or... you simply have everything ahead of you.
For repository management we initially self-hosted Gogs, which has the advantage of being simple, small and still functional. Unfortunately, over time the fact that it is written in Go (which we do not work with day to day), and above all the lack of certain CI/CD and pull request features, made us think about an alternative. For a long time we considered self-hosted GitLab, but after calculating everything (not only costs) we went with GitHub.
Our messenger is still Slack, so a cloud solution, although we have tried other options, including self-hosted ones. For now, though, we still use the software represented by a white icon with various colors.
Changes that completely contradict the message of this article are happening in project management. Until now we used Redmine and, somewhat later, Feedybacky, which we wrote ourselves. Over time the latter, from its original role as a system for handling client requests, became a first-class tool that we need and use for our projects. So in this area we are developing not just a self-hosted solution, but one that is ours in every respect. That does not mean we keep it only for ourselves. If you would like to enjoy the cloud version of Feedybacky, or set it up and adapt it to yourself, we encourage you to get in touch.
A self-hosted mailbox is not a solution we would choose without a solid team of administrators, so here we use a cloud solution. As for the company website, like most companies we built it entirely ourselves and host it ourselves. Although here, taking a different approach is rare (as far as the server goes. When it comes to building the site itself, it is usually outsourced to various companies. Shall we remind you who you can turn to? ;)
With CRM we are experimenting with self-hosting and assessing how much such a tool would really be useful to us. The first attempts are promising and may even result in at least partly custom-written software.
Files stored and shared in the cloud: after analysis, and with not necessarily positive opinions from the people we asked, we decided against a self-hosted Nextcloud and still use commercial, well-known providers.
Finally, the Mastodon server. The experiment with the Fediverse itself turned out very positive, but the initial decision to run our own instance, social.wildasoftware.pl, was not right for a single account. With hindsight, we think that if we still wanted to keep self-hosting, an instance on something much simpler and faster, like GoToSocial, would have been much better. Still, it would mean setting up an additional server and dealing with software in a technology other than our usual one, and Mastodon as a platform is important to us. That is why we moved to the biggest official server, mastodon.social (and we know this makes some people grind their teeth, but it was a considered decision).
Summary
Self-hosting has its strengths, but let us not forget that it also has its weaknesses. Having your own services and the skills to manage them is undoubtedly a reason for pride and bragging. However, keep in mind that when you read about hosting software yourself, you mostly meet suspiciously one-sidedly positive articles recommending the approach for privacy, independence from GAFAM and other lofty slogans. And while it is hard to argue with that, every coin has two sides, so I wanted to show the shadows of such a decision too, which are not visible at the start and appear over time. Remember also that I am writing from the perspective of a software house focused on software development. A group of friends running a startup will approach this differently, a non-profit organization will too, a public institution will have its own opinion, and a corporation or a company specializing in hosting will take an entirely different view. As the old saying goes: "where you stand depends on where you sit". You could add that it also depends on how advanced you are and what kind of chair you sit on.
Best regards and thank you, Jakub Rojek.


