Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Run Billing: Unauthenticated Traffic

Hi, if I have a cloud run container setup to reject Unauthenticated requests: 

ageoff_0-1738701910401.png

If an unauthenticated request comes in... am I billed at all for that? I see when I hit the `run.app` endpoint I see the invocations in the metrics on the cloud run.

Solved Solved
0 1 87
1 ACCEPTED SOLUTION

Yes, you are billed for all traffic to your Cloud Run service. To avoid budget overruns, you can cap your expenses by using the "max instances" feature in Cloud Run.

An even better way is to use the budget feature: https://cloud.google.com/billing/docs/how-to/budgets

View solution in original post

1 REPLY 1

Yes, you are billed for all traffic to your Cloud Run service. To avoid budget overruns, you can cap your expenses by using the "max instances" feature in Cloud Run.

An even better way is to use the budget feature: https://cloud.google.com/billing/docs/how-to/budgets