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
|
No longer supported. Use gcloud app versions describe
and curl
for each of the files listed. |
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: For Java 11 apps, you can deploy the source code to the Java 11 runtime
without building locally: To deploy a Java fatjar to the Java 11 runtime: 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
or gcloud 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