Creating a compute node group in AWS PCS
This topic provides an overview of available options and describes what to consider when you create a compute node group in AWS Parallel Computing Service (AWS PCS). If this is your first time creating a compute node group in AWS PCS, we recommend you follow the tutorial in Get started with AWS Parallel Computing Service. The tutorial can help you create a working HPC system without expanding into all the available options and system architectures that are possible.
Prerequisites
-
Sufficient service quotas to launch the desired number of EC2 instances in your AWS Region. You can use the AWS Management Console
to check and request increases to your service quotas. -
An existing VPC and subnet(s) that meet AWS PCS networking requirements. We recommend that you thoroughly understand these requirements before you deploy a cluster for production use. For more information, see AWS PCS VPC and subnet requirements and considerations. You can also use a CloudFormation template to create a VPC and subnets. AWS provides an HPC recipe for the CloudFormation template. For more information, see aws-hpc-recipes
on GitHub. -
An IAM instance profile with permissions to call the AWS PCS
RegisterComputeNodeGroupInstance
API action and access to any other AWS resources required for your node group instances. For more information, see IAM instance profiles for AWS Parallel Computing Service. -
A launch template for your node group instances. For more information, see Using Amazon EC2 launch templates with AWS PCS.
-
To create a compute node group that uses Amazon EC2 Spot instances, you must have the AWSServiceRoleForEC2Spot service-linked role in your AWS account. For more information, see Amazon EC2 Spot role for AWS PCS.
Create a compute node group in AWS PCS
You can create a compute node group using the AWS Management Console or the AWS CLI.