Custom Amazon Machine Images (AMIs) for AWS PCS
AWS PCS is designed to work with Amazon Machine Images (AMI) that you bring to the service. These AMIs can have arbitrary software and configurations installed on them, so long as they have the AWS PCS agent and a compatible version of Slurm installed and configured correctly. You must use AWS-provided installers to install the AWS PCS software on your custom AMI. We recommend you use AWS-provided installers to install Slurm on your custom AMI but you can install Slurm on your own if you prefer (not recommended).
Note
If you want to try AWS PCS without building a custom AMI, you can use a sample AMI provided by AWS. For more information, see Using sample Amazon Machine Images (AMIs) with AWS PCS.
This tutorial helps you create an AMI that can be used with PCS compute node groups to power your HPC and AI/ML workloads.
Topics
- Step 1 – Launch a temporary instance
- Step 2 – Install the AWS PCS agent
- Step 3 – Install Slurm
- Step 4 – (Optional) Install additional drivers, libraries, and application software
- Step 5 – Create an AMI compatible with AWS PCS
- Step 6 – Use the custom AMI with an AWS PCS compute node group
- Step 7 – Terminate the temporary instance