I have a fairly simple python3 app running on app engine. The costs have recently risen dramatically and I am unable to determine the cause. This started around the time that I decided to upgrade cloudsql from mysql 5.7 to 8 (at google’s suggestion). Thinking that the upgrade was the problem I’ve stopped using cloudsql (I moved my database off of google completely). My monthly app engine cost, however, is still much higher than it was a few months ago. I only allow one instance to run at a time:
automatic_scaling:
max_instances: 1
I had been running with max_instances: 0. Changed to 1 to see if that would help. It hasn’t.
I reached out to “billing” but they were unable to help much. They did extend a small credit.
I don’t see any way to dig into the differences between, say, August and November. My app uses Flask and the datastore to allow folks to register for chess tournaments. I barely break even on cost and this recent increase is a real problem. My cost in August was less than $20 for both app engine and cloudsql. My projected cost for November (without cloudsql) is close to $60. I’m stumped.
Ideas anyone?
Hi,
To see a break down of your costs,
-
Open console.cloud.google.com
-
Select Billing (menu on the left hand side of the page)
-
Select Reports
-
You can then group the report by Project, Service, SKU and you’ll see a corresponding cost breakdown
**…**NoCommandLine …
https://nocommandline.com
Analytics & GUI for
App Engine & Datastore Emulator
Right, unfortunately that only allows drilling to the app level. I would need visibility within my app both current and previously. Not seeing how to do that. Thank you
drilling to the app level. I would need visibility within my app both current and previously
I don’t understand what you mean by the above statement.
At the minimum, the billing report will tell you which sku is costing you the most and you can think to see if you made a changes that affected that sku.
You can also compare the costs for different periods to see which sku had an increase
**…**NoCommandLine …
https://nocommandline.com
Analytics & GUI for
App Engine & Datastore Emulator
Hi @motoaddict ,
Welcome to Google Cloud Community!
It sounds like you’re really digging into the cost spike, and I totally get the frustration. While it seems like you’ve already done some troubleshooting (e.g., moving your database off Cloud SQL), it’s important to note that when it comes to unexpected charges or billing discrepancies, Google Cloud Billing and Google Cloud Support are your best resources for getting to the bottom of the issue.
In the meantime, here are a few things you can check on your end:
- Google Cloud Price Calculator: You can use the Google Cloud Pricing Calculator to estimate the costs of the services you’re using. It can help you compare what your expected costs should be versus what’s showing up on your bill.
- App Engine Pricing: Check the pricing documentation to understand how billing works for App Engine.
For a deep dive into your billing, Google Cloud Support is the best place to get detailed insights and potentially even request a refund or goodwill credit if applicable. They’ll be able to investigate your charges in more detail and give you specific feedback.
Hope this helps!
Report is by “Service”. One of the “Services” is App Engine. I know that App Engine is the offender (that’s the bulk of my usage). I do not not see a way to drill within “App Engine” to determine which URL (or URL’s) may be the problem child. I think that this is a reporting weakness.
Anyway, looks like the problem has resolved itself. May have been due to other versions that I had running. I removed them and my costs have dropped.
Thanks for weighing in