创建您的第一个机密虚拟机实例
本页将帮助您使用 Google Cloud 控制台设置第一个采用默认设置的机密虚拟机实例。如需了解所有配置选项,请参阅创建机密虚拟机实例。
如需在 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.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Compute Engine API.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Compute Engine API.
创建实例
如需创建机密虚拟机实例,请完成以下步骤。在 Google Cloud 控制台中,前往虚拟机实例页面。
在“虚拟机实例”页面上,点击创建实例。
在机密虚拟机服务部分中,点击
启用 。在启用机密计算对话框中,查看启用该服务时更新的设置列表,然后点击启用。
点击
创建 。
点击创建后,系统会打开虚拟机实例页面。在此页面上,您可以查看新实例的状态和详细信息。当机密虚拟机实例的状态列中显示 可用图标时,即表示该实例已准备就绪,可以使用。
清理
为避免因本页中使用的资源导致您的 Google Cloud 账号产生费用,请按照以下步骤操作。
- In the Google Cloud console, go to the VM instances page.
- Select the checkbox for the instance that you want to delete.
- To delete the instance, click More actions, click Delete, and then follow the instructions.
后续步骤
了解用于创建机密虚拟机实例的所有选项。