Java 8 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Java 8
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Java
8 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Java.
Migrating from AppCfg to gcloud Command Line
Stay organized with collections
Save and categorize content based on your preferences.
AppCfg
was a utility command that was included in the App Engine
SDK.
To help you replace your use of AppCfg
commands with gcloud
commands
from the gcloud CLI, see the following table:
appcfg command |
gcloud command line |
download_app |
You can no longer download source files, but you can view them from the Google Cloud console Versions page by selecting Source in the Diagnose column. |
request_logs |
gcloud app logs read or view and route logs with the Logs Explorer |
rollback |
No longer supported or necessary |
start_module_version |
gcloud app versions start |
stop_module_version |
gcloud app versions stop |
update |
For Python and PHP apps:
gcloud app deploy
For Java 8 apps, build the app first. Then deploy with:
gcloud app deploy WEB-INF/appengine.xml
For Java 11 apps, you can deploy the source code to the Java 11 runtime
without building locally:
gcloud app deploy pom.xml
To deploy a Java fatjar to the Java 11 runtime:
gcloud app deploy myapp.jar
You can also use the gcloud CLI-based
Maven or
Gradle plugins to
build and deploy Java 8 and Java 11 apps.
|
update_indexes |
gcloud app deploy indexes.yaml orgcloud datastore indexes create |
update_cron |
gcloud app deploy cron.yaml |
update_dispatch |
gcloud app deploy dispatch.yaml |
update_dos |
gcloud app deploy dos.yaml |
update_queues |
gcloud app deploy queues.yaml |
vacuum_indexes |
gcloud datastore indexes cleanup |
version |
gcloud app versions describe |
set_default_version |
gcloud app services set-traffic |
cron_info |
View the Google Cloud console Cron jobs page. |
resource_limits_info |
View the Google Cloud console Quotas page. |
backends commands |
No longer supported. The Backends service is shut down. |
list_versions |
gcloud app versions list |
delete_version |
gcloud app versions delete |
migrate_traffic Only supports 100% migration. |
gcloud app services set-traffic |
If you need help translating the XML files to equivalent YAML files, you can use:
gcloud beta app migrate-config cron-xml-to-yaml MY-CRON-XML-FILE.xml
gcloud beta app migrate-config datastore-indexes-xml-to-yaml MY-INDEX-XML-FILE.xml
gcloud beta app migrate-config dispatch-xml-to-yaml MY-DISPATCH-XML-FILE.xml
gcloud beta app migrate-config queue-xml-to-yaml MY-QUEUE-XML-FILE.xml
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."],[[["\u003cp\u003eThe \u003ccode\u003eAppCfg\u003c/code\u003e utility command from the App Engine SDK has been replaced by \u003ccode\u003egcloud\u003c/code\u003e commands within the gcloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eMany former \u003ccode\u003eappcfg\u003c/code\u003e commands are now executed using the \u003ccode\u003egcloud app\u003c/code\u003e command structure, such as deploying, managing versions, and viewing logs.\u003c/p\u003e\n"],["\u003cp\u003eCertain \u003ccode\u003eappcfg\u003c/code\u003e functionalities, like \u003ccode\u003edownload_app\u003c/code\u003e and \u003ccode\u003erollback\u003c/code\u003e, are no longer supported, with alternatives like viewing source files via the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eThe Backends service, along with its related \u003ccode\u003eappcfg\u003c/code\u003e commands, has been shut down and is no longer supported.\u003c/p\u003e\n"],["\u003cp\u003eXML files used with \u003ccode\u003eappcfg\u003c/code\u003e can be translated into YAML files with the use of \u003ccode\u003egcloud beta app migrate-config\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]