What Cloud Run costs, with worked examples
This guide was first published on exodus.elim.io . Prices are Google's list prices on the date in the text. Cloud Run costs $0.000024 per vCPU-second, $0.0000025 per GiB-second and $0.40 per million requests on its default request-based billing in Tier 1 regions, after a monthly free tier of 180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests per billing account. A small app at 2,000…
Cloud Run pricing is straightforward, with three key components: vCPU-seconds, GiB-seconds, and requests. The default request-based billing applies in Tier 1 regions, while Tier 2 regions are 1.4 times more expensive. The first 180,000 vCPU-seconds, 360,000 GiB-seconds, and 2 million requests per month are free for each billing account.
For a small app handling 2,000 visits per day, the monthly cost is $11.09, with $1.19 of that attributed to Cloud Run usage. A minimum instance kept warm adds around $9.86 per month. The bill is calculated by subtracting the free tier from your usage and multiplying by the respective price.
At a minimum, a service will incur a charge of $0.72 per month under the given usage scenario, with memory being a relatively minor cost factor.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to