Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add custom IAM policies and security groups for head and compute nodes #225

Closed
cartalla opened this issue Apr 29, 2024 · 0 comments · Fixed by #228
Closed

[FEATURE] Add custom IAM policies and security groups for head and compute nodes #225

cartalla opened this issue Apr 29, 2024 · 0 comments · Fixed by #228
Assignees

Comments

@cartalla
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Customer needs to access custom S3 bucket to configure compute nodes to run jobs and they need a custom IAM
policy to allow the access.

Describe the solution you'd like

Create config file option to pass through to IAM policies to ParallelCluster config for head and compute nodes.

ParallelCluster also allows additional security groups.
There is an outstanding issue about limits for submitter security groups.
I think that the solution is to create the security groups for submitter access outside of the cluster and pass
the additional security groups for the compute and head nodes in the config file.
The the security group relationships can be set up and then the security groups passed into the config.

@cartalla cartalla self-assigned this Apr 29, 2024
cartalla added a commit that referenced this issue May 8, 2024
…d and compute nodes

Add the following config options:
* slurm/ParallelClusterConfig/ClusterConfig
* slurm/SlurmCtl/AdditionalSecurityGroups
* slurm/SlurmCtl/AdditionalIamPolicies
* slurm/SlurmCtl/Imds/Secured
* slurm/InstanceConfig/AdditionalSecurityGroups
* slurm/InstanceConfig/AdditionalIamPolicies

Added documentation for all config parameters.

Fix the slurm/ParallelClusterConfig/Dcv/Enabled option.
Change the option name from Enable to Enabled to match ParallelCluster.

Fix the setting of ParallelCluster HeadNode/Dcv/AllowedIps config
Was setting from non-existent slurm/ParallelClusterConfig/AllowedIps instead of slurm/ParallelClusterConfig/HeadNode/Dcv/AllowedIps.

Delete the following config option because it uses legacy cluster.
* slurm/EdfaSlurmClusterStackName

Resolves #225
cartalla added a commit that referenced this issue May 8, 2024
…d and compute nodes

Add the following config options:
* slurm/ParallelClusterConfig/ClusterConfig
* slurm/SlurmCtl/AdditionalSecurityGroups
* slurm/SlurmCtl/AdditionalIamPolicies
* slurm/SlurmCtl/Imds/Secured
* slurm/InstanceConfig/AdditionalSecurityGroups
* slurm/InstanceConfig/AdditionalIamPolicies

Added documentation for all config parameters.

Fix the slurm/ParallelClusterConfig/Dcv/Enabled option.
Change the option name from Enable to Enabled to match ParallelCluster.

Fix the setting of ParallelCluster HeadNode/Dcv/AllowedIps config
Was setting from non-existent slurm/ParallelClusterConfig/AllowedIps instead of slurm/ParallelClusterConfig/HeadNode/Dcv/AllowedIps.

Delete the following config option because it uses legacy cluster.
* slurm/EdfaSlurmClusterStackName

Resolves #225
cartalla added a commit that referenced this issue May 8, 2024
…d and compute nodes

Add the following config options:
* slurm/ParallelClusterConfig/ClusterConfig
* slurm/SlurmCtl/AdditionalSecurityGroups
* slurm/SlurmCtl/AdditionalIamPolicies
* slurm/SlurmCtl/Imds/Secured
* slurm/InstanceConfig/AdditionalSecurityGroups
* slurm/InstanceConfig/AdditionalIamPolicies

Added documentation for all config parameters.

Changed the StackName default from slurm-top to slurm-config.

Fix the slurm/ParallelClusterConfig/Dcv/Enabled option.
Change the option name from Enable to Enabled to match ParallelCluster.

Fix the setting of ParallelCluster HeadNode/Dcv/AllowedIps config
Was setting from non-existent slurm/ParallelClusterConfig/AllowedIps instead of slurm/ParallelClusterConfig/HeadNode/Dcv/AllowedIps.

Delete the following config option because it uses legacy cluster.
* slurm/EdfaSlurmClusterStackName

Resolves #225
cartalla added a commit that referenced this issue May 8, 2024
…d and compute nodes

Add the following config options:
* slurm/ParallelClusterConfig/ClusterConfig
* slurm/SlurmCtl/AdditionalSecurityGroups
* slurm/SlurmCtl/AdditionalIamPolicies
* slurm/SlurmCtl/Imds/Secured
* slurm/InstanceConfig/AdditionalSecurityGroups
* slurm/InstanceConfig/AdditionalIamPolicies

Added documentation for all config parameters.

Changed the StackName default from slurm-top to slurm-config.

Fix the slurm/ParallelClusterConfig/Dcv/Enabled option.
Change the option name from Enable to Enabled to match ParallelCluster.

Fix the setting of ParallelCluster HeadNode/Dcv/AllowedIps config
Was setting from non-existent slurm/ParallelClusterConfig/AllowedIps instead of slurm/ParallelClusterConfig/HeadNode/Dcv/AllowedIps.

Delete the following config option because it uses legacy cluster.
* slurm/EdfaSlurmClusterStackName

Resolves #225
cartalla added a commit that referenced this issue May 8, 2024
…d and compute nodes

Add the following config options:
* slurm/ParallelClusterConfig/ClusterConfig
* slurm/SlurmCtl/AdditionalSecurityGroups
* slurm/SlurmCtl/AdditionalIamPolicies
* slurm/SlurmCtl/Imds/Secured
* slurm/InstanceConfig/AdditionalSecurityGroups
* slurm/InstanceConfig/AdditionalIamPolicies

Added documentation for all config parameters.

Changed the StackName default from slurm-top to slurm-config.

Fix the slurm/ParallelClusterConfig/Dcv/Enabled option.
Change the option name from Enable to Enabled to match ParallelCluster.

Fix the setting of ParallelCluster HeadNode/Dcv/AllowedIps config
Was setting from non-existent slurm/ParallelClusterConfig/AllowedIps instead of slurm/ParallelClusterConfig/HeadNode/Dcv/AllowedIps.

Delete the following config option because it uses legacy cluster.
* slurm/EdfaSlurmClusterStackName

Resolves #225
cartalla added a commit that referenced this issue May 8, 2024
…d and compute nodes (#228)

Add the following config options:
* slurm/ParallelClusterConfig/ClusterConfig
* slurm/SlurmCtl/AdditionalSecurityGroups
* slurm/SlurmCtl/AdditionalIamPolicies
* slurm/SlurmCtl/Imds/Secured
* slurm/InstanceConfig/AdditionalSecurityGroups
* slurm/InstanceConfig/AdditionalIamPolicies

Added documentation for all config parameters.

Changed the StackName default from slurm-top to slurm-config.

Fix the slurm/ParallelClusterConfig/Dcv/Enabled option.
Change the option name from Enable to Enabled to match ParallelCluster.

Fix the setting of ParallelCluster HeadNode/Dcv/AllowedIps config
Was setting from non-existent slurm/ParallelClusterConfig/AllowedIps instead of slurm/ParallelClusterConfig/HeadNode/Dcv/AllowedIps.

Delete the following config option because it uses legacy cluster.
* slurm/EdfaSlurmClusterStackName

Resolves #225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant