Operating Systems - AWS ParallelCluster

Operating Systems

AWS ParallelCluster supports Amazon Linux 2, Amazon Linux 2023, CentOS 7, Ubuntu 22.04, Ubuntu 2004, Red Hat Enterprise Linux 8 (RHEL8), Rocky 8, Red Hat Enterprise Linux 9 (RHEL9), and Rocky 9. AWS ParallelCluster offers pre-built AMIs for select operating systems, for more details on AMI’s provided by AWS ParallelCluster refer to Image section.

Operating System Considerations

Ubuntu 22.04

Ubuntu 2204 requires more secure keys for ssh and does not support RSA keys by default. Please generate an ed25519 key and use that for cluster creation.

Ubuntu 2204 cannot be updated to the latest kernel because there is no Fsx client for that kernel.

RHEL 8

RedHat Enterprise Linux 8.7 (rhel8) is added starting in AWS ParallelCluster version 3.6.0. If you configure your cluster to use rhel8, the on-demand cost for any instance type is higher than when you configure your cluster to use other supported operation systems.

For more information about pricing, see On-Demand Pricing and How is Red Hat Enterprise Linux on Amazon Elastic Compute Cloud offered and priced?.

Rocky 8

AWS ParallelCluster 3.8.0 supports Rocky Linux 8, but pre-built Rocky Linux 8 AMIs (for x86 and ARM architectures) are not available. AWS ParallelCluster 3.8.0 supports creating clusters with Rocky Linux 8 using custom AMIs using the CustomAmi property. For more information about building custom AMIs, refer to AWS ParallelCluster AMI customization.

To build your custom AMI from a base Rocky Linux 8 AMI, you can consider subscribing to the Rocky Linux 8 AMIs available on the AWS Marketplace. Make sure to review the pricing and subscription costs for Rocky Linux 8 AMIs on the AWS Marketplace. Alternatively you can also use the offcial Rocky Linux 8 AMIsas your base AMI.

Centos7

Gdrcopy has removed Centos7 from their OS support matrix. This means that gdrcopy 2.3.1 is the latest version that supports this OS. You must pin the NVIDIA and gdrcopy versions for Centos7, because the latest NVIDIA open source driver versions ( OpenRM ie. 535.129.03+) are incompatible with this version of gdrcopy. From ParallelCluster 3.8.0 onward, our official Centos7 AMI’s will be released with gdrcopy 2.3.1 and NVIDIA driver 535.129.03.

Rocky9

AWS ParallelCluster 3.9.0 supports Rocky Linux 9, but pre-built Rocky Linux 9 AMIs (for x86 and ARM architectures) are not available. AWS ParallelCluster 3.9.0 supports creating clusters with Rocky Linux 9 using custom AMIs using the CustomAmi property. For more information about building custom AMIs, refer to AWS ParallelCluster AMI customization. To build your custom AMI from a base Rocky Linux 9 AMI, you can also use the offcial Rocky Linux 9 AMIs as your base AMI. Custom Rocky Linux 9 AMI build may fail if the base AMI does not have the latest kernel. To upgrade the kernel before building the AMI:

  • Launch an instance using a rocky9 AMI id from here: https://rockylinux.org/cloud-images/

  • ssh into the instance and run the following command:sudo yum -y update

  • Create an image from the instance to use as ParentImage