How to set the service name of an GCP App Engine service

Viewed 5080


I upload my endpoints app to GCP AppEngine and it work nice. But in the dashboard, the service name be assigned to 'default'.

How do I set the service name?
Thanks for your support. enter image description here

3 Answers

There are several ways to set a service's name in App Engine. If you use Java with Maven for example, you can:

If you use Python, you can:

  • set service: service_name in the app.yaml file

Agreed on below answers. I did the same thing in app.yaml file in spring-boot appengine and it's working...

runtime: java11
instance_class: F4
service: appengine-spring-boot
handlers:
  - url: /.*
    script: this field is required, but ignored
Related