

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

# AWS PCS 클러스터에 대한 VPC 생성
<a name="working-with_networking_create-vpc"></a>

 AWS 병렬 컴퓨팅 서비스(AWS PCS) 내에서 클러스터에 대한 Amazon Virtual Private Cloud(VPC)를 생성할 수 있습니다.

Amazon VPC를 사용하여 정의한 가상 네트워크로 VPC 리소스를 시작합니다. 이 가상 네트워크는 사용자의 자체 데이터 센터에서 운영하는 기존 네트워크와 매우 유사합니다. 그러나 Amazon Web Services Services의 확장 가능한 인프라를 사용하면 얻을 수 있는 이점이 있습니다. 프로덕션 VPC 클러스터를 배포하기 전에 Amazon VPC 서비스를 철저히 이해하는 것이 좋습니다. 자세한 내용은 [Amazon VPC란 무엇입니까?](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html)를 참조하세요. - 작성자 시각적 객체 모드.*Amazon VPC 사용 설명서*.

PCS 클러스터, 노드 및 지원 리소스(예: 파일 시스템 및 디렉터리 서비스)는 Amazon VPC 내에 배포됩니다. 기존 Amazon VPC를 PCS와 함께 사용하려면 [AWS PCS VPC 및 서브넷 요구 사항 및 고려 사항](working-with_networking_vpc-requirements.md)에 설명된 요구 사항을 충족해야 합니다. 이 주제에서는 AWS제공 CloudFormation 템플릿을 사용하여 PCS 요구 사항을 충족하는 VPC를 생성하는 방법을 설명합니다. 템플릿을 배포했다면 템플릿에서 생성된 리소스를 보면서 생성된 리소스와 해당 리소스의 구성을 정확히 알 수 있습니다.

## 사전 조건
<a name="working-with_networking_create-vpc_prereq"></a>

PCS용 Amazon VPC를 생성하려면 Amazon VPC 리소스를 생성하는 데 필요한 IAM 권한이 있어야 합니다. 이러한 리소스는 VPC, 서브넷, 보안 그룹, 라우팅 테이블 및 경로, 인터넷 및 NAT 게이트웨이입니다. 자세한 내용은 Amazon [VPC 사용 설명서의 퍼블릭 서브넷이 있는](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-policy-examples.html#vpc-public-subnet-iam) VPC 생성을 참조하세요. ** Amazon EC2의 전체 목록을 검토하려면 *서비스 승인* 참조의 [ Amazon EC2에 사용되는 작업, 리소스 및 조건 키를](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html) 참조하세요.

## Amazon VPC 생성
<a name="working-with_networking_create-vpc_create"></a>

복사하여 PCS를 AWS 리전 사용할에 적합한 URL을 붙여 넣어 VPC를 생성합니다. CloudFormation 템플릿을 다운로드하여 [CloudFormation 콘솔](https://console.aws.amazon.com/cloudformation)에 직접 업로드할 수도 있습니다.
+ **미국 동부(버지니아 북부)**(us-east-1)

  ```
  https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **미국 동부(오하이오)**(us-east-2)

  ```
  https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **미국 서부(오레곤)**(us-west-2)

  ```
  https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **아시아 태평양(뭄바이)**(ap-south-1)

  ```
  https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **아시아 태평양(싱가포르)**(ap-southeast-1)

  ```
  https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **아시아 태평양(시드니)**(ap-southeast-2)

  ```
  https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **아시아 태평양(도쿄)**(ap-northeast-1)

  ```
  https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **유럽(프랑크푸르트)(eu-central-1)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **유럽(아일랜드)(eu-west-1)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **유럽(런던)(eu-west-2)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **유럽(파리)(eu-west-3)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **유럽(밀라노)(eu-south-1)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=eu-south-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **유럽(스페인)(eu-south-2)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=eu-south-2#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **유럽(스톡홀름)(eu-north-1)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **AWS GovCloud(미국 동부)(us-gov-east-1)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=us-gov-east-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **AWS GovCloud(미국 서부)(us-gov-west-1)**

  ```
  https://console.aws.amazon.com/cloudformation/home?region=us-gov-west-1#/stacks/create/review?stackName=hpc-networking&templateURL=https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```
+ **템플릿만**

  ```
  https://aws-hpc-recipes.s3.us-east-1.amazonaws.com/main/recipes/net/hpc_large_scale/assets/main.yaml
  ```

**PCS용 Amazon VPC를 생성하려면**

1. [CloudFormation 콘솔](https://console.aws.amazon.com/cloudformation)에서 템플릿을 엽니다.
**참고**  
 템플릿에 미리 채워져 있으므로 기본값으로 두기만 하면 됩니다.

1. **스택 이름 제공**에서 **스택 이름을** 입력하고를 입력합니다`hpc-networking`.

1. **파라미터**에 다음 세부 정보를 입력합니다.

   1. **VPC**에서 **CidrBlock**을 입력하고 `10.3.0.0/16`

   1. **서브넷 A에서**:

      1. 그런 다음 **CidrPublicSubnetA**를 입력하고 `10.3.0.0/20`

      1. 그런 다음 **CidrPrivateSubnetA**를 입력하고 `10.3.128.0/20`

   1. **서브넷 B에서**:

      1. 그런 다음 **CidrPublicSubnetB**를 입력하고 `10.3.16.0/20`

      1. 그런 다음 **CidrPrivateSubnetA**를 입력하고 ` 10.3.144.0/20`

   1. **서브넷 C에서**:

      1. **ProvisionSubnetsC**에서를 선택합니다`True`.
**참고**  
가용 영역이 3개 미만인 리전에서 VPC를 생성하는 경우 로 설정하면이 옵션이 무시됩니다`True`.

      1. 그런 다음 **CidrPublicSubnetB**를 입력하고 `10.3.32.0/20`

      1. 그런 다음 **CidrPrivateSubnetA**를 입력하고 `10.3.160.0/20`

1. **기능**에서 **AWS CloudFormation이 IAM 리소스를 생성할 수 있음을 승인합니다** 확인란을 선택합니다.

 CloudFormation 스택의 상태를 모니터링합니다. `CREATE_COMPLETE`에 도달하면 VPC 리소스를 사용할 준비가 된 것입니다.

**참고**  
 CloudFormation 템플릿이 생성한 모든 리소스를 보려면 [CloudFormation 콘솔](https://console.aws.amazon.com/cloudformation)을 엽니다. `hpc-networking` 스택을 선택한 다음 **리소스(Resources)** 탭을 선택합니다.