by dmateos · 4y ago · 0 comments
The /home directory was mounted to an autoexpanding EFS on AWS.
23.4tbs and 2 months later we noticed the bill :)
I assume a smaller place would just beg AWS for forgiveness and probably get it.
It's nice that it's manageable and also a learning experience, but over here that would be like 2 months' take home salary for a software engineer.
Kind of why development/test environments shouldn't have autoexpanding or scalable anything, in my experience.
But the typical worst case-practices, are the small companies who think avoiding vendor lock-in is a thing that matters at their scale. Look, you're never going to change cloud providers - if you do, that will be a problem you can solve then. You're never going to go multi-cloud. If you do that's a problem you can solve then. Preemptively DIY'ing everything from database copies to security to encryption is going to break you - you're now engineered on a brittle substrate of hacks with no support, all so that one day you could maybe consider saving 10% on your cloud bill by moving to a different provider. The day that migration will save you more than one engineer per month, consider it. Until then, you're just making your own costs worse.
/rant
[0] https://docs.aws.amazon.com/lambda/latest/operatorguide/recu...
If you are going to use ANY cloud provider, learn about alarms, or you will get screwed.