I'm trying to estimate the cost of requests in a prototype app deployed in Google App Engine (free, not billing enabled) and I'm having some questions and issues. Right now, just to see if I could get things working I've just deployed some JSPs that generate some HTML.
Issues:
- I'm logged as an admin but not getting the "X-AppEngine-Estimated-CPM-US-Dollars" header on JSP responses. Does this only work for explicitly registered servlets?
- I'm getting the "cpm_usd" value on admin console logs view, but not on dowloaded logs. Is this value valid? Anyone got it compared with the one on the headers?
- How does static files cost work? I get mostly the same "cpm_usd" value independently of file size or response code (200 or 304). I have not defined a caching policy yet.
- The "Quota Details" page says I have consumed 1% of my free "Incoming Bandwidth" but 0% of "Outgoing Bandwidth". That's just impossible. Only explanation I found is that there's a bug and the values are interchanged.
- It seems that full uptime instance time (with those extra 15 min) is only considered for billing, as my consumed free quota for that is 0% (so it must be processing time). Is that correct?
More general pricing questions:
- About Reserved/Prepaid Frontend Instances: how do you "purchase" them? How do they go along with the free 28 hours? Are resident frontend instances (minimum idle instances) paid as reserved? Shouldn't they be?
- About Backends: the free part is 9 hours or $0.72? (it's not the same depending on the backend class)
Finally, if someone has any good advice, strategy or formula for estimating costs on GAE, they are very welcome to share them.