FreeDesktop.org financial situation regarding cloud hosting for Gitlab
lists.freedesktop.org
lists.freedesktop.org
> Some clarification I got from Daniel in a private conversation, since I was confused about what the money was paying for exactly:
> We're paying 75K USD for the bandwidth to transfer data from the GitLab cloud instance. i.e., for viewing the https site, for cloning/updating git repos, and for downloading CI artifacts/images to the testing machines (AFAIU).
And more details on their infrastructure in general is at https://www.freedesktop.org/wiki/Infrastructure/
gitlab.freedesktop.org is hosted in GCE us-east1. One runner for CI jobs is also in us-east1, but there are also (donated) runners at Hetzner and Packet, and a lot of bandwidth goes toward communicating with those. Apparently even if they disabled CI, it would still be $30K/year, I guess for hosting and web/git traffic. Not a good situation.
Would the university host the GitLab instance? (Or a VM for it, or whatever.)
The bandwidth cost to them should be very small. I run infrastructure hosted at a university, and they change around $500/year for a 10Gb/s uplink. I think this is just the cost price for them.
But woooh, that's probably not cloudey enough.
Doing like Netflix did by paying AWS millions is wasteful and insane when managed colo is cheaper and self-managed colo is cheaper still. ByteMark.co.uk and pair.com are both great vendors that could save them money.
Are you comparing with spot/preemptable instances? They can be a lot cheaper than 'standard' cloud services.
It's quite possible that they could save some money by going this way, but it's by no means going to just fix their problem. In a way it would exacerbate it due to the capex for hardware.
I'm sure there are things I'm not taking into account, but it doesn't seem that bad.
Additionally, I would not trust Hetzner with anything that gets this much usage. They're very cheap, and they're very cheap for a reason.
When buying colo for a busy application, it's not unusual for bandwidth to cost more than the power and rack. All in all I'd expect them to be looking at at least $2k a month or $24k a year for power/rack/bandwidth. This would be something like an average, there are lower rates available in markets with cheap connectivity but then if the equipment isn't local you end up spending more on smart hands. In many places the rate would be higher.
Then up-front hardware purchase could easily be $50k and probably more. I wouldn't expect to see savings at all the first year, I'd expect it to cost a chunk more. Of course that's not quite fair, the hardware purchase amortizes over at least a few years, but when you're struggling to pay the bills that doesn't make you feel any better.
Renting hardware is an option, but will still cost you more than colo on year for year for equivalent capacity. Dedicated servers from a reputable source start at a couple hundred a month and quickly go up from there. It sounds like their situation will require HA.
I'm just waving my hands here based on my guess of how much usage they're seeing for the $75k they estimate in AWS spend, but I have a quote in my inbox right now from a reputable datacenter operator for $18k per year just for rack/power/x-connect, that's before bandwidth, which I'm going to be paying two different providers for for diversity (and this is still worse connectivity than AWS gets you). That's a full rack, which is a lot of room, but the power/xconnect/bandwidth part of that basically don't change as you go to partial racks so the savings are not really that big. Quality colocation costs real money, and a gitlab instance with that kind of usage shouldn't be running out of a bargain-basement provider.
How does that happen? My understanding here is the servers are doing something ephemeral and so... uh, why this isn't on Hetzner SB? I do not know of course whom they are using for hosting but 35 USD gets you a decent quad core 32GB RAM server there which is very hard to beat.
https://www.hetzner.com/news/traffic-limit/
that's not what this says. Nothing at
https://www.hetzner.com/rechtliches/root-server/ https://www.hetzner.com/rechtliches/agb
In fact, people have asked support before
If artifacts are treated as immutable most of the traffic will be from the CDN and as they are immutable can have a far future cache-control.