3 ms·
Lambda and GCP Cloud Functions do have cost controls. You can specify the maximum number of instances that can be spun up at any given point. I think the UX ca
by jmathai 3y ago
Lambda and GCP Cloud Functions do have cost controls. You can specify the maximum number of instances that can be spun up at any given point.
I think the UX can make it more friendly to specify the types of traffic and cost you’re expecting but most erroneous spikes are the result of a customer misconfiguration or a legitimate spike in traffic.
It’s the former which are problematic for customers. They can request a credit and we (GCP) try and accommodate.
It’s not a feature designed for profit. But it also tends to fall below the cut line for prioritization to fix. But it’s in the backlog and doesn’t go unnoticed.
(Former PM on GCP Cloud Functions)
- sroussey 3y agoDo users setup cost controls before activating the service? Or is this something they need to know how to do and do on their own?
- jmathai 3y agoSeparate from billing, the product-native cost controls which prevent over-consumption is configured at the resource level. gcloud run deploy ..... --max-instances=N