r/devops • u/AccomplishedComplex8 • Aug 06 '26
Discussion Why not do your own opensource infra?
I think this is more of a rant post, or despair.
I am a linux sysadmin by trade, and doing a lot of linux work with scripting here and there, have setup a lot of self hosted stuff.
Now at my organisation I am setting up Loki with self hosted S3 options. This is my second logging infra, the first one was based on Elasticsearch stack.
I have deployed and maintained a lot of other FOSS stuff as well. Deploying stuff is all I know, difficult and complex systems.
However, very often I see posts here saying something along the lines of:
Do not deploy your own logging infra. Just do EKS. It is cheaper than paying someone to do it for you self hosted.
Look, I wish I was a good software developer and write fantastic code. But no matter how many times I try learn programming I just can't, either I run out of time or get demotivated.
Setting up and running good FOSS infra is all I know and at this rate, I will be out of job if everyone would just go to datadog and AWS.
All this devops stuff like monitoring, prometheus, logs, OTEL, kubernetes, it is all interesting and I can do it, all except writing the actual product.
I should pick up another backup trade I guess.
7
u/LassoColombo Aug 06 '26
it's ironic hearing an experienced infra guy wishing he knew coding, in a period where most coders wish they knew infra.
ironic and interesting
9
u/engineerL Aug 06 '26
Ditching American tech giants is all the rage here in Europe
2
u/Gooner96PL Aug 06 '26
Try SRE I believe they’re reason plenty of market for sysops/devops/sre, generally for people like you. Also do not be scared of DevOps titles - most of the companies label that admin roles who either wrote Ansible playbook or Gitlab ci or click in cloud provider GUI just because everyone else was using this term.
2
u/ElPirer97 DevOps Aug 08 '26
I actually migrated away from Datadog recently and replaced it with kube-prometheus-stack + Loki + Alloy, basically the whole Grafana stack, and it works beautifully, it only costs me pennies in S3 storage, and a dozen of pods that are managed by Karpenter; FOSS tools for infra are incredibly powerful, but you gotta put in the work to set it all up.
60
u/Markd0ne Aug 06 '26
We moved away from CloudWatch to our own logging infra (LGTM stack) to save lots of money.
39
u/Loan-Pickle Aug 06 '26
There is no such thing as a free lunch. You either pay the price for the XaaS services, or you pay for the people to run the infrastructure yourself. At small scale it is cheaper to just pay for the service. There comes a point where it becomes cheaper to run it your self. That inflection point is different for every company.
I have worked for a couple of companies on their migration from XaaS to self hosted.
3
u/EgoistHedonist Aug 06 '26
Do you at least practice infra-as-code? IMO that's the minimum requirement coding-wise nowadays
16
u/EgoistHedonist Aug 06 '26
Setting up OSS systems is gaining momentum now, at least in Europe, as many companies are interested in bringing their data & compute back to on-prem or at least migrate to an European provider
Been setting up Nextcloud, Mattermost and OSS observability stacks A LOT recently.
7
u/tn3tnba Aug 06 '26
The general approach I recommend is: use the managed stuff for reliability and simplicity early on with a small team. Then when you actually have customers and need to cut operational costs run some of your own stuff. For most small startups without product market fit or strong revenue, spending dev cycles on logging infra instead of features to close customers is a dubious investment.
5
u/cyclop5 Aug 06 '26
Because it takes me 2 weeks to get a _reliable_ logging system set up. more if I need to make sure it works with everything I need it to. Load balanced ingress, failover, backups, etc.
Or I can pay some provider who already has done that work, and get it done in 20 minutes (minus configuration, etc.)
Which do you think my company is going to choose? They'd rather I worked on an actual issue, than try to reinvent a wheel that someone else has done.
There _are_ circumstances when it makes more sense to keep something in-house. But COTS stuff is popular for a reason. (FOSS, too). but why on earth do I want to spend CapEx on storage or hardware, when I can spend OpEx instead? (And please don't tell me about financial stuff - taxes or whatever. that's what my Finance department is for . I just do what the voices tell me)
1
u/laincold Aug 06 '26
What self hosted S3 solution are you using? Just curious
1
u/MartinThwaites Aug 07 '26
Thr only people who write their own logging/monitoring/observability systems and the ones who haven't written their own logging/monitoring/observability systems and run them at scale, with multiple users, over a long period of time.
I'm no fan of self-hosted o11y at scale. TCO just never makes it worthwhile when you factor in true observability instead of dashboards, log search and Trace views.
That said, if you're going to do it, for the love of god use something off the shelf. There are enough products that can get you a lot of the way there, and for some usecases its probably fine.
I've come across way too many homegrown telemetry databases with a Webapp on top of it that are creeping after 6 months because the person who built it moved on because the long term maintainence and constantly adding features got too much.
</rant>
1
u/jameshearttech Aug 08 '26
I work on a dev team. My employer has infra in data centers in multiple states. My team's virtual infra runs on the company's hardware.
We manage the machines and networking from the virtual firewall demarc. Most of our infra is FOSS aside from a few Windows machines that are aging out. All the infra we have built over the last few years is cncf.
We do have some infra in Azure, but it's minimal. On-premise does the heavy lifting. We use some SaaS, too. We are in the 365 and Atlassian ecosystems.
Imo we are primarily self-hosted. Idk if everyone else would agree. The hardware our infra runs on, managed by another team, is not FOSS though so that's a counter point I guess.
8
u/amarao_san Aug 06 '26
There are two kinds of companies: those who outsource competence (not their business) and those who keep it in-house.
If you come into outsourcing company and propose to rent a pile of very expensive servers and install 'ALL THAT' they will laugh at you. But of course amazon (CF, whatever) is doing better job than in-house solution.
And there are companies which keep competence in-house. They have own infra, and that infra is doing things aws just can't provide. You can't come to aws guys and ask to integrate S3 with snmp counters from leaf switches from S3 and give you full read for it. Those people can.
When I interview people, I often ask to do mock design session for load balancer service.
All people roughly split into two groups: those, who start thinking and trying to find answers, and those who kinda 'yes, we can, and we it our LB behind cloudfront', and when I ask how to do it without cloudfront or CF, people go blank. They can't imagine doing something with switches, maglev, anycast, etc.
If you are on second side (know stuff) don't loose your skills, they are valuable and companies of second type will be happy to hire you.
If you decide to go first kind, you need to twist your brain and start offloading core competence to APIs. Your core competence becomes which services to offload what.
1
u/syamj Aug 06 '26
How are you exactly me?
Never had the knack for development, but when it comes to setting up, maintaining and troubleshooting that’s my league!
2
u/Work4Bots DevOps Aug 06 '26
As long as developers don't understand what 403 means you're safe
2
u/northerndenizen Aug 06 '26
I am evenly split between application and infra architecture in my role. Let me just say I don't think you have anything to worry about. Most of the "free-tier" days are gone in SaaS, and CEOs are clambering to find ways to get out of the crazy spend. This includes trying to use Gen AI to build replacements in house - or at least to justify the AI cost and have an alternative to just firing a bunch of developers.
I'm hoping that we'll actually see larger adoption and contributions in the FOSS space. And - right now at least - the skills to corral these FOSS systems and 'slop' initiatives together are pretty invaluable.
2
u/Raja-Karuppasamy Aug 31 '26
self-hosting infra skills aren’t going away, but the value shifts, companies still need people who can run this stuff reliably, they just increasingly want it paired with enough scripting/automation sense to not need a dedicated person babysitting it forever. that’s not the same as “learn to write a product.”
for what it’s worth, the “just use managed services” advice usually comes from people optimizing for a small team’s time, not from self-hosted being inherently worse. someone still has to run the managed stuff too, just at a different company’s data center instead of yours.
you don’t need to become a great software developer to stay relevant here. scripting well enough to automate the boring parts of what you already do (which it sounds like you can) is a different skill than “writing the actual product,” and it’s the one that keeps infra people valuable as things move to k8s/cloud-native.
1
u/mattbillenstein Aug 06 '26
I do both - deploy OSS where it makes sense, or write software and tooling where I can build something that does exactly what I want and integrates better with my other systems.
The cloud I mostly use to run VMs - and the advantage of that is they can all do that - so I can support multi-cloud pretty easily.
1
u/Substantial-Swan7065 Aug 06 '26
But at the end of the day, you need to balance time and value. What’s makes sense?
A small mobile app start probably shouldn’t run a k8s cluster on bare metal at the office.
A big company? Maybe they justify global data centers.
1
u/mw44118 Aug 06 '26
I tend to do a lot of stuff in really obsolete ways, like cron jobs and apache as a load balancer, and… ive never regretted it. I use cheap VPS providers and deployments are blazing fast.
I worked in big teams where we spent hours in every sprint wrestling with whatever AWS service was trendy. Its not worth it!
People dont know but the first versions of duckduckgo written in 2012 were written in perl. Old fashioned is great
1
u/kabrandon Aug 06 '26
Datadog will need to hire you because their whole platform is probably built on top of FOSS solutions with proprietary glue and duct tape on top.
There exists situations where it would make sense to just pay Datadog for their service. It doesn't make sense for my company, nor would it make sense for a lot of other companies. But some companies it saves them in effort, and in those companies they value effort more than money to a greater extent than my company does.
1
u/sertain_ Aug 07 '26
A lot of companies have turnover to think about, and by the time a new engineer learns any custom tooling that a previous engineer developed, they could have made the decision to switch to something like Prometheus or grafana, paid for licenses, and had all their infrastructure using it. It’s just not sustainable long term
1
u/Big-Afternoon-3422 Aug 10 '26
We are a small org and we host and maintain our own LGTM stack. Everything we can selfhost we selfhost. Nobody needs to know our shit.
1
u/Competitive-Fact-313 Aug 10 '26
No not everyone is going to Aws etc… look at cncf projects it’s growing ecosystem, people who move to Aws is the ones who want to blame someone , don’t worry about people moving to hyperscalers ..
1
u/Signal_Strength_5054 Aug 12 '26
In the corporate world, there's something very important that an IT executive has to consider: who to blame and hold accountable for losses from an unexpected failure. That's why million-dollar support and licensing contracts are signed, because if it fails, the company on the other side will be held responsible. Open source is beautiful and wonderful, but when it compromises revenue, you can't hold the community accountable.
0
u/MasterOfTheWind1 Aug 06 '26 edited Aug 06 '26
I think that you are confiusing configuring services with infrastructure configuration maintenance.
I can have 5000 FOSS services configured on the cloud on VMs (AWS EC2, Azure VMs, whatever) the same way as if the VMs are running in Proxmox/VMware servers on my office: spin up the instance, connect to the instance through SSH, throw commands to have them working as I want. Doing it on the cloud is as outdated as if it were on on-prem virutal machines.
In fact I can have a self-hosted Kubernetes cluster, an instance of MinIO on a VM and implement Elastic Search with Helm storing data in MinIO like it is AWS S3 without touching any configuration at all, just adding parameters to a Helm Chart. All on my own servers.
There are always things to configure. Going with the provider enables you to not spend time on worrying about hard disks, PSU, UPS, switches, routers, etc. The rest is the same.
If your skill is just "I know how to configure stuff from scratch" you are pretty much doomed. I work both with cloud providers and on-prem, and I apply the same concepts on both, and I work the same: everything with containers, everything with Terraform, everything automated with Terraform Atlantis, infrastructure is immutable, have images prepared with Packer, all deployments are managed by ArgoCD. I cannot remember the last time I just configured something from scratch. I don't even install Linux from scratch. I've made a script in Proxmox to download cloud-ready images from vendors, and when I invoke Terraform to create a VM with a template that I don't have downloaded it fetches it automatically. If you are not running with a cloud provider, you should be using CloudStack or OpenStack anyways.
I think that you should try harder to go outside your confort zone. Everyone going to Datadog and AWS is a reality. You cannot stop it from happening. You should look how to jump into the same boat if you want to have a job.
Back in the 90s a programmer would say "Programming in COBOL or C is all I know". Instead of crying for their lack of initiative, they started to learn Java, .NET, PHP, Python, etc etc etc.
0
u/mjpitz Aug 06 '26
We’re on ClickHouse + Grafana for telemetry, will probably never use datadog and others again (just found them to be too complicated and not documented well enough)
If you’re looking to specialize more on the ops side of things, SRE work might not be a bad idea. Lots of operational troubleshooting and improvements that typically step outside the realm of product development.