Prerequisites for the AWS PCS multi-cluster login node configuration script - AWS PCS

Prerequisites for the AWS PCS multi-cluster login node configuration script

System requirements

  • Linux OS with systemd support

  • Root privileges for system configuration

Required commands and packages

  • bash – Shell interpreter (version 4.0+)

  • curl – For AWS IMDS v2 metadata retrieval

  • jq – JSON processor for parsing AWS API responses

  • aws – AWS CLI v2 to run AWS PCS API actions and for Secrets Manager access

  • systemctlsystemd service management

  • find – File system search utility

  • grep – Text pattern matching

  • sed – Stream editor for text manipulation

  • sort – Text sorting utility

  • tail – Displays the last lines of a file

  • mkdir – Directory creation

  • chmod – Changes file permissions

  • chown – Changes file ownership

  • ldconfig – Dynamic linker configuration

AWS requirements

  • An AWS PCS cluster that runs Slurm version 25.05 or later

  • AWS credentials configured (through an IAM role, credentials file, or environment variables)

  • Permissions for:

    • pcs:GetCluster

    • secretsmanager:GetSecretValue (if you use an alternate secret)

System users and groups

  • The slurm user and group must exist on the system

Slurm installation

  • Slurm must be installed in the same location as AWS PCS Slurm installer packages:

    /opt/aws/pcs/scheduler/slurm-version