Create an AWS Node Class
Create an AWS Node Class so that workload manager execution nodes can be deployed in the cloud. A Node Class provides the infrastructure for the workload to run on. It is an instance type which defines benchmarked hardware. A Node Class exists in an Environment and consists of instance type, OS image, security group id, tags, SSH-keys and cloud-init script.
- Navigate to the NavOps browser window.
- Go to Cloud, and then select Node Class.
- Click Add Node Class.
- Click Select in the required AWS Cloud Environment tile.
- For Name, enter a name for the Node Class.
- Select Low latency network to request nodes to run HPC workloads like MPI jobs. NavOps will enable Elastic Fabric Adapter (EFA) and deploy in a placement pool.
- Select Spot enabled to use spare compute capacity at discounted rates compared to On-Demand instances.
- Select HyperThreading to enable multithreaded parallel computations.
- Select Public ip enabled to connect to the deployed nodes from the internet. We recommend adding a public IP when you are developing a new configuration but would also recommend turning this off in production to protect access to your instance.
- Select Preemption detection if you selected Spot enabled. The inventory will be updated even if the instance is deleted.
- Click + to choose an Instance type based on the requirements of the Node Class. The Price (Dedicated or Fixed) and Spot Price are displayed for the available instance types. For MAX PRICE, specify your maximum bid price for the instance. If the Spot price falls below the specified maximum price, you will not be allocated instance types. Ensure the instance type is compatible with the image you have created, for example an Intel/AMD64 image will not be compatible with ARM64 instances.
- For OS Image, you can choose the default image for the Instance type or specify the the AMI ID of an image from the AWS console.
- For Security Group ID, you can choose the default Security Group ID for the Instance type or specify a Security Group ID from the AWS console.
- For Tags, add keypair values based on requirements. A node class inherits tags from the cloud environment and the cloud credentials.
-
Add SSH keys for any users who want to have access to
the deployed nodes:
The public keys are copied to each deployed node for secure connectivity.
- For Cloud init script, paste the startup script which will be run after a cloud node is created.
- Click Save to create the AWS Node Class.