SOCA Integration

Scale Out Computing on AWS (SOCA) is an AWS solution that was the basis for the Research and Engineering Studion (RES) service. Unless you are already a SOCA user, it is highly recommended that you use RES, which is a fully supported AWS service.

Integration with SOCA is straightforward.

Set the following parameters in your config file.

Parameter Description Value
VpcId VPC id for the SOCA cluster vpc-xxxxxx
slurm/SlurmCtl/AdditionalSecurityGroups Security group ids that give desktop instances access to the head node and that give the head node access to VPC resources such as file systems.
slurm/InstanceConfig/AdditionalSecurityGroups Security group ids that give desktop instances access to the compute nodes and that give compute nodes access to VPC resources such as file systems.
ExtraMounts Add the mount parameters for the /apps and /data directories. This is required for access to the home directory.

Deploy your slurm cluster.

Connect to the SOCA Scheduler instance and follow the instructions to Create users_groups.json.

Connect to a remote desktop instance and follow the instructions in Configure submission hosts to use the cluster. If all users need to use the cluster then it is probably best to create a custom AMI that is configured with the configuration commands.

You are now ready to run jobs from your SOCA desktop.