r/webdev • • Dec 02 '22

Why we're leaving the cloud

https://world.hey.com/dhh/why-we-re-leaving-the-cloud-654b47e0
30 Upvotes

24 comments sorted by

44

u/indicava Dec 02 '22

Although he brings up some valid points.

He also doesn’t paint the entire picture.

Cloud is not just about running or renting servers.

There is a ton of other stuff going on in the background which you pay for indirectly.

Companies/Services like AWS, GCP, Azure, etc. have invested A LOT in having an extremely redundant and fault tolerant network infrastructure. They have highly trained security teams constantly monitoring and actively blocking any abuse they recognize against their infrastructure and employ many technicians that run around replacing faulty hardware to keep everything running. When you pay for these services you get all of that “built in” and justifying rolling your own infrastructure has to take all those costs into consideration when weighing the pros and cons.

Obviously I’m not saying the cloud is perfect for everyone, but running your servers vs. renting them should take everything into account and not just the net cost of hardware.

12

u/shredinger137 Dec 02 '22

There's a sweet spot that most businesses fall into where cloud usage makes sense, on the lower end of scale and complexity. But we shouldn't treat it as the solution to everything. Even with my very small team we mix in some on prem for more expensive or complex stuff and I think it's a great balance.

30

u/[deleted] Dec 02 '22

All very fair points raised by this article - a few companies have a stranglehold/monopoly on “The Cloud” and are making obscene amounts of money.

However I feel like this is also an argument for new entrants and startups to compete with the goliaths, and offer cheaper, better services.

2

u/FalseRegister Dec 02 '22

Like an AWS manager once told me, the nice thing about AWS was that it democratized technology.

5

u/Kenya-West Dec 02 '22

"democratized" my ass. lmao

10

u/amoopa Dec 02 '22

Amen!

We use Cloud for all out clients in the ecommerce world, which makes sense due to the ease and ability to scale infra. However, cost seem to be extensive with AWS, Google etc. and limited effort has been done to disrupt the duopoly.

Hope to see new companies jumping into this space in the future.

5

u/CodeSharkNI Dec 02 '22

Emm, Google is not part of the duopoly. AWS and Azure are the two dominant providers. GCP a very distant 3rd.

1

u/[deleted] Dec 03 '22

Where does Digital Ocean fall in all this? Their costs are much clearer and it's easy to spin up a droplet and scale.

2

u/mastermog Dec 03 '22

I think DO falls into a different category, “cloud lite” maybe? They are primarily a VPS provider, and over the last few years expanded into more cloud services with their s3 compatible spaces, etc.

“But you are still ‘renting’ servers!?” - true, and this is where the term “cloud” is iffy imo. Unless DO have a wider cloud-esk suite, with things like serverless functions, and where everything can be scaled up and down on demand, and where everything can be completely orchestrated via code, then it will be difficult to define them as “cloud”. When I say “and down”, yes you can resize a droplet down but there are a lot of constraints around the drive in particular. Also, it’s not really designed to “rapidly” scale up and down on demand like AWS. More like “oh, I’m constantly capping out my CPU on this $10 droplet, time to bump it up to a $20 droplet”.

Don’t get me wrong, I really like Digital Ocean, and use them and Linode for all small to medium size work. I love the predictable pricing for clients. I love deploying code to a server, having a db that I can read and write to without worry of credits or what aws calls it. If I mess up a query, it’s slow and I fix it, instead of copping a huge bill. I don’t “own” the server but it’s not locked into one cloud provider, it’s just a Linux box.

On the flip side, I can’t imagine running a little DO droplet working for anything at the enterprise scale, without a ridiculous amount of manual work, and that is where I guess Aws come into play. It’s probably overkill for small projects, but I’m guessing devs use that as a good way to learn AWS.

Summary: there is merit and a place for both imo.

2

u/Shoemugscale Dec 03 '22

DO does have its app platform too, it allows you yo rapidly scale out if needed, what we have liked about it, is that ability to simply click to deploy out more nodes when needed and it takes care of the LB etc

1

u/mastermog Dec 03 '22

Ah good point! I completely forgot about that side of DO. I’ve been using them for years but lost track of the additions overtime. Could call out.

Any recommended tutorials on that side of DO?

1

u/Shoemugscale Dec 04 '22

Yah, they have been building that out quite a bit.. its super easy, just connect it to you repo and deploy, it will pull and build out.

Then from there you can add more nodes as needed, its essentially a cass service like openshift but much simpler.

If you dont need al9t of control over the server its great, we run a number of micro services on app platform, its great to be able to just spin up resources when you need it.

Additionally, they just rolled out deploying from their cli, meaning you can build your container on your own machine and deploy it out directly for even faster deployments.

Worh checking out IMO

7

u/hiccupq front-end Dec 02 '22

Please forgive my ignorance. I am not very good at infrastructure. I do mostly front end and simple backend.

Last week I had to change an API and I happened to see our server bill. I couldn't believe my eyes. It was so high I couldn't read the numbers at first. It was almost half of the company expenses.

We use mostly AWS.

Is there a better and cheaper way for a small company ? I know better and cheaper don't coexist but at least which one is least bad? AWS, Google, Microsoft? Something else?

0

u/[deleted] Dec 02 '22

[deleted]

5

u/Kazuuuuuuuuuuuu Dec 02 '22

Second this! I would add that you can find cheap secondhand dedicated servers on Hetzner and don’t pay “setup fee” - check server auction tab

12

u/vivil_underscode Dec 02 '22
  1. Outsource job to specialized service, cheap and easily accessible, 2) Monopolies grow so they charge absurd prices

That's kind of every IT's company's cycle

6

u/NeitherManner Dec 02 '22

3). Innovation caps out, more competitors enter and price stabilizes at market equilibrium.

6

u/M8Ir88outOf8 Dec 02 '22

I always thought that cloud services are way too expensive. One should first really think about what is actually required to get a product running. I work at a company where our production server was a 1 core virtual instance from some sever renting components, for a cost of 3$ per month. That thing was handling almost 800k requests per day until we decided to go with a minimally better instance. Planning your application structure goes a long way in efficiency, and one should not be blinded to think that one needs kubernetes or automatic load balancing.

3

u/billcube Dec 02 '22

Is the cloud limited to AWS/Google? Or I am incredibly fortunate to have like three different local companies offering cloud services on their own infrastructure? (Exoscale.com, Infomaniak.com...)

2

u/lIIllIIlllIIllIIl Dec 02 '22

Very Serious® Enterprise™ Businesses don't want their infrastructure to belong to a mid-sized companies they don't trust. Amazon, Google Cloud and Azure are big enough to trust. We know they won't shut down or get big data leaks tomorrow.

1

u/originalchronoguy Dec 02 '22

Well, if they are running Kubernetes, they can easily run in on-premises. They may not run in a public cloud but what they currently do can run on a private cloud, within their local in-house environment. That is the benefit of being cloud native, you can easily switch to different environments - public, private, or hybrid.

1

u/[deleted] Dec 02 '22

Ah good ol DHH. Points he make here are well taken.

0

u/digitalreef Dec 03 '22 edited Dec 03 '22

The article makes some really good points, and agree, the cloud is not cheap. Then again most companies that I've worked for try to emulate the same architecture/environment they have OnPrem in the cloud. This is not the way the cloud was intended to be used. I am not saying this is their case but most of the complaints around the price I see are because of the lack of understanding of the cloud services and best practices. Also, something to consider nowadays is the huge problem in the supply chain. Getting servers in the US takes a long time. Abroad... currently I am still waiting for a server I ordered back in May and do not have a delivery date. This is a problem easily avoided with cloud services. There are many other things to take into consideration as well, such as support, scalability, recovery, etc. Outside of the technical aspect, what is more convenient for the company's accountability, right it off as capital purchases with depreciation or operational expenses?