Hi Jordan, Thanks for the automatic scaling tip. I have changed my app.yaml [1] now. I will report the reductions in cost I get.
1. The link you gave for app.yaml docs is for standard environment. Does the same settings apply to flexible environment as well? Or should I use the docs at this url [2]. 2. I checked my billing details. It shows *USD 38* for *App Engine Flex Instance Core Hours: 724.083 Hours* and *USD 5.14* for *App Engine Flex Instance RAM: 724.083* 3. Does these health check requests affect performance and costs? 4. What is the lowest possible config for resources options in app.yaml settings. Regards, Kush [1] runtime: python env: flex entrypoint: gunicorn -b :$PORT myproject.wsgi automatic_scaling: min_num_instances: 1 max_num_instances: 2 resources: cpu: 1 memory_gb: 0.6 disk_size_gb: 10 health_check: enable_health_check: False runtime_config: python_version: 3 [2] https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml#automatic_scaling On Thursday, 6 July 2017 20:58:20 UTC+5:30, Jordan (Cloud Platform Support) wrote: > > 1. You can follow the public issue report > <https://issuetracker.google.com/37368857>where engineering is working on > reducing the health checks. The reason you still see some after disabling > is because there are multiple sources performing health checks > <https://stackoverflow.com/questions/42841697/google-app-engine-health-checks-spamming-app> > > on your instances, and disabling only stops one of the sources. > > 2. App Engine Flexible instances are charged for their resources by the > hour > <https://cloud.google.com/appengine/pricing#flexible-environment-instances>. > Therefore, setting a Manual instance will cause your instance to run > constantly, even when there is no traffic and it is doing no work. Not > turning your instance down during idle time is the reason for your higher > bill. Consider using Automatic or Basic scaling > <https://cloud.google.com/appengine/docs/standard/python/config/appref#scaling_elements> > to > minimize the time your instances are running, in turn reducing your bill. > > - Note that there are other resources > <https://cloud.google.com/appengine/pricing#other-resources>that can > cause your bill to be higher, it is recommended to view your bill > <https://support.google.com/cloud/answer/6293699?hl=en> to better > understand the breakdown of charges. > -- 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/2be64284-59d7-4f8a-82be-e24b36e997ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
