Directory structureEach version of a Java service is defined in an
app.yamlfile. The YAML file usually takes the same name as the service it defines, but this is not required. If you are deploying several versions of a service, you can create multiple yaml files in the same directory, one for each version.
app.yaml configuration file defines the scaling type and the CPU, disk,
and memory resources for a specific version of a service.
The file organization depends on which Java runtime you are using. You might need a WAR file or a JAR file, one for each service in your app. See the appropriate Java runtime developer guide for details.
The default service
Every application has a single default service. The default service is
app.yaml with the setting
Optional configuration files
These configuration files control optional features that apply to all the services in an app:
To deploy and apply these configuration settings to your App Engine environment, use:
gcloud app deploy dispatch.yaml gcloud app deploy index.yaml gcloud app deploy cron.yaml