5 ms·
Skimming the thread here, it seems like there's some confusion about the goals: * They've decided to move from EKS to on-prem largely because of cost. That's l
by tptacek 4y ago
Skimming the thread here, it seems like there's some confusion about the goals:
* They've decided to move from EKS to on-prem largely because of cost. That's logical: almost by definition, it costs more to run workloads on cloud machines than on your own hardware. You can't address that problem by moving from EKS back to ECS, like one commenter suggested.
* They've decided to move from K8s to mrsk, a system they developed. They're fuzzier about why they did that, but the two fairly clear claims they made: (1) their deployments under K8s are a lot more complicated, and (2) they slashed their deploy times (because a great deal of their infra is now statically defined).
I feel like there's more productive debating to be done about K8s vs mrsk than there is about EKS vs. mrsk. By all means, make the case that applications like Tadalist are best run on K8s rather than a set of conventions around bare-metal container/VMs (which is all mrsk is).
- lmm 4y ago> almost by definition, it costs more to run workloads on cloud machines than on your own hardware. Why should that be so? I'd expect the all-in cost of a cloud machine to be less than my own hardware, for the same reason that buying electricity from the grid is usually cheaper than generating it on-prem. > You can't address that problem by moving from EKS back to ECS, like one commenter suggested. If EKS is more expensive (because it's something they see as a value-add) whereas ECS is a commodity service at commodity prices, then moving there could well solve the cost issue.
- koolba 4y agoA better analogy for cloud vs on-premises is going to a restaurant vs cooking. The markups are about the same too.
- harpratap 4y agoWouldn't the cost of cooking be higher depending on who you are? If one could spend few hours doing something that has higher ROI than eating pre-cooked food, then you are actually losing money cooking your own food.
- prmoustache 4y agoThis virtually never happen with the cloud.
- lmm 4y agoYep, which makes it a pretty good analogy.
- tptacek 4y agoThe major determinant in hosting cost isn't power, it's the cost of the hardware. But I mean, even if you don't buy my axiomatic derivation, you can just work this out from AWS and GCP pricing.
- donavanm 4y agoI always saw it being close to 7:3 with non recurring hardware cost to mrc facilities & power on 3 year depreciation for major markets. That said all of the big cloud providers SHOULD have a structural advantage on all of those dimensions. None if the small players or self hosting shops are doing the volume, much less the original r&d, of the big cloud providers. The size of that discount, and how costly it really is to achieve, is another topic. Disclosure: principal at AWS. Above information is my personal opinion based on general experience of 20 years in the industry doing networking, compute farms, and operations.
- cherioo 4y agoEven if [0] cloud does have structural advantage, it’s clear that cloud vendor isn’t willing or wanting to pass them off to customers, and tends to nickel and dime on other necessity like the infamous bandwidth cost. [0] I’m really curious how big, if any, structural advantage large cloud vendor has over small-time colo user, because surely cloud comes with all kinds of overhead? All the fancy feature AWS provides cannot be free. If customer does not care for those, would colo, or a small “vps” vendor, actually have structural advantage over AWS?
- Eduard 4y ago> The major determinant in hosting cost isn't power. Let's do the math then. https://www.hetzner.com/news/neue-dedicated-server-2023/ https://www.hetzner.com/news/neue-dedicated-server-2023/ Let's assume the Hetzner EX101 consumes 200 W (equals 0.2 kW) on average. Let's assume a private household electricity price of 0.40 EUR/kWh (Germany). The monthly electricity cost will be; 0.40 EUR/kWh x 0.2 kW x 24 h/day x 30 day/month = 57.60 EUR/month for electricity. The Hetzner EX101 costs 84 EUR/month. So even with self-energy production and cheap electricity buy prices, power / electricity is very significant.
- danielheath 4y agoCloud is reasonably cheap until you need to move data out (eg to serve html to customers). Egress charges are where the big players hit you.
- tekno45 4y agoYou're paying for someone elses profit monthly with the cloud. It has to cost more.
- koreth1 4y agoBeyond a certain scale, sure. But at small scale, you can completely avoid hiring an ops team, or hire a much smaller one, which can more than offset the cloud provider price premium. My current company works in a niche market with a smallish number of large customers, so our scaling needs are modest. Our total AWS bill is about a third the annual salary of a single ops person. There's gotta be a very long tail of companies like mine for whom outsourcing to cloud vendors is cheaper than self-hosting.
- weq 4y agoDepends on the industry and barrier of entry. If your in one with alot of compliance overheads your are outsourcing alot more them compute and storage to your cloud provider. Hiring inhouse in that same case its extremely expensive unless you are over a certain size. This article seems written by someone who gets excited by shiney objects / hype trains.
- Longwelwind 4y agoWhat if someone's else profit is due to economies of scale?
- waynesonfire 4y agoWith like 40-50% margins too.
- ivlad 4y agoAWS’s 24% of operating margin does not appear out of nowhere.
- harpratap 4y agoIf someone is making profit does not mean you are making a loss. Both consumer and producer could end up making profits depending on the situation
- ai_ja_nai 4y ago> Why should that be so? I'd expect the all-in cost of a cloud machine to be less than my own hardware Because cloud hardware doesn't have all the burdens of physically managing a real server. Replacing SSDs. Upgrading RAM. Logging to a iDRAC to restart a crashed server. All those things don't exist in the cloud and make you loose so much operational time. That's why clouds will ALWAYS cost more than bare metal. The cons is that with cloud you keep paying for the same servers: there are no assets anymore, only costs.
- Corrado 4y agoNot to mention keeping spare parts around for when something breaks, or having to drive out to the DC to fix/replace the thing that broke or won't restart. Hell, even something "simple" like managing the warranties for the gear you have is no fun at all. People tend to forget all those little things when espousing the evils of the cloud, but I'm here to tell you that they all add up and they are all a major pain in the butt. Cloud gets rid of all that.
- 0x500x79 4y agoThere are also discussions around CapEX versus OpEx that apply here, and depreciating costs over time. There is a trade-off of agility, cost, and maintenance, but the markup on cloud is quite high.
- cortesoft 4y agoYeah, I would love to hear more about why they decided not to go with on prem k8s... the other arguments made logical sense to me, but they don't explain the reasoning for mrsk very well.
- mike_d 4y agoEvery company that I have been at that uses k8s at scale ends up having an internal team to manage the complexities and build internal tooling to make it work. It sounds like they left behind a lot of the cruft and just built a tool that does the one thing most people want: put a container on a VM and call it good.
- Melingo 4y agoK8s is very easy to keep maintained, especially because even for self hosted there are plenty of management tools around. And it allows your teams to deploy everything they need without a admin team. Even ingress you can define
- iampims 4y agoK8s on bare metal is not easy to maintain.
- Melingo 4y agoHave you tried using gardener or rancher or ubuntus solution on bare metal? They are very easy to use
- prmoustache 4y agoI don't know when they decided to do that transition but back when I tried rancher a few years ago (when they were transitionning from rancher 1.x to 2.x) it was a real bug festival. I think the only robust solution at the time was openshift which was well, k8s without being vanilla k8s. Also most tools that were build to manage k8s cluster were nice to deploy a new cluster, not so much to upgrade a cluster so you would have to create new clusters every time you wanted an upgrade. It can scale when clusters and blast radius is small but can be complicated when it involves contributions from n teams. For this reason when we were managing our own k8s cluster on prem, we were using kubespray which worked but upgrades were a multiple hours affair.
- xyzzy_plugh 4y ago> By all means, make the case that applications like Tadalist are best run on K8s rather than a set of conventions around bare-metal container/VMs (which is all mrsk is). Okay sure I'll bite. An application like Tadalist is best run on k8s. With any application regardless of how it runs, you generally want at least: - zero-downtime deploys - health checks - load balancing Google's GKE is like $75/mo, and the free tier is one cluster, which is enough. For nodes, pick something reasonable. We're naive so we pick us-west1 and a cheap SKU with 2 vCPUs 8 GB is ~$30/mo after discounts. We're scrappy so we eschew multiple zones (it's not like the nearby colo is any better) so let's grab two of these at most. Now we're in $60/mo. We could go cheaper if we want. We've click-opsed our way here in about 25 minutes. The cluster is up and ready for action. I write a Dockerfile, push my container, install k3d locally, write about 200 lines of painstaking YAML that I mostly cribbed off of stack overflow, and slam that through kubectl into my local cluster. Everything is coming up roses, so I kubectl apply to my GKE cluster. My app is now live and I crack open a beer. Today was a good day. Later, whilst inebriated from celebration, I make some changes to the app and deploy live because I'm a cowboy. Oops, the app fails to start but that's okay, the deployment rolls back. No one notices. The next day my app hits the front page of HN and falls over. I edit my YAML and change a 2 to a 10 and everything is good again. Things I did not need to care about: - permissions (I just used the defaults and granted everything via clickops) - ssh keys (what's ssh?) - Linux distributions or VM images (the Goog takes care of everything for me, I sleep better knowing I'll wake up to patched OS) - passwords - networking, VIPs, top of rack switches, hosting contracts, Dell, racking and stacking, parking, using my phone And all without breaking the bank. --- Okay so I cheated, you weren't looking for a GKE vs on-prem/Colo case. You asked > make the case that applications like Tadalist are best run on K8s rather than a set of conventions around bare-metal container/VMs to which I say: that's all kubernetes is. Did you even read their blog post? virtio? F5? MySQL replication?? How is this a good use of engineering time? How is this cost efficient? On what planet is running your own metal a good use of time or money or any other godforsaken resource. They're not even 40 people for crying out loud. It's not like they're, say, Fly.io and trying to host arbitrary workloads for customers. They're literally serving rails apps. Want to start small with k8s? Throw k3s or k3d on a budget VPS of your choosing. Be surprised when you can serve production traffic on a $20 Kubernetes cluster. If you care about Linux distributions, and care about networking, and care about database replication, and care about KVM, and care about aggregating syslogs, and love to react to CVEs and patch things, and if it's a good use of your time, then sure do what 37signals did here. But I'm not sure what that planet is. It's certainly not the one I live on today. 10-15 years ago? Sure. But no longer. I can't believe just how ridiculous this entire article is. I want to find quotes to cherry pick but the entire thing is lunacy. You can do so so much on a cloud provider before approaching the cost of even a single 48U in a managed space. At some scale it makes sense, but not their scale. If I never have to deal with iDRAC again it'll be too soon. You have a horse in this race: apps like Tadalist are best run on something like Fly or knative/Cloud Run or Heroku rest in peace. But a set of conventions around bare-metal containers/VMs? Give me a break. I don't think you intended it, but I find it disingenuous to separate cloud hosting and kubernetes. The two are connected. The entire premise is that it should be a set of portable conventions. I can run things on my laptop or desktop or raspberry pi or $10/mo budget VPS or GCP or AWS or Azure or Linode or god willing a bunch of bare-metal in a colo. It's fundamentally a powerful abstraction. In isolation it makes little sense, which TFA handedly demonstrates. If you eschew the conventions, it's not like the problems go away. You just have to solve them yourself. This is all just NIH syndrome, clear as day. Forgive the long winded rant, it's been a long day.
- datadeft 4y ago> That's logical: almost by definition, it costs more to run workloads on cloud machines than on your own hardware Only if you are not adjust the workload. Lift+shift is cost more. Re-architecting and making the workload cloud ready cost less.
- rednerrus 4y agoWho's gonna do the rearchitecting work? Are you hiring a whole new team or do you not need to keep the lights on while you're transitioning? Depending on the complexity of your application that rearchitecting is gonna eat up a ton of your cost savings.