Stay organized with collections Save and categorize content based on your preferences.
An App Engine app is configured using an app.yaml
file, that contains the runtime, handlers, scaling, and other general settings including environment variables.
app.yaml
files
You can specify the runtime configuration for your Python 3 app, including versions and URLs, in the
app.yaml
file. This file acts as a deployment descriptor of a specific
serviceversion.
You must first create the app.yaml
file for the default
service of your app before you can create and deploy app.yaml
files for additional services.
Generally, your app.yaml
file requires only the runtime
element for a simple Python 3 app in the standard environment, for example:
runtime: python313
App Engine provides default values for all other settings, including the F1 instance class, which determines the memory and CPU resources that are available to your app, and automatic scaling, which controls how and when new instances of your app are created.
If you need to override the default settings, create an app.yaml
file and specify the settings you need. For more information, see app.yaml
file reference.
You can specify a unique name for your app.yaml
files, but then you must specify the file name with the deployment command as well. For example, if you name your app.yaml
file service-name-app.yaml
or app.standard.yaml
, then you must deploy your app using either:
gcloud app deploy service-name-app.yaml
gcloud app deploy app.standard.yaml
To learn more about structuring multiple services and
app.yaml
files in your app, see
Structuring web services.
All configuration elementsFor a complete list of all the supported elements in this configuration file, see the app.yaml
reference.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["An `app.yaml` file is used to configure an App Engine app, including its runtime, handlers, scaling, and environment variables."],["For a basic Python 3 app in the standard environment, only the `runtime` element is required in the `app.yaml` file."],["App Engine provides default settings, such as the F1 instance class and automatic scaling, which can be overridden by specifying custom settings in `app.yaml`."],["While you can choose a unique name for your `app.yaml` files, doing so means that you will have to specify the file name with the deployment command, such as `gcloud app deploy service-name-app.yaml`."],["Before you can deploy other services, you must first create an `app.yaml` file for your app's `default` service."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4