本页面上的部分或全部信息可能不适用于 Trusted Cloud by S3NS。
虚拟机租用简介
虚拟机 (VM) 实例的租用指示虚拟机是否与其他 Trusted Cloud 项目中的虚拟机共享其 Compute Engine 服务器。如果某虚拟机与其他Trusted Cloud 项目中的虚拟机共享其 Compute Engine 服务器,则该虚拟机是一个多租户虚拟机。如果虚拟机未与其他项目中的虚拟机共享其 Compute Engine 服务器,则为单租户虚拟机。
默认情况下,虚拟机为多租户虚拟机。当您创建虚拟机后,Compute Engine 会将其放在多租户服务器上。Compute Engine 允许其他Trusted Cloud 项目中的用户在该服务器上创建虚拟机。
单租户租用适合需要 Compute Engine 服务器的独占访问权限的工作负载。通过单租户租用,您可以拥有单租户节点的独占访问权限;单租户节点是一台专门用于仅托管您的Trusted Cloud 项目的虚拟机的 Compute Engine 服务器。
工作负载注意事项
对于典型工作负载,请创建多租户虚拟机。但是,如果您的工作负载具有任何以下特征,请考虑使用单租户节点:
- 具有特定计算性能要求的游戏工作负载。
- 具有安全和合规性要求的财务或医疗保健工作负载。
- 具有许可要求的 Windows 工作负载。
- 机器学习、数据处理或图像渲染工作负载。对于这些工作负载,请考虑预留 GPU。
- 需要增加每秒输入/输出操作 (IOPS) 并缩短延迟时间的工作负载,或者以临时存储空间的形式缓存、处理空间或低价值数据的工作负载。对于这些工作负载,请考虑预留本地 SSD。
如需详细了解可能从单独租用受益的工作负载,请参阅单租户节点的工作负载注意事项。
维护事件注意事项
对于多租户服务器上的维护事件,Compute Engine 会将虚拟机实时迁移到同一可用区中的另一个服务器。
对于单租户节点上的维护事件,Compute Engine 会根据您在单租户节点组上配置维护政策的方式迁移虚拟机。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-19。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[[["Virtual machines (VMs) can be either multi-tenant, sharing a server with other Google Cloud projects' VMs, or sole-tenant, having exclusive use of a server."],["Multi-tenant VMs are the default, suitable for typical workloads, and their pricing is based on the machine type, while sole-tenant VMs are more expensive as the entire physical server is reserved."],["Sole-tenancy is recommended for workloads with specific performance, security, compliance, or licensing needs, such as gaming, finance, healthcare, Windows, machine learning, and workloads requiring increased input/output operations per second (IOPS)."],["Maintenance events on multi-tenant servers result in live migration of VMs, while sole-tenant server maintenance depends on the configured maintenance policy."],["Users pay based on machine type for Multi-tenant VMs, and for sole-tenant nodes it is based on the node type, which includes a premium because you are reserving the entire physical server."]]],[]]