App Engine Migration Center 文档
App Engine 迁移中心提供了迁移资源,可帮助您对应用进行现代化改造以使用最新技术。
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
Python:从 webapp2 迁移到 Flask
了解如何使用 webapp2 将 App Engine 应用迁移到 Flask Web 框架。
培训
培训和教程
Python:迁移到 Datastore 模式 Firestore (Datastore)
了解如何从 App Engine Datastore 迁移到 Datastore 模式的 Firestore (Datastore)。
培训
培训和教程
Python:使用 Docker 为 Cloud Run 容器化应用
了解如何使用 Docker 将 App Engine 应用迁移到 Cloud Run。
培训
培训和教程
Python:使用 buildpack 为 Cloud Run 容器化应用
了解如何使用 buildpack 将 App Engine 应用迁移到 Cloud Run。
培训
培训和教程
Java:使用 buildpack 为 Cloud Run 容器化应用
了解如何使用 buildpack 将 App Engine 应用迁移到 Cloud Run。
培训
培训和教程
Java:使用 Docker 为 Cloud Run 容器化应用
了解如何使用 Docker 将 App Engine 应用迁移到 Cloud Run。
培训
培训和教程
Java:使用 Jib 为 Cloud Run 容器化应用
了解如何使用 Jib 将 App Engine 应用迁移到 Cloud Run。
代码示例
代码示例
Python 示例应用
查找用于从 App Engine 旧版捆绑服务迁出的 Python 示例。
代码示例
代码示例
Java 示例应用
查找用于从 App Engine 旧版捆绑服务迁出的 Java 示例。
代码示例
代码示例
Nebulous 示例应用
查找用于在 App Engine、Cloud Run functions 和 Cloud Run 上运行相同应用的 Python 和 Node.js 示例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eThe App Engine Migration Center offers resources to help users update their applications to use the newest technologies.\u003c/p\u003e\n"],["\u003cp\u003eGuides are available for migrating from App Engine legacy services, including Java pull queues to Pub/Sub, Java push queues to Cloud Tasks, and Python App Identity to OpenID Connect tokens.\u003c/p\u003e\n"],["\u003cp\u003eUsers can find documentation resources for the App Engine standard and flexible environments, and learn to migrate from both to Cloud Run.\u003c/p\u003e\n"],["\u003cp\u003eTraining resources offer step-by-step guidance on various migration paths, including containerizing apps for Cloud Run using Docker or buildpacks for both Java and Python.\u003c/p\u003e\n"],["\u003cp\u003eCode samples are available for both Python and Java users to assist in migrating off of App Engine legacy bundled services.\u003c/p\u003e\n"]]],[],null,["# App Engine Migration Center documentation\n=========================================\n\n[Read product documentation](/appengine/migration-center/standard/migrate-to-second-gen/overview)\nThe App Engine Migration Center provides migration resources to help you modernize your app to use the latest\ntechnologies.\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Migrate off App Engine legacy bundled services](/appengine/migration-center/standard/services/migrating-services)\n\n-\n\n [Java: Migrate pull queues to Pub/Sub](/appengine/migration-center/standard/java/migrating-pull-queues)\n\n-\n\n [Java: Migrate push queues to Cloud Tasks](/appengine/migration-center/standard/java/migrating-push-queues)\n\n-\n\n [Python: Migrate App Identity to OpenID Connect tokens](/appengine/migration-center/standard/python/migrate-app-identity)\n\n-\n\n [Python: Migrate Blobstore to Cloud Storage](/appengine/migration-center/standard/python/migrate-to-cloud-storage)\n\n-\n\n [Migrate from the standard environment to Cloud Run](/appengine/migration-center/run/migrate-app-engine-standard-to-run)\n\n-\n\n [Migrate from the flexible environment to Cloud Run](/appengine/migration-center/run/migrate-app-engine-flexible-to-run)\n\ninfo\n\n### Resources\n\n-\n\n [App Engine standard environment documentation](/appengine/docs/standard)\n\n-\n\n [App Engine flexible environment documentation](/appengine/docs/flexible)\n\n-\n\n [App Engine legacy documentation](/appengine/docs)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Python: Migrate from webapp2 to Flask\n\n\nLearn how to migrate an App Engine app using webapp2 to the Flask web framework.\n\n\n[Learn more](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-1-flask) \nTraining \nTraining and tutorials\n\n### Python: Migrate to Firestore in Datastore mode (Datastore)\n\n\nLearn how to migrate from App Engine Datastore to Firestore in Datastore mode (Datastore).\n\n\n[Learn more](http://g.co/codelabs/pae-migrate-firestore) \nTraining \nTraining and tutorials\n\n### Python: Containerize your app for Cloud Run using Docker\n\n\nLearn how to migrate an App Engine app to Cloud Run using Docker.\n\n\n[Learn more](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-4-rundocker) \nTraining \nTraining and tutorials\n\n### Python: Containerize your app for Cloud Run using buildpacks\n\n\nLearn how to migrate an App Engine app to Cloud Run using buildpacks.\n\n\n[Learn more](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-5-runbldpks) \nTraining \nTraining and tutorials\n\n### Java: Containerize your app for Cloud Run using buildpacks\n\n\nLearn how to migrate an App Engine app to Cloud Run using buildpacks.\n\n\n[Learn more](https://codelabs.developers.google.com/cloud-gae-java-migrate-buildpacks) \nTraining \nTraining and tutorials\n\n### Java: Containerize your app for Cloud Run using Docker\n\n\nLearn how to migrate an App Engine app to Cloud Run using Docker.\n\n\n[Learn more](https://codelabs.developers.google.com/cloud-gae-java-migrate-docker) \nTraining \nTraining and tutorials\n\n### Java: Containerize your app for Cloud Run using Jib\n\n\nLearn how to migrate an App Engine app toCloud Run using Jib.\n\n\n[Learn more](https://codelabs.developers.google.com/cloud-gae-java-migrate-jib) \nCode sample \nCode Samples\n\n### Python sample apps\n\n\nFind Python samples for migrating off App Engine legacy bundled services.\n\n\n[Open GitHub\narrow_forward](https://github.com/googlecodelabs/migrate-python2-appengine) \nCode sample \nCode Samples\n\n### Java sample apps\n\n\nFind Java samples for migrating off App Engine legacy bundled services.\n\n\n[Open GitHub\narrow_forward](https://github.com/google/appengine-java-migration-samples) \nCode sample \nCode Samples\n\n### Nebulous sample apps\n\n\nFind Python and Node.js samples for running the same apps on App Engine, Cloud Run functions, and Cloud Run.\n\n\n[Open GitHub\narrow_forward](https://github.com/googlecodelabs/cloud-nebulous-serverless)\n\nRelated videos\n--------------"]]