

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

# Eine VPC für Ihren AWS PCS-Cluster erstellen
<a name="working-with_networking_create-vpc"></a>

Sie können innerhalb von AWS Parallel Computing Service (PCS) eine Amazon Virtual Private Cloud (Amazon AWS VPC) für Ihre Cluster erstellen.

Verwenden Sie Amazon VPC, um VPC-Ressourcen in einem von Ihnen definierten virtuellen Netzwerk zu starten. Dieses virtuelle Netzwerk ist einem herkömmlichen Netzwerk, das Sie in Ihrem eigenen Rechenzentrum betreiben, sehr ähnlich. Es bietet jedoch die Vorzüge, die mit der Nutzung der skalierbaren Infrastruktur von Amazon Web Services einhergehen. Wir empfehlen, dass Sie sich mit dem Amazon VPC-Service gründlich auskennen, bevor Sie VPC-Produktionscluster bereitstellen. Weitere Informationen finden Sie unter [Was ist Amazon VPC?](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) im visuellen Autorenmodus. *Amazon VPC-Benutzerhandbuch*.

Ein PCS-Cluster, Knoten und unterstützende Ressourcen (wie Dateisysteme und Verzeichnisdienste) werden in Ihrer Amazon VPC bereitgestellt. Wenn Sie eine bestehende Amazon VPC mit PCS verwenden möchten, muss sie die unter beschriebenen Anforderungen erfüllen. [AWS Anforderungen und Überlegungen zu PCS VPC und Subnetzen](working-with_networking_vpc-requirements.md) In diesem Thema wird beschrieben, wie Sie mithilfe einer AWS bereitgestellten CloudFormation Vorlage eine VPC erstellen, die die PCS-Anforderungen erfüllt. Sobald Sie eine Vorlage bereitgestellt haben, können Sie sich die mit der Vorlage erstellten Ressourcen ansehen, um genau zu erfahren, welche Ressourcen sie erstellt hat und wie diese Ressourcen konfiguriert sind.

## Voraussetzungen
<a name="working-with_networking_create-vpc_prereq"></a>

Um eine Amazon VPC für PCS zu erstellen, benötigen Sie die erforderlichen IAM-Berechtigungen, um Amazon VPC-Ressourcen zu erstellen. Bei diesen Ressourcen handelt es sich VPCs um Subnetze, Sicherheitsgruppen, Routing-Tabellen und Routen sowie Internet- und NAT-Gateways. Weitere Informationen finden Sie unter [Erstellen einer VPC mit einem öffentlichen Subnetz](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-policy-examples.html#vpc-public-subnet-iam) im *Amazon VPC-Benutzerhandbuch*. Die vollständige Liste für Amazon EC2 finden Sie unter [Aktionen, Ressourcen und Bedingungsschlüssel für Amazon EC2](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html) in der *Service Authorization* Reference.

## Erstellen Sie eine Amazon VPC
<a name="working-with_networking_create-vpc_create"></a>

Erstellen Sie eine VPC, indem Sie die entsprechende URL für den Ort, an AWS-Region dem Sie PCS verwenden möchten, kopieren und einfügen. [Sie können die CloudFormation Vorlage auch herunterladen und selbst auf die CloudFormation Konsole hochladen.](https://console.aws.amazon.com/cloudformation) 
+ **USA Ost (Nord-Virginia)** (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
  ```
+ **USA Ost (Ohio)** (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
  ```
+ **USA West (Oregon)** (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
  ```
+ **Asien-Pazifik (Mumbai)** (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
  ```
+ **Asien-Pazifik (Singapur)** (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
  ```
+ **Asien-Pazifik (Sydney)** (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
  ```
+ **Asien-Pazifik (Tokio)** (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
  ```
+ **Europa (Frankfurt) (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
  ```
+ **Europa (Irland) (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
  ```
+ **Europa (London) (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
  ```
+ **Europa (Paris) (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
  ```
+ **Europa (Mailand) (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
  ```
+ **Europa (Stockholm) (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-Ost) (-1) us-gov-east**

  ```
  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-West) (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
  ```
+ **Nur Vorlage**

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

**So erstellen Sie eine Amazon VPC für PCS**

1. Öffnen Sie die Vorlage in der [CloudFormation Konsole](https://console.aws.amazon.com/cloudformation).
**Anmerkung**  
 Diese sind in der Vorlage bereits ausgefüllt, sodass Sie sie einfach als Standardwerte beibehalten können. 

1. **Geben Sie unter Geben Sie einen Stacknamen** ein und dann **Stackname**. `hpc-networking`

1. Geben Sie unter **Parameter** die folgenden Details ein:

   1. Geben Sie dann unter **VPC **CidrBlock****ein `10.3.0.0/16`

   1. Unter **Subnetze A**:

      1. Geben Sie dann **CidrPublicSubnetA ein** `10.3.0.0/20`

      1. Dann **CidrPrivateSubnetA**, gib ein `10.3.128.0/20`

   1. Unter **Subnetze B**:

      1. Geben Sie dann **CidrPublicSubnetB** ein `10.3.16.0/20`

      1. Geben Sie dann **CidrPrivateSubnetA** ein ` 10.3.144.0/20`

   1. Unter **Subnetze C**:

      1. Wählen Sie für **ProvisionSubnetsC** die Option aus`True`.
**Anmerkung**  
Wenn Sie eine VPC in einer Region mit weniger als drei Availability Zones erstellen, wird diese Option ignoriert, wenn sie auf `True` gesetzt ist.

      1. Geben Sie dann **CidrPublicSubnetB** ein `10.3.32.0/20`

      1. Geben Sie dann **CidrPrivateSubnetA** ein `10.3.160.0/20`

1. Aktivieren Sie unter **Funktionen** das Kontrollkästchen **Ich bestätige, dass AWS CloudFormation möglicherweise IAM-Ressourcen erstellt**.

Überwachen Sie den Status des CloudFormation Stacks. Wenn es erreicht ist`CREATE_COMPLETE`, sind die VPC-Ressourcen für Sie einsatzbereit.

**Anmerkung**  
Um alle Ressourcen zu sehen, die mit der CloudFormation Vorlage erstellt wurden, öffnen Sie die [CloudFormation Konsole](https://console.aws.amazon.com/cloudformation). Wählen Sie das `hpc-networking`-Stack, und wählen Sie dann die Registerkarte **Ressourcen**.