创建您的第一个机密虚拟机实例

本页将帮助您使用 Google Cloud 控制台设置第一个采用默认设置的机密虚拟机实例。如需了解所有配置选项,请参阅创建机密虚拟机实例


如需在 Google Cloud 控制台中直接遵循有关此任务的分步指导,请点击操作演示

操作演示


准备工作

  1. 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.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Google Cloud project.

  4. Enable the Compute Engine API.

    Enable the API

  5. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  6. Make sure that billing is enabled for your Google Cloud project.

  7. Enable the Compute Engine API.

    Enable the API

创建实例

如需创建机密虚拟机实例,请完成以下步骤。
  1. 在 Google Cloud 控制台中,前往虚拟机实例页面。

    转到虚拟机实例

  2. 在“虚拟机实例”页面上,点击创建实例

  3. 机密虚拟机服务部分中,点击启用

  4. 启用机密计算对话框中,查看启用该服务时更新的设置列表,然后点击启用

  5. 点击创建

点击创建后,系统会打开虚拟机实例页面。在此页面上,您可以查看新实例的状态和详细信息。当机密虚拟机实例的状态列中显示 绿色对勾标记 可用图标时,即表示该实例已准备就绪,可以使用。

清理

为避免因本页中使用的资源导致您的 Google Cloud 账号产生费用,请按照以下步骤操作。

  1. In the Google Cloud console, go to the VM instances page.

    Go to VM instances

  2. Select the checkbox for the instance that you want to delete.
  3. To delete the instance, click More actions, click Delete, and then follow the instructions.

后续步骤

了解用于创建机密虚拟机实例的所有选项。