Amazon ParallelCluster资源和标记 - Amazon ParallelCluster
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Amazon ParallelCluster资源和标记

Amazon ParallelCluster您可以使用创建标签来跟踪和管理您的Amazon ParallelCluster资源。您可以在群集配置文件tags部分中定义Amazon CloudFormation要创建并传播到所有群集资源的标签。您还可以使用Amazon ParallelCluster自动生成的标签来跟踪和管理您的资源。

创建集群时,集群及其资源将使用本节中定义的Amazon ParallelCluster和Amazon系统标签进行标记。

Amazon ParallelCluster将标签应用于集群实例、卷和资源。要识别集群堆栈,请Amazon CloudFormation将Amazon系统标签应用于集群实例。为了识别集群 EC2 启动模板,EC2 将系统标签应用于实例。您可以使用这些标签来查看和管理您的Amazon ParallelCluster资源。

您无法修改Amazon系统标签。为避免影响Amazon ParallelCluster功能,请勿修改Amazon ParallelCluster标签。

以下是Amazon ParallelCluster资源的Amazon系统标签示例。您无法修改它们。

"aws:cloudformation:stack-name"="parallelcluster-clustername-MasterServerSubstack-ABCD1234EFGH"

以下是应用于资源的Amazon ParallelCluster标签的示例。不要修改它们。

"aws-parallelcluster-node-type"="Master"
"Name"="Master"
"Version"="2.11.9"

您可以在的 EC2 部分查看这些标签Amazon Web Services Management Console。

查看标签
  1. 通过以下网址访问 EC2 控制台:https://console.aws.amazon.com/ec2/

  2. 要查看所有集群标签,请在导航窗格中选择标签

  3. 要按实例查看集群标签,请在导航窗格中选择实例

  4. 选择集群实例。

  5. 在实例详细信息中选择管理标签选项卡并查看标签。

  6. 在实例详细信息中选择存储选项卡。

  7. 选择卷 ID

  8. 中,选择音量。

  9. 在卷详细信息中选择标签选项卡并查看标签。

Amazon ParallelCluster头节点实例标签
标记值

ClusterName

clustername

Name

Master

Application

parallelcluster-clustername

aws:ec2launchtemplate:id

lt-1234567890abcdef0

aws:ec2launchtemplate:version

1

aws-parallelcluster-node-type

Master

aws:cloudformation:stack-name

parallelcluster-clustername-MasterServerSubstack-ABCD1234EFGH

aws:cloudformation:logical-id

MasterServer

aws:cloudformation:stack-id

arn:aws:cloudformation:region-id:ACCOUNTID:stack/parallelcluster-clustername-MasterServerSubstack-ABCD1234EFGH/1234abcd-12ab-12ab-12ab-1234567890abcdef0

Version

2.11.9

Amazon ParallelCluster头节点根卷标签
标记密钥 标记值

ClusterName

clustername

Application

parallelcluster-clustername

aws-parallelcluster-node-type

Master

Amazon ParallelCluster计算节点实例标签
标记值

ClusterName

clustername

aws-parallelcluster-node-type

Compute

aws:ec2launchtemplate:id

lt-1234567890abcdef0

aws:ec2launchtemplate:version

1

QueueName

queue-name

Version

2.11.9

Amazon ParallelCluster计算节点根卷标签
标记密钥 标记值

ClusterName

clustername

Application

parallelcluster-clustername

aws-parallelcluster-node-type

Compute

QueueName

queue-name

Version

2.11.9