如需在 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.