Hi Alex,

The [thread](
https://groups.google.com/forum/#!msg/google-appengine/Pbn4omhqv3Y/VsZyc5PpBAAJ)
 
provides detailed explanations on Active, Billed Instance Estimate and 
Created. 

Basically, Automatic scaling will start and stop instances based on the 
application requirements. You will not be charged for ‘Created’ instances 
that have been idle for 15 minutes, neither for any ‘Created’ instances 
exceeding the amount of ‘max_idle_instances’. Hence ‘Billed Instance 
Estimate’ represents the number of instances since they become ‘Active’ 
till 15 mins after the last request has finished processing. It also 
explains why this metric stands while ‘Active’ is sometimes 0.

‘Billed Instance Estimate’ will also include the number of 
‘min_idle_instances’ configured in the app.yaml. Please note that the 
metric reading is just a rough estimate based on averages and the actual 
usage will be reflected on your bills. 

[Max_instances](
https://cloud.google.com/appengine/docs/standard/python3/config/appref#automatic_scaling_max_instances)
 
is used for automatic_scaling to specify the maximum number of instances to 
create for the module version in App Engine. While Utilization measures the 
duration that the current request has spent so far processing the request 
within the App Engine [[link](
https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/quota/QuotaService?hl=en#getcputimeinmegacycles)].
 
There is no direct influence one way or another between the two metrics.

I suggest to go over the [doc](
https://cloud.google.com/appengine/docs/standard/python/config/appref) for 
configuration and resource allocation proper to your use case, in order to 
provide performance in a cost-efficient manner.

Hope it helps.


On Wednesday, August 5, 2020 at 10:39:54 AM UTC-4, Alex Fox wrote:
>
> Hi,
>
> I'm trying to get my head round how I can reduce my GAE costs, but I am 
> having a hard time understanding the usage / instances graphs. In the 
> attached graph can anyone tell me what, *Active*, *Billed Instance 
> Estimate* and *Created* mean? It appears that my Active is pretty much 
> always 0, so I don't really understand what that means as my monthly bill 
> is quite high!
>
> Also, how am I meant to understand the *Utilization *graph to influence 
> the number of max_instances I set in my app.yaml?
>
> Any other cost saving / usage debugging tips are also very welcome!
>
> Thanks,
> Alex
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4441a0a1-24e0-4def-862f-105d58a8bc54o%40googlegroups.com.

Reply via email to