

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# CloudFormation 를 사용하여 샘플 AWS PCS 클러스터 생성
<a name="get-started-cfn-create"></a>

다음 절차에서는의 CloudFormation 템플릿을 사용하여 샘플 AWS PCS 클러스터를 AWS Management Console 생성합니다. 에 대한 자세한 내용은 [란 무엇입니까 CloudFormation?](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html)를 CloudFormation참조하십시오. *AWS CloudFormation 사용 설명서*의 . 의 AWS PCS 리소스 유형에 대한 자세한 내용은 *AWS CloudFormation 사용 설명서*의 [AWS PCS 리소스 유형 참조](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_PCS.html)를 CloudFormation참조하세요.

**샘플 클러스터를 생성하려면**

1.  AWS 리전 를 선택하여에서 클러스터를 생성합니다(링크는 템플릿이 있는 CloudFormation 콘솔을 엽니다).
   + [미국 동부(버지니아 북부)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)(us-east-1)
   + [미국 동부(오하이오)](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)(us-east-2)
   + [미국 서부(오레곤)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)(us-west-2)
   + [아시아 태평양(뭄바이)](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)(ap-south-1)
   + [아시아 태평양(싱가포르)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)(ap-southeast-1)
   + [아시아 태평양(시드니)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)(ap-southeast-2)
   + [아시아 태평양(도쿄)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)(ap-northeast-1)
   + [유럽(프랑크푸르트)(eu-central-1)](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)
   + [유럽(아일랜드)(eu-west-1)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)
   + [유럽(런던)(eu-west-2)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)
   + [유럽(파리)(eu-west-3)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)
   + [유럽(밀라노)(eu-south-1)](https://console.aws.amazon.com/cloudformation/home?region=eu-south-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)
   + [유럽(스페인)(eu-south-2)](https://console.aws.amazon.com/cloudformation/home?region=eu-south-2#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)
   + [유럽(스톡홀름)(eu-north-1)](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml&param_ClientIpCidr=0.0.0.0%2F0)
   + [AWS GovCloud(미국 동부)(us-gov-east-1)](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-east-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml)
   + [AWS GovCloud(미국 서부)(us-gov-west-1)](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-west-1#/stacks/create/review?stackName=get-started-cfn&templateURL=https://s3.amazonaws.com/aws-hpc-recipes/main/recipes/pcs/getting_started/assets/cluster.yaml)

1. **스택 이름 제공**에서 설명이 포함된 이름을 입력합니다. CloudFormation 스택의 이름입니다. 템플릿은이 값을 AWS PCS 클러스터의 이름으로 사용합니다.

1. **파라미터**에서:

   1. **SlurmVersion**에서 클러스터에서 사용할 Slurm 버전을 선택합니다.

   1. **NodeArchitecture**에서 **x86**\_64 호환 인스턴스를 사용하는 클러스터를 배포하려면 x86을 선택하고 Arm64 인스턴스를 사용하려면 **Graviton**을 선택합니다.

   1. **KeyName**에서 클러스터 로그인 노드에 액세스할 SSH 키 페어를 선택합니다. 선택한 키 페어에 대한 PEM 파일이 있는지 확인합니다.

   1. **ClientIpCidr**에 CIDR 형식의 IP 범위를 입력하여 로그인 노드에 대한 액세스를 제어합니다.
**주의**  
 의 기본값은 모든 IP 주소에서 액세스를 `0.0.0.0/0` 허용합니다.

   1. **HpcRecipesS3Bucket** 및 **HpcRecipesBranch** 값을 기본값으로 둡니다.

1. **기능 및 변환**에서:

   1. 확인란을 선택하여가 IAM 리소스를 생성함을 CloudFormation 확인합니다.

   1. 확인란을 선택하여가 사용자 지정 이름으로 IAM 리소스를 생성함을 CloudFormation 확인합니다.

   1. 확인란을 선택하여 새 스택`CAPABILITY_AUTO_EXPAND`을 확인합니다. 자세한 내용은 API 참조의 [CreateStack](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html#API_CreateStack_RequestParameters)을 참조하세요. *AWS CloudFormation * 

1. **스택 생성**을 선택합니다.

1. 스택의 상태를 모니터링합니다. 스택 상태가 이면 클러스터에 연결할 수 있습니다`CREATE_COMPLETE`.