40 points · by mfiguiere · 3y ago · 89 comments
The following paragraph is the most illuminating: "The decision to build or rent may depend on a user’s data intensity. Consider a firm in America with a medium-sized data centre which thinks its computing load will rise roughly four-fold over a decade. In that case, building its own breaks even in seven years or so, and ends up being 5% cheaper overall than leasing, according to data from Schneider Electric. If the load remains stable, renting is the less expensive option, by a similar amount (assuming a flat cost of capital)."
This assumes that cloud costs are stagnant and reliable. This is a very naive assumption - it can be seen that if the cloud providers think they can get away with cost increases, they will. On-premises works out cheaper in the majority of cases, even including the cost of a sysadmin team.
Cloud offers standardization and support, so in some cases it might be preferable, because it meets requirements without spending additional time on setup or operations, but eventually cost might become problem, especially if cloud providers will decide to increase prices and you can't easily migrate it to on-premise.
Probably it's best to stay hybrid and be always ready to at least change cloud providers, so you need to avoid vendor lock-in. That sounds like cloud native, so why bother with cloud, if you can have some servers, use them with Rancher and create Kubernetes clusters?
There will be some overhead, but your company controls servers, can easily migrate also to cloud, if needed, provides most functionality that most teams may require and depends only on electricity, internet providers and workers required to operate some data center, so it can always choose cheapest option to operate.
But if you have high utilization stable load, it can pay off to have on-prem. It's still a big risk, though. Cloud has a stable platform to build off. You can trust the 'interface' so to speak. Meanwhile you suddenly have to worry about driver incompatibilities, disk wear, stuff like that.
We have cloud infra and on-prem infra. Big problem with cloud is performance for price.
Even for small company with stable load, think about it. You have to have a guy aware of and thinking of the fact that the Mellanox SFP+ card you have has a driver regression on Linux 6.2. Maintenance nightmare. Better to have cloud. Clear interface to build against, and easy to replicate when problems occur.
Sysadmins do stuff. You can't go sysadmin-free and expect efficient spending. Someone else just ends up sysadmin and frequently someone too high paid so you're losing money on the time they play that role.
For startups that don't have a a clue what they will need because still searching for market fit so it doesn't make sense to provision hardware not knowing what is needed. If you suddenly find market fit and usage grows 100x+ in a few months, you totally want to be on cloud.
And in larger coporations, those that have extremely spiky usage. For example a company that has 90% of their usage at the end of each month, it doesn't make sense to own hardware to meet the peak load if it will be idle 28 days of the month.
Most corporations are not in those two categories though! If you are not, you are vastly overpaying for compute, storage and network compared to owning your own hardware. It is sad that such companies are rushing to overpay for cloud just because it's hip.
Objectively analyze your needs and usage and make a data-driven decision. Don't rush into cloud just because everyone else did.
Economically, scale makes the centralized solution more efficient. That doesn't preclude independent entities running their own stoves, or running their own internal combustion engines, or their own industrial furnaces, but confines those uses to niche areas where direct power generation is more convenient/efficient due to additional constraints.
Politically, centralization means power. Power seeking entities will eventually outright ban independent power generation, for whatever excuse du jour. See NY ban of gas stoves, or EU plans to ban ICE cars. For information, 'to prevent illegal activity' excuse is usually used.
Very much not.
Running a generator at home is much more expensive than paying your utility for electricity. But running a server at home is far cheaper than paying AWS if you actualy use the server.
The only other time I can imagine is if a company isn't going to exist in six months, such as movie productions, or companies that have so little going on that they don't need more than a $10 a month plan.
Otherwise, on premises or colocation are invariably cheaper when there's any kind of real usage.
The other company was software for automotive companies and marketing, only US based so traffic was non existent from midnight to 5:00 am, and some companies would need to ramp up for events like NFL games when they’d advertise.
That is true, if peak load is much much higher than mean load.
For most companies, that's not the case.
On the cloud you are overpaying for cpu, network and storage by a very wide margin. That makes sense if your peak load is, say, 100x your mean load (and you have sufficienly smart autoscaling to optimize for this).
But for most companies there is not such huge multiplier from mean usage to peak usage. So those are better off with owning hardware.
I worked at a medium sized place where we had plans in place to handle the workload for our entire market on-prem (if we were ever to capture that market).
We realized that horizontal scalability wasn't important to us because we had enough of the market to know that the other half of the market could be supported on our existing solution.
People forget that services in the cloud require technical know how, and that the lack of technical know how can easily result in wildly insane cloud bills.
Really, though, any heavily used service will always cost more in the cloud. Transfer? Sure, bringing Internet to your location might cost an arm and a leg, but it's trivial to find colocation with transfer that's significantly cheaper than anything cloud.
CPU? Definitely. Ancient Xeon cores are a dime a dozen, but they don't compare to even an inexpensive last generation Ryzen. Storage? Absolutely, and the price differences are absolutely ridiculous. Even GPU workloads are cheaper if you have to run them for more than a handful of months.
"But you can scale in the cloud!" Right. You can scale in real life, too, AND you can scale in real life WITH the cloud, if you want, so that's a silly thing to say. It's not one or the other, exclusively.
I have yet to find a single example of a company that isn't doing really silly things saving money by moving to the cloud.
And colocation is not free -- you pay for all of those things on top of the hardware you have to plan for peak cycles on. Nor what you were talking about in the OP, hence ignoring colo. Please don't move goal posts. This is HN, not reddit.
No, unless you are particularly huge (google, facebook), you rent space in a colocation facility that handles the real estate stuff (like electricity, cooling, fire). That is the best of all worlds for most companies needs.
Author clearly does not understand wireless networking.
Ubiquiti sells consumer grade wireless dishes that beams a signal between two dishes point-to-point at distances of a mile with speeds of 250mpbs or greater.
I remember when they released there newest dish a few years ago and one of the IT YouTubers did a test of setting up the dish on a basic lan on two different college campus that were miles across town from each other.
It was v1 of the dish, and he got near 1gbps file transfer speeds between the two dishes without much setup or tuning.
It literally looks like a Wireless Access Point, and can double as one sometimes.
You plug a network cable into a power supply for dedicated power over POE, and another network cable into your LAN. On the other side where you other dish is, you do the exact same. Plug the network cable into a LAN, and boom you will magically have the devices on both sides on the same network.
The dishes just have to a clear line of sight, and you can get some insane distances.
There is a community mesh WiFi network in New York City that uses these exact ubiquiti dishes to beam wireless high speed trunks across the water to the different burrows; and to uptown.
For just $800, you can set up a pair of air fiber dishes, and be able to beam a 2gbps trunk up to 7 miles away.
https://store.ui.com/us/en/pro/category/all-60ghz-wireless/p...
A few years ago, we moved to a larger space down the street; but Verizon couldn’t get fiber installed in time of our move out date of our existing location.
We set up dishes on each building as they had line of sight fortunately. We ran a VOIP network over it for a month without any hiccups. Even in the worst storms, we didn’t see any speed slow downs or packet loss. It was very impressive.
The cloud is cost-effective when your load is highly spiky, so you can spin up a ton of capacity during the spike, but not pay for it during the lull. (I worked in a company for which this was a principal case.)
If you are a relatively large company and want compute mostly for internal IT needs, especially for sensitive data, it may be cheaper to run your own server room and a private cloud. It won't be cheap in absolute terms though.
But it's more flexible and a lot of startups often pivot a view times.
Through if you have high compute and somewhat longer term predictable levels of compute then e.g. renting a rack in a server center and placing your hardware in can be notifiable cheaper (when your book keeping splits the initial buying costs across the years you run the hardware)
And then there is one huge lie about cloud, that it's way less work. It's not. It's a mess. I mean seriously we have a few docent years now of experience about what is user friendly and what is not when it comes to API/interface design and I would argue ~90% of cloud design from AWS is just plain terrible. That costs time, and time is money.
1) a lot of startups were never about building a sustainable business but to live the "startup founder" lifestyle and provide cushy jobs for your friends. In this case, complexity is a feature as it gives you an excuse to raise a lot of money, hire a lot of people and give those people tons of busywork to do (which they wouldn't have with a simpler stack).
2) even for startups who do want to build a sustainable business, VCs are often close-minded and anything that doesn't fit the typical "engineering playground" mold described above may fail technical due diligence despite it being better from an engineering point of view. So cloud and overengineering it is.
Is it? The marginal cost of setting up a old computer as a server is essentially zero.
I think the main benefit is that devs can spend $$$ on AWS without doing a procurement. I.e. AWS solves a beurocracy problem not a technical one.
You must know how to run a really scrappy startup!
All of a sudden, some post on Reddit brings in a wave of visitors and a large bunch of signups; your hardware barely manages. What's your next action? (Note: `kubectl scale` is not it.)
The fast scaling/up down is a good argument but you need to proceed with caution:
1) is your application actually structured to be able to do this? Would the overheads of developing your application in this way negate the savings (a fully distributed service with queues/etc has more development/management overhead than your basic monolithic MVC app, which may eat up all your savings)?
You need to do your own numbers here and be pragmatic. You'll have plenty of resume-driven people who see the potential of an engineering playground and will immediately tell you whatever it takes to make this happen, regardless of whether it will benefit the business.
2) how much does it actually cost to run your application at full scale outside of the cloud? I've seen places that do the whole autoscaling thing (and have lots more moving parts as a result) and yet a fully-scaled-up equivalent on bare-metal would cost less than the baseline scale on the cloud, thus removing the business case for it.
Keep in mind that the cloud effectively ate all the hardware improvements we've had in the last decade so switching to bare-metal hosting means you'll need a lot less hardware. A cloud "vCPU" is more like a pocket calculator when compared to a real CPU, and same with storage.
IMO the simplicity promised does exist, it's up to the company how it gets implemented. Like either toolstack, if it's misused, it will cost more than they thought (and then they'll blame the toolstack)
I think the analogy works best for SaaS but not necessarily for PaaS in most cases.
Is there a well trodden way to serve most of your everyday traffic out of your own datacenter, but scale out to cloud infra when traffic peaks?
[1] if you're twice as expensive than a company that has say 10% margin, then with equal costs you should be with a 55% margin. And Amazon is more often than not more than twice as expensive as the alternatives.
but mainly, AWS and similar do not have a need to lower their raw compute price to that level because even without they get enough customers, e.g. there had been cases of Microsoft Azure in some locations running out of spare compute resources leading to issues for customer.
Think of brick-and-mortars real estate (e.g. office space) which for most companies is completely outside their core value proposition hence they would be most inclined to lease. Accurate statistics are surprisingly non-trivial to find but it seems like the company owned segment is circa 20% (versus 80% leasing their office space needs).
Now when you think of the role data centers play in a growing digital economy, for many companies increasingly their value proposition is linked to their digital infrastructure. So that would push the fraction of "owned" versus "leased" substantially higher. This would leave still a eye-wateringly massive amount to be served by "hyperscalers". This is really what the "cloud revolution" (renting somebody elses linux server) is mostly about. There is a certain naturalness to this state of affairs.
But there is the major catch. Imagine if practially all the real estate in the world is owned by just a handful of mega-corps and anybody needing office space needs to rent from them. Companies small and large will quickly realize what the term "rent-seeking" [1] means... when the seller holds all the cards and the buyer holds none.
Rationally a hyperscaler oligopoly would attempt to keep the price of digital infrastructure at just below the ownership cost, though greed and various frictions in migrating back to in-house might temporarily allow milking higher rents.
In any case its a most interesting parameter to observe in these rapidly changing times
Yes, you're billed in either case. But it's the difference between blue and green dollars: money that exits the firm is much more strictly budgeted.
> Do different teams manage each environment?
Sort of. Knowing how to deploy to AWS vs an internally-hosted kube farm vs managing a fleet of virtual machines are all different skills, not that you can't learn them all. At one time our org structure split those functions but now if you go far up enough the management chain is the same.
This is IMHO one of the absurdities of current could technology.
We have the technology and know-how to not make this different skills, to make it mostly uniform and abstract away all the compute hosting specific parts in the same way that compilers mostly abstract away most ISA/hardware details (at least for most languages and many use-cases, not all)
Consumer hardware gets undeserved bad rap despite being a good fit for many of today's "cloud-native" and fault-tolerant workloads.
Don't run critical infra on it that can't be fault tolerant (conventional RDBMS), but for your cluster of queue workers? Go right ahead since the queue is designed to handle failure of any nodes gracefully.
If you have a stable business this works. But you may still want to go to cloud if IT is not your business. An on prem infrastructure requires capital and capital can be used to change your core business, which could bring you sufficient bottom line to make cloud costs irrelevant.
If you are trying for growth then a cloud infrastructure enables that.
through technically it should be that way
so I would argue the current cloud infrastructure is seriously messed up
Traditional on-prem has silos where the DBA just knows databases and their salary is capped because of that.
I guess in theory you could have a "cloud DBA", but in my experience every business unit wants to keep autonomy over their cloud account/project and do it all in house to get rid of the delays that occur with centralized resources.
I would disagree
in my experience this isn't the case at all
through having less more experienced (and in turn well payed) personal is always a thing no matter weather you speak about on-prem or cloud
and there really is no reason you need to do on-primise like the siloed "Traditional on-prem" as you describe.
I would even say that especially for smaller companies they stopped doing on-prem that way even before the cloud became widely relevant. I mean it's just not feasible and there really isn't a fundamental reason why you have to silo yourself in that way just because you are on-prem.
* You can argue that it's mostly been the customers who fail to configure the service correctly at fault, and you wouldn't be wrong, but any time that many people are "doing it wrong" the problem isn't just them, its the service they're using (bad defaults, hidden footguns, unclear documentation, etc).
if someone says it's "unlikely" it either is a stylistic method to goat people or they don't understand much about the technology, because there is nothing unlikely about it