Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅
中国的 Amazon Web Services 服务入门
(PDF)。
在具有默认租赁的 VPC 中启动专用实例
当您创建 VPC 时,您可以选择指定它的实例租期。如果在实例租赁为 dedicated
的 VPC 中启动实例,则该实例将作为专用实例在专用硬件上运行。
有关启动租期为 host
的实例的更多信息,请参阅在 Amazon EC2 专属主机上启动 Amazon EC2 实例。
有关 VPC 租赁选项的更多信息,请参阅《Amazon VPC 用户指南》中的创建 VPC。
- Console
-
在默认租赁 VPC 中启动专用实例
-
通过以下网址打开 Amazon EC2 控制台:https://console.aws.amazon.com/ec2/。
-
在导航窗格中,依次选择 Instances(实例)、Launch instance(启动实例)。
-
在 Application and OS Images(应用程序和操作系统镜像)部分中,请从列表中选择一个 AMI。
-
在 Instance type(实例类型)部分中,选择要启动的实例类型。
-
在 Key pair(密钥对)部分中,选择要与实例关联的密钥对。
-
在 Advanced details(高级详细信息)部分中,对于 Tenancy(租赁),选择 Dedicated(专属)。
根据需要配置其他实例选项。有关更多信息,请参阅 Amazon EC2 实例配置参数参考。
-
选择启动实例。
- Amazon CLI
-
在启动过程中设置实例的租赁选项
使用 run-instances 命令并包含 Tenancy
及 --placement
选项。
--placement Tenancy=dedicated
- PowerShell
-
在启动过程中设置实例的租赁选项
将 New-EC2Instance cmdlet 与 -Placement_Tenancy
参数结合使用。
-Placement_Tenancy dedicated