5 ms·
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 av
by sshine 4y ago
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 differently.
- oxfordmale 4y agoIf you store secrets in the Parameter Store, there is no cost per month. In AWS you need to be careful what you use.