Is it possible to set an instance class for Basic Scaling?

395 views
Skip to first unread message

A. Kong

unread,
Aug 3, 2015, 1:57:03 AM8/3/15
to Google App Engine
When I deploy my app I got this error message:

Instance class F4 is only allowed with the 'automatic' scaling value.



Here is the beginning part of my yaml file



application: app-modular-kong

module: backend

version: "v1-2-3"

runtime: python27

api_version: 1

threadsafe: no

instance_class: F4

basic_scaling:

  max_instances: 10




It is possible to set the instance_class? Is it necessary?



Thanks

Alex Martelli

unread,
Aug 3, 2015, 2:02:14 PM8/3/15
to google-a...@googlegroups.com
As the table "Scaling Types" under https://cloud.google.com/appengine/docs/python/modules/#Python_Instance_scaling_and_class shows, Basic Scaling is "Configurable by selecting a B1, B2, B4, B4_1G, or B8 instance class" -- so it's definitely possible to set the instance class, just not to F4.

B4 has the same memory, CPU, and cost as F4, currently. I wouldn't say it's necessary to set a different instance class than the default (currently B2), but it's certainly a possibility you can experiment with in order to fine-tune your application's performance and cost.


Alex



Thanks

--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/73407ade-f006-4775-9f60-80edf28c5ec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages