- NAME
-
- gcloud app create - create an App Engine app within the current Google Cloud Project
- SYNOPSIS
-
-
gcloud app create
[--region
=REGION
] [--service-account
=SERVICE_ACCOUNT
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Create an App Engine app within the current Google Cloud Project.
- EXAMPLES
-
To create an app with region chosen interactively, run:
gcloud app create
To create an app in the us-central region, run:
gcloud app create --region=us-central
To create an app that with a user-managed service account, run:
gcloud app create --service-account=SERVICE_ACCOUNT
- FLAGS
-
--region
=REGION
-
The region to create the app within. Use
gcloud app regions list
to list available regions. If not provided, select region interactively. --service-account
=SERVICE_ACCOUNT
-
The app-level default service account to create the app with. Note that you can
specify a distinct service account for each App Engine version with
gcloud app deploy --service-account
. However if you do not specify a version-level service account, this default will be used. If this parameter is not provided for app creation, the app-level default will be set to be the out-of-box App Engine Default Service Account, https://cloud.google.com/appengine/docs/standard/python3/service-account outlines the limitation of that service account.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - NOTES
-
This variant is also available:
gcloud beta app create
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 2024-02-06 UTC.