Cost of 3 million Invocations per month on google cloud functions, with 1 minimum instance and 2 as maximum - Stack Overflow
Google Cloud run costs
Pricing calculator for Cloud Run?
It appears that Gen 2 Functions are simply Cloud Run services now - does anyone know if the billing usage is still separate?
What usually drives Cloud Run cost?
Is Cloud Run priced per request or by CPU and memory?
How do I estimate quickly?
Videos
Your question lacks important details such as the execution time of your code or the amount of data moving out from your function but you can use the price calculator to get an estimate.
Keep in mind that since the charge for each million of invocations is 0.40 usd the price for the amount of invocations might not be as important as the price for your connectivity.
For example I did an emulation for a function with minimum 1 instance, 3 million of executions a month, 256mb, 100 ms of execution time and 1 mb of bandwidth per execution and for Uscentral1 you will be charged 354.10
In any case it would be better if you discuss this kind of questions with Google Cloud Billing Support as they will be able to give you the most accurate response to this kind of questions.
Keep in mind that Stack Overflow is more focused towards code and development support
per note ,
Note: A minimum number of instances kept running incur billing costs at idle rates. Typically, to keep one idle function instance warm costs less than $6.00 a month
Also for Google Function Idle, but I could not find any direct google document on this.
Instances are recycled after 15 minutes of inactivity.
but another answer says it is 30 minutes
Hey everyone,
for our non-profit sportsclub I have created a application wrapped in docker that integrates into our slack workspace to streamline some processes. Currently I had it running on a virtual server but wanted to get rid of the burden of maintaining it. The server costs around 30€ a year and is way overpowered for this app.
Startup times for the container on GCloud run are too long for Slack to handle the responses (Slack accepts max. 3 seconds delay), so I have to prevent cold starts completely. But even when setting the vCPU to 0.25 I get billed for 1 vCPU second/ second which would accumulate to around 45€ per month for essentially one container running without A FULL CPU.
Of course I will try to rebuild the app to maybe get better cold starts, but for such simple application and low traffic that seems pretty expensive. Anything I am overlooking right now?
Cloud Run isn't listed in the pricing calculator, what service would it come under, do I just use VMs and estimate?