I'm migrating an app from Amazon to Google and part of it involves copying 
some photos from S3 to GCS. I have a task running which iterates over the 
datastore to copy the image for each entry and replace the location 
reference. I'm not in any rush so it's just doing them one at a time and 
chugging along running on App Engine classic F1, copying a file every few 
seconds.

Throughout the day I regularly check on the task queue, the datastore, the 
logs (both App Engine and Amazon) and the GCS bucket and everything is 
working as expected. I expect it will cost a few dollars based on my 
calculations.

Then one time the dashboard tries to kill me by reporting that I will owe 
$190,000+ Eek! What happened to the $10 daily limit I set as a safety net?!

So of course I immediately stop everything, report the issue with the 
dashboard feedback option and open a support ticket and have waited a few 
days but still haven't heard anything back from anyone.

I am completely confident that the price reported is wrong but I still have 
to go through and double or triple check everything and it's rather 
concerning. I'm almost afraid to let anything run but I added more logging 
and restarted the task and also started looking up flights to south america 
to possibly begin my new life as a fugitive. It seems that once the number 
of ops goes over 50,000 (free daily allowance?) the price displayed 
suddenly starts jumping up by huge amounts.

Here's snippets from screenshots taken a couple of minutes apart 
(literally, between going to the task queue page to pause it and coming 
back to double check).

<https://lh3.googleusercontent.com/-XIOqux3lGnU/Vr4M2JGfrSI/AAAAAAAACSI/60u6FoPNPjc/s1600/cloud-storage-ops.png>

It seems like it's expecting to charge $10 *per each billable op*, not for 
a million of them but then the bill was almost exactly a million times 
higher than I was expecting it to be.

So my questions are:

* It is a misreporting issue ... right? I mean, I *know* it has to be, but 
such big numbers are scary and I want to be sure. Please tell me it is, 
*please* (yeah, no desperate panic, keeping calm ... breathe ...)

* Would the daily billing limit definitely protect against things like this 
if my code was actually trying to use that level of resources? I tried to 
find a definitive answer as to what it covered and what it didn't 
(specifically GCS) and couldn't find one.

Many thanks
Simon


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7e38fb4c-5d07-4f84-ba7e-8fcf424297f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to