Quick tip: Review the prerequisites before you run the lab
Use an Incognito or private browser window to run this lab. This prevents any conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
分配经济实惠的资源容量。各个项目会受到监控,过度使用资源会导致其所属的项目终止(可能包括您的项目),因此请务必仔细规划。这是监控团队分享的指南:如无特别指示,请为小型 Linux 虚拟机使用 e2-micro,为 Windows 或其他应用(例如 Kubernetes 节点)使用 e2-medium。
下文详细说明了您的每项任务,祝您好运!
任务 1. 创建存储桶
您需要创建一个名为 的存储桶来存储照片。
确保在 区域和 可用区中创建资源。
点击检查我的进度以验证是否完成了以下目标:
创建名为 的存储桶
任务 2. 创建 Pub/Sub 主题
创建名为 的 Pub/Sub 主题,供 Cloud Run 函数发送消息。
点击“检查我的进度”以验证是否完成了以下目标:
创建名为 的 Pub/Sub 主题
任务 3. 创建缩略图 Cloud Run 函数
创建一个 Cloud Run 函数 ,以便为添加到 存储桶中的图片创建缩略图。
确保 Cloud Run 函数使用 Cloud Run functions 环境(第 2 代)。
确保在 区域和 可用区中创建资源。
创建名为 的 Cloud Run 函数
注意:
每次在通过任务 1 创建的存储桶中创建对象时,都需要执行此 Cloud Run 函数。
在此过程中,Cloud Run 函数可能会请求权限以启用 API。
请按请求启用所有必要的 API。
…可帮助您充分利用 Google Cloud 技术。我们的课程会讲解各项技能与最佳实践,可帮助您迅速上手使用并继续学习更深入的知识。我们提供从基础到高级的全方位培训,并有点播、直播和虚拟三种方式选择,让您可以按照自己的日程安排学习时间。各项认证可以帮助您核实并证明您在 Google Cloud 技术方面的技能与专业知识。
上次更新手册的时间:2024 年 9 月 10 日
上次测试实验的时间:2024 年 9 月 10 日
版权所有 2025 Google LLC 保留所有权利。Google 和 Google 徽标是 Google LLC 的商标。其他所有公司名和产品名可能是其各自相关公司的商标。
Labs create a Google Cloud project and resources for a fixed time
Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
On the top left of your screen, click Start lab to begin
Use private browsing
Copy the provided Username and Password for the lab
Click Open console in private mode
Sign in to the Console
Sign in using your lab credentials. Using other credentials might cause errors or incur charges.
Accept the terms, and skip the recovery resource page
Don't click End lab unless you've finished the lab or want to restart it, as it will clear your work and remove the project
此内容目前不可用
一旦可用,我们会通过电子邮件告知您
太好了!
一旦可用,我们会通过电子邮件告知您
One lab at a time
Confirm to end all existing labs and start this one
Use private browsing to run the lab
Use an Incognito or private browser window to run this lab. This
prevents any conflicts between your personal account and the Student
account, which may cause extra charges incurred to your personal account.
此实验室挑战赛针对“在 Google Cloud 中执行基本的基础设施任务”技能徽章课程而设,旨在检验您从该课程的各个实验中学到的技能和知识。在尝试此挑战赛之前,您应该先熟悉各个实验的内容。