How to create multple service in one app engine - can any one help

43 views
Skip to first unread message

I am Deceptionist

unread,
Jul 9, 2017, 3:06:09 AM7/9/17
to Google App Engine
gcp.PNG

Kaan Soral

unread,
Jul 9, 2017, 3:06:53 PM7/9/17
to Google App Engine
You have to create a new .yaml, let's call it mymodule.yaml

application: yourapplication
module: mymodule
version: 1
runtime: python27
threadsafe: true
api_version: 1
builtins:
- deferred: on
inbound_services:
- warmup

#instance_class: F2
#automatic_scaling:
#  min_idle_instances: 1
#  max_idle_instances: 1
#  min_pending_latency: 600ms
#  max_pending_latency: 2000ms #previously just the max_ one at 900ms [31/05/15]

instance_class: F2 #previously the above version [21/05/17]
automatic_scaling:
  min_idle_instances: 0
  max_idle_instances: 1
  min_pending_latency: 15000ms #max
  max_pending_latency: automatic

Then, to deploy, you need to use:

python2.7 ~/appengine-deployer/appcfg.py --no_cookies --noauth_local_webserver --email=your_email update app.yaml mymodule.yaml;

Copy/pasted these from my routine, the GUI way might be different, this is the CLI way

George (Cloud Platform Support)

unread,
Jul 10, 2017, 10:36:28 AM7/10/17
to Google App Engine
Hello Aslam, 

The page you captured displays indeed the deployed services, but does not offer the possibility to create modules or services. These are highly dependent on the application's code and would be awkward handled in a GUI environment such as the console. 

To find out more how to characterize and deploy your services it may be worthwhile reading the "app.yaml reference" page
Reply all
Reply to author
Forward
0 new messages