App Engine 是全托管式无服务器平台,可用于大规模开发和托管 Web 应用。您可以从多种常用的语言、库和框架中进行选择来开发应用,然后让 App Engine 负责预配服务器并根据需求扩缩应用实例。了解详情。
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
在 App Engine 标准环境中创建 Python 3 应用
了解在 App Engine 标准环境中开发和部署 Python 3 Web 服务的基础知识。
培训
培训和教程
在 App Engine 柔性环境中创建 Java 应用
了解如何在 App Engine 柔性环境中创建和部署一个显示简短消息的应用。
培训
培训和教程
编写和响应 Pub/Sub 消息
了解如何在 App Engine 标准环境中,使用 Cloud 客户端库发送和接收 Pub/Sub 消息。
培训
培训和教程
使用 Datastore 模式 Firestore (Datastore)
在柔性环境中,使用 Cloud 客户端库在 Datastore 数据库中存储和检索数据。
培训
培训和教程
将 Cloud Storage 与 App Engine 搭配使用
在标准环境中,使用 Cloud 客户端库在 Cloud Storage 中存储和检索数据。
培训
培训和教程
App Engine 迁移
对应用进行现代化改造,以使用最新技术
代码示例
代码示例
Go 示例应用
包括适用于 App Engine 标准环境和柔性环境的 Go 示例。
代码示例
代码示例
Java 示例应用
包括适用于 App Engine 标准环境和柔性环境的 Java 示例。
代码示例
代码示例
Node.js 示例应用
包括适用于 App Engine 标准环境和柔性环境的 Node.js 示例。
代码示例
代码示例
PHP 示例应用
包括适用于 App Engine 标准环境和柔性环境的 PHP 示例。
代码示例
代码示例
Python 示例应用
包括适用于 App Engine 标准环境和 App Engine 柔性环境的 Python 示例。
代码示例
代码示例
Ruby 示例应用
包括适用于 App Engine 标准环境和 App Engine 柔性环境的 Ruby 示例。
代码示例
代码示例
.NET 示例应用
包括适用于 App Engine 柔性环境的 .NET 示例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-20。
[[["易于理解","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-20。"],[[["\u003cp\u003eApp Engine is a serverless platform that fully manages web application development and hosting, scaling based on demand.\u003c/p\u003e\n"],["\u003cp\u003eThe platform supports various popular languages, libraries, and frameworks for app development.\u003c/p\u003e\n"],["\u003cp\u003eThere are guides available for both the App Engine standard and flexible environments, as well as migration support.\u003c/p\u003e\n"],["\u003cp\u003eDocumentation provides reference material for standard and flexible environments, legacy services, REST, and RPC APIs.\u003c/p\u003e\n"],["\u003cp\u003eTraining and tutorials are available for several use cases such as building Python 3 and Java apps, Pub/Sub messages, Datastore, and Cloud Storage, along with migration guidance.\u003c/p\u003e\n"]]],[],null,["# App Engine documentation\n========================\n\n[Read product documentation](/appengine/docs/an-overview-of-app-engine)\nApp Engine is a fully managed, serverless platform for developing and\nhosting web applications at scale. You can choose from several popular\nlanguages, libraries, and frameworks to develop your apps, and then let\nApp Engine take care of provisioning servers and scaling your app\ninstances based on demand. [Learn more](/appengine/docs/an-overview-of-app-engine).\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 [App Engine standard environment](/appengine/docs/standard)\n\n-\n\n [App Engine flexible environment](/appengine/docs/flexible)\n\n-\n\n [App Engine migration center](/appengine/migration-center)\n\n-\n\n [Admin API](/appengine/docs/admin-api/overview)\n\nfind_in_page\n\n### Reference\n\n-\n\n [App Engine standard environment](/appengine/docs/standard/apis)\n\n-\n\n [App Engine flexible environment](/appengine/docs/flexible/apis)\n\n-\n\n [App Engine legacy bundled services](/appengine/docs/standard/services/overview)\n\n-\n\n [REST API](/appengine/docs/admin-api/reference/rest)\n\n-\n\n [RPC API](/appengine/docs/admin-api/reference/rpc)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/appengine/pricing)\n\n-\n\n\n Release notes:\n [standard environment](/appengine/docs/standard/go/release-notes)\n or\n [flexible environment](/appengine/docs/flexible/go/release-notes)\n\n\n-\n\n\n Runtime support schedule:\n [standard environment](/appengine/docs/standard/lifecycle/support-schedule)\n or\n [flexible environment](/appengine/docs/flexible/lifecycle/support-schedule)\n\n\n-\n\n\n Locations:\n [standard environment](/appengine/docs/standard/locations)\n or\n [flexible environment](/appengine/docs/flexible/locations)\n\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### Build a Python 3 app in the App Engine standard environment\n\n\nLearn the basics of developing, and deploying Python 3 web services in the App Engine standard environment.\n\n\n[Learn more](/appengine/docs/standard/python3/building-app) \nTraining \nTraining and tutorials\n\n### Create a Java app in the App Engine flexible environment\n\n\nLearn how to create and deploy an app that displays a short message in the App Engine flexible environment.\n\n\n[Learn more](/appengine/docs/flexible/java/create-app) \nTraining \nTraining and tutorials\n\n### Write and respond to Pub/Submessages\n\n\nUnderstand how to use Cloud Client Libraries to send and receive Pub/Sub messages in the App Engine standard environment.\n\n\n[Learn more](/appengine/docs/standard/writing-and-responding-to-pub-sub-messages) \nTraining \nTraining and tutorials\n\n### Use Firestore in Datastore mode (Datastore)\n\n\nStore and retrieve data in a Datastore database using Cloud Client Libraries in the flexible environment.\n\n\n[Learn more](/appengine/docs/flexible/using-firestore-in-datastore-mode) \nTraining \nTraining and tutorials\n\n### Use Cloud Storage with App Engine\n\n\nStore and retrieve data in Cloud Storage using Cloud Client Libraries in the standard environment.\n\n\n[Learn more](/appengine/docs/standard/using-cloud-storage) \nTraining \nTraining and tutorials\n\n### App Engine migration\n\n\nModernize your app to use the latest technologies\n\n\n[Learn more](https://codelabs.developers.google.com/?text=app%20engine%20migrate) \nCode sample \nCode Samples\n\n### Go sample apps\n\n\nIncludes Go samples for the App Engine standard environment and the flexible environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples) \nCode sample \nCode Samples\n\n### Java sample apps\n\n\nIncludes Java samples for the App Engine standard environment and the flexible environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/java-docs-samples) \nCode sample \nCode Samples\n\n### Node.js sample apps\n\n\nIncludes Node.js samples for the App Engine standard environment and the flexible environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/main/appengine) \nCode sample \nCode Samples\n\n### PHP sample apps\n\n\nIncludes PHP samples for the App Engine standard environment and the flexible environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/php-docs-samples/tree/main/appengine) \nCode sample \nCode Samples\n\n### Python sample apps\n\n\nIncludes Python samples for the App Engine standard environment and the App Engine flexible environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/python-docs-samples/tree/main/appengine) \nCode sample \nCode Samples\n\n### Ruby sample apps\n\n\nIncludes Ruby samples for the App Engine standard environment and the App Engine flexible environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/ruby-docs-samples/tree/main/appengine) \nCode sample \nCode Samples\n\n### .NET sample apps\n\n\nIncludes .NET samples for the App Engine flexible environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/dotnet-docs-samples/tree/main/appengine)\n\nRelated videos\n--------------"]]