5 ms·
At my start-up we are all in on SaaS because we don't have enough engineers to self-host our things. The previous F500 company I worked at had enough engineers
by oars 5y ago
At my start-up we are all in on SaaS because we don't have enough engineers to self-host our things.
The previous F500 company I worked at had enough engineers to self-host their things but thought SaaS was also the future and migrated a lot of their key tools and services onto these cloud platforms.
I wonder if both my start-up and the F500 company will suffer in the long run because of these decisions...
- dx034 5y agoIf you have enough engineers to develop a product, you have enough to host your own Gitlab. Most engineers are expected to understand some ops anyway for CI/CD, setting up Gitlab really isn't harder than that (from experience). Especially with low usage, these instances basically never go down. Most of the overhead is managing users, permissions etc, that won't go away with SaaS.
- mindwok 5y agoGitlab in particular is unbelievably easy to self host. At my last gig I ran it on a t4g Debian instance with unattended upgrades and then just rebooted once a week at like 3am, literally never touched it again and it costs nothing to run.
- Cthulhu_ 5y agoBut how many people would know what to do if something did happen?
- dx034 5y agoWorst case you just spin up a new instance, install and restore the backup. Won't take more than 1-2 hours (less if you have part of it automated).
- mindwok 5y agoThere was a fair bit of ops expertise on the team, so I don't think it'd be an issue. If there was none, I'd probably think twice.
- dbrgn 5y agoDon't enable unattended updates for GitLab. The migrations don't always work and sometimes need manual work. (This is rarely the case, but can happen.) (Also, when upgrading GitLab, make sure to upgrade version-by-version and always wait for background migrations to finish before upgrading to the next version. You can check background migrations at /admin/background_migrations.)
- dijit 5y agointeresting, this isn't my experience. I've been running a gitlab instance for about 300 people for about 7 years now. :\ To be fair though I'm using docker and watchtowerr to keep it updated, there was 1 time where I had to use an older docker image because the latest wasn't working.
- sciurus 5y agoFor those like me who went familiar with it: https://containrrr.dev/watchtower/ https://containrrr.dev/watchtower/
- Aeolun 5y agoIt’s incredibly dumb that it allows you to start the next upgrade before the background migrations finish. Not unrecoverable though, so saying you need to worry about it may be a bit too alarmist.
- mindwok 5y agoInteresting, thanks for the heads up - We didn't have any issues while I was there and probably would just restore if we needed to, but nice to know the footguns.
- Kelteseth 5y agoThis happened to me exactly _once_ in the last three years of successful monthly update on our self-hosted GitLab instance. I got an error because the backup script expected a folder where no folder was. Updating GitLab is a breeze!