[google-appengine] Is it possible to set an instance class for Basic Scaling?

2015-08-02 Thread A. Kong
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

-- 
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-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@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.


Re: [google-appengine] Is it possible to set an instance class for Basic Scaling?

2015-08-03 Thread 'Alex Martelli' via Google App Engine
On Sun, Aug 2, 2015 at 10:57 PM, A. Kong  wrote:

> 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?
>

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-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@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.
>

-- 
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-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@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/CAE46Be87Tpq8h_q4KXci0nxi%3DRR%2BVoNri20Y6a%3Dx%3DzzF88iBgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.