如需在 App Engine 上部署应用,您必须创建 Google Cloud 项目,该项目是一个用于存放 App Engine 应用资源及其他 Google Cloud 资源的顶层容器。
在本任务中,您将创建一个 Google Cloud 项目和一个 App Engine 应用来存储应用的设置、计算资源、凭据和元数据。
如果您已有启用了 App Engine 和 Cloud Build API 的 Google Cloud 项目,则继续编写 Web 服务。
创建 Google Cloud 项目
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
[[["易于理解","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-03-10。"],[[["A Google Cloud project is required to deploy an app on App Engine, serving as a container for your application resources."],["Creating an App Engine application involves selecting a region for your computing resources, which cannot be changed later."],["For new Node.js web services, Cloud Run is recommended as an alternative to App Engine deployment."],["If you already have a Google Cloud project set up with App Engine and the Cloud Build API, you can proceed directly to writing your web service."]]],[]]