News for hackers. Stuff that matters.
Re:Ahrefs Saved US$400M in 3 Years by Not Going to the Cloud by sshine on Friday March 10, 2023 @11:18AM (#35096401)
I helped migrate a PHP app to AWS and K8s for a startup that got acquired a couple of years ago.

Before it was running on a dedicated Xeon with the database available on a UNIX socket. After... where do I start.

The app was very database heavy and experienced timeouts due to too many database calls (IOPS). Not a problem prior to migration, because you don’t pay separately for UNIX sockets. Just the IOPS ended up costing several hundred bucks a month.

All environment variables were stored as secrets at $.40/mo. per variable. I know this is peanuts, but it is so illustrative of the pricing model.

It feels like those candy bags where each tiny piece of candy is individually wrapped in plastic.

I found $35k/mo. I’d have spent directly.

Re:Ahrefs Saved US$400M in 3 Years by Not Going to the Cloud by oxfordmale on Friday March 10, 2023 @11:26AM (#35096535)
If you store secrets in the Parameter Store, there is no cost per month.

In AWS you need to be careful what you use.