

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 License Manager 中的主機資源群組中啟動執行個體
<a name="host-resource-group-launch"></a>

啟動執行個體時，您可以指定主機資源群組。例如，您可以使用下列 [run-instances](https://docs.aws.amazon.com/cli/latest/reference/ec2/run-instances.html) 命令。您必須將核心或通訊端型自我管理授權與 AMI 建立關聯。

```
aws ec2 run-instances --min-count 2 --max-count 2 \
--instance-type c5.2xlarge --image-id ami-0abcdef1234567890 \
--placement="Tenancy=host,HostResourceGroupArn=arn"
```

您也可以使用 Amazon EC2 主控台。如需詳細資訊，請參閱《*Amazon EC2 使用者指南*》中的[在主機資源群組中啟動執行個體](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#launching-hrg-instances)。