this post was submitted on 02 Aug 2023
1008 points (100.0% liked)
196
16582 readers
1796 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Even with ASGs, ec2 costs a bomb for performance.
And "serverless" functions are a trap.
If you're gonna commit to reserved instances, just buy hardware for goodness sake, its a 3 year commitment with a huge upfront spend.
You can do one year dedicated spend.
But yes. Serverless is a trap to be avoided.
Mark my words the loop is coming back around. I look forward to when my work migrates the datacenter off AWS back on prem because of ballooning costs.
You work in IT long enough you see it for the joke it is. We get paid obscene amounts of money to do what amounts to nothing.
Just because rotating managers always come with the 'new current thing everyone is doing'.
Like no, 99% of companies can just do what they've always done. No need to rebuild everything from scratch.
I'm already in the middle of that. Everything non-public-facing is going to cheap lease boxes running workloads in docker. idgaf if the machine underneath lives or dies, its 3 lines of config in a terraform script to replace.
How are serverless functions a trap? They seem like a great cheap option for simple CRUD / client > server > db apps (what most apps end up being).
Anything that is "cheap" to do on serverless is cheaper to do on a $5 droplet, especially once it starts to grow.
Serverless gets you to buy in to a vendors lock-in.
Interesting, I'll check out droplets, but in my experience with Azure Functions there's not much vendor lock in. My API was just a normal Node.js / express server, the only part that was locked in to Azure Functions was the format for the endpoint definitions, but those can be adjusted in like an hour's worth of time to anything else