this post was submitted on 29 Dec 2024
234 points (95.3% liked)

Sysadmin

8092 readers
129 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
!lemmy@lemmy.ml
!lemmyworld@lemmy.world
!lemmy_support@lemmy.ml
!support@lemmy.world

founded 2 years ago
MODERATORS
 
top 8 comments
sorted by: hot top controversial new old
[–] Bishma@discuss.tchncs.de 22 points 1 month ago (1 children)

I maintain bare metal, traditional cloud hosting, containers, and serverless (plus "serverless containters") and this is how I think of it:

[–] HK65@sopuli.xyz 9 points 1 month ago

Serverless is more like it's running everywhere and nowhere all at once. One line of code might be 3000 kilometres from another.

[–] Tyfud@lemmy.world 16 points 1 month ago (1 children)

Serverless just means it's abstracted from the user. You don't choose the hardware or perform updates or maintain it, etc. You don't know which servers it's running on, and you don't care. Neither does your app.

[–] mosiacmango@lemm.ee 5 points 1 month ago* (last edited 1 month ago) (3 children)

Serverless is just the cloudy boys tricking devs and MBAs into paying 100x for code to run to drop 5% of the workload of maintaining a complaint server somewhere.

They literally managed to convince people to take a free thing like "code can run as many times as you want for nothing" and turn it into "pay us each time code runs so you don't to learn docker."

Marketing makes money.

[–] tatterdemalion@programming.dev 7 points 1 month ago* (last edited 1 month ago)

You might be surprised to learn that there are economies of scale at play here. If you want a managed application that has light traffic, then you can pay less for serverless than you would pay for hardware + wasted hours when the hardware is powered on but serving no traffic.

I agree that there are some companies making poor decisions about which software they run in the cloud though. "Cloud mandates" are really stupid, because they're basically just a trap where cloud providers offer a large amount of free cloud credits to get companies dependent on their platform.

[–] Tyfud@lemmy.world 6 points 1 month ago* (last edited 1 month ago)

I don't know what you're referring to. Most serverless requires docker, like Fargate ECS. You can even run docker in lambda now.

It's literally the convenience of not having to manage the hardware and pay per use, rather than always on hardware.

Same with serverless PaaS options like Aurora, Dynamo, Rekognition, etc.

That's worth a lot to a lot of people in the industry. Sure, you can save more money by running it on hardware you reserve and maintain, but that's the cost/benefit analysis you need to make on a case by case basis.

[–] False@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

There's value in "I want to run this code 10 million times and I don't want to have to figure out how to scale that out"

[–] MystikIncarnate@lemmy.ca 3 points 1 month ago

Short story. A former employer did almost everything "server less".

So, instead of any physical servers, there would be AD controllers, file servers, and remote desktop servers in azure VMs instead.

I'm pretty sure that some of the largest deployments were nearly as expensive per year as the hardware would have been to just run it in house. Like, you can buy a whole-assed server, capable of running your entire workload, every year that you run "server less"

And what did I do? Well, I managed and maintained server VMs that happened to be in azure instead of a device that the company owns.

The whole thing was baffling. Why anyone would do things that way just amazes me.