View a markdown version of this page

在具有默认租赁的 VPC 中启动专用实例 - Amazon Elastic Compute Cloud

在具有默认租赁的 VPC 中启动专用实例

当您创建 VPC 时,您可以选择指定它的实例租期。如果在实例租赁为 dedicated 的 VPC 中启动实例,则该实例将作为专用实例在专用硬件上运行。

有关启动租期为 host 的实例的更多信息,请参阅在 Amazon EC2 专属主机上启动 Amazon EC2 实例。

有关 VPC 租赁选项的更多信息,请参阅《Amazon VPC 用户指南》中的创建 VPC。

要求
Console
在默认租赁 VPC 中启动专用实例
  1. 通过以下网址打开 Amazon EC2 控制台:https://console.aws.amazon.com/ec2/。

  2. 在导航窗格中,依次选择 Instances(实例)、Launch instance(启动实例)。

  3. 在 Application and OS Images(应用程序和操作系统镜像)部分中,请从列表中选择一个 AMI。

  4. 在 Instance type(实例类型)部分中,选择要启动的实例类型。

  5. 在 Key pair(密钥对)部分中,选择要与实例关联的密钥对。

  6. 在 Advanced details(高级详细信息)部分中,对于 Tenancy(租赁),选择 Dedicated(专属)。

  7. 根据需要配置其他实例选项。有关更多信息,请参阅 Amazon EC2 实例配置参数参考。

  8. 选择启动实例。

AWS CLI
在启动过程中设置实例的租赁选项

使用 run-instances 命令并包含 Tenancy 及 --placement 选项。

--placement Tenancy=dedicated
PowerShell
在启动过程中设置实例的租赁选项

将 New-EC2Instance cmdlet 与 -Placement_Tenancy 参数结合使用。

-Placement_Tenancy dedicated