- NAME
-
- gcloud beta app migrate-to-run - migrate a second-generation App Engine app to Cloud Run
- SYNOPSIS
-
-
gcloud beta app migrate-to-run[--appyaml=APPYAML] [--service=SERVICE] [--version=VERSION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Migrates the second-generation App Engine app to Cloud Run. - EXAMPLES
-
To migrate an App Engine app to Cloud Run:
through app.yaml
gcloud app migrate-to-run --appyaml=path/to/app.yaml
OR
through service and version
gcloud app migrate-to-run --service=default --version=v1
- FLAGS
-
--appyaml=APPYAML- Path to the app.yaml file for the second generation App Engine version to be migrated. If not provided, the app.yaml present in the current directory is used.
--service=SERVICE- Name of the service that is deployed in App Engine. If specified, the configuration of the existing service will be used and app.yaml in the current directory will be ignored.
--version=VERSION- Name of the version that is deployed in App Engine. If specified, the configuration of the existing version will be used and app.yaml in the current directory will be ignored.
- 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 helpfor details. - NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha app migrate-to-run
gcloud beta app migrate-to-run
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 2026-05-05 UTC.