Note
Support for LoginNodes
is added in AWS ParallelCluster version 3.7.0.
(Optional) Specifies the configuration for the login nodes pool.
LoginNodes:
Pools:
- Name: string
Count: integer
InstanceType: string
GracetimePeriod: integer
Image:
CustomAmi: string
Ssh:
KeyName: string
AllowedIps: string
Networking:
SubnetIds:
- string
SecurityGroups:
- string
AdditionalSecurityGroups:
- string
Dcv:
Enabled: boolean
Port: integer
AllowedIps: string
CustomActions:
OnNodeStart:
Sequence:
- Script: string
Args:
- string
Script: string
Args:
- string
OnNodeConfigured:
Sequence:
- Script: string
Args:
- string
Script: string
Args:
- string
OnNodeUpdated:
Sequence:
- Script: string
Args:
- string
Script: string
Args:
- string
Iam:
InstanceRole: string
InstanceProfile: string
AdditionalIamPolicies:
- Policy: string
LoginNodes
properties
Pools
properties
Defines groups of login nodes that have the same resource configuration. Starting with AWS ParallelCluster 3.11.0 up to 10 pools can be specified.
Pools:
- Name: string
Count: integer
InstanceType: string
GracetimePeriod: integer
Image:
CustomAmi: string
Ssh:
KeyName: string
AllowedIps: string
Networking:
SubnetIds:
- string
SecurityGroups:
- string
AdditionalSecurityGroups:
- string
Dcv:
Enabled: boolean
Port: integer
AllowedIps: string
CustomActions:
OnNodeStart:
Sequence:
- Script: string
Args:
- string
Script: string
Args:
- string
OnNodeConfigured:
Sequence:
- Script: string
Args:
- string
Script: string
Args:
- string
OnNodeUpdated:
Sequence:
- Script: string
Args:
- string
Script: string
Args:
- string
Iam:
InstanceRole: string
InstanceProfile: string
AdditionalIamPolicies:
- Policy: string
Name
(RequiredString
)-
Specifies the name of the
LoginNodes
pool. This is used to tag theLoginNodes
resources.Update policy: If this setting is changed, the update is not allowed.
Note
Starting with AWS ParallelCluster version 3.11.0, the update policy is: The login nodes in the pool must be stopped for this setting to be changed for an update.
Count
(RequiredInteger
)-
Specifies the number of login nodes to keep active.
Update policy: This setting can be changed during an update.
InstanceType
(RequiredString
)-
Specifies the Amazon EC2 instance type that's used for the login node. The architecture of the instance type must be the same as the architecture used for Slurm
InstanceType
setting.Update policy: This setting can be changed if the login nodes pool is stopped.
Note
Starting with AWS ParallelCluster version 3.11.0, the update policy is: The login nodes in the pool must be stopped for this setting to be changed for an update.
GracetimePeriod
(OptionalInteger
)-
Specifies the minimum amount of time in minutes that elapse between the notification to the logged in user that a login node is to be decommissioned and the actual stop event. Valid values for
GracetimePeriod
are from 3 up to 120 minutes. The default is 10 minutes.Note
The triggering event involves interactions between multiple AWS services. Sometimes, network latency and propagation of the information might take some time so the grace time period may take longer than expected due to internal delays in AWS services.
Update policy: This setting can be changed during an update.
Image
(Optional)-
Defines the image configuration for the login nodes.
Image: CustomAmi:
String
CustomAmi
(OptionalString
)-
Specifies the custom AMI used to provision the login nodes. If not specified, the value defaults to the one specified in the HeadNode section.
Update policy: If this setting is changed, the update is not allowed.
Ssh
(Optional)-
Defines the
ssh
configuration for the login nodes.Ssh: KeyName:
string
AllowedIps:string
Note
Starting with AWS ParallelCluster version 3.11.0, the update policy is: The login nodes in the pool must be stopped for this setting to be changed for an update.
KeyName
(OptionalString
)-
Specifies the
ssh
key used to log in into the login nodes. If not specified, the value defaults to the one specified in the HeadNode section. AllowedIps
(OptionalString
)-
Specifies the CIDR-formatted IP range or a prefix list id for SSH connections to login nodes in the pool. The default is the AllowedIps defined in the head node configuration, or
0.0.0.0/0
if not specified.HeadNode section.Note
Support for AllowedIps for login nodes is added in AWS ParallelCluster version 3.11.0.
Networking
(Required)-
Networking: SubnetIds: -
string
SecurityGroups: -string
AdditionalSecurityGroups: -string
Note
Starting with AWS ParallelCluster version 3.11.0, the update policy is: The login nodes in the pool must be stopped for this setting to be changed for an update.
SubnetIds
(Required[String]
)-
The ID of existing subnet that you provision the login nodes pool in. You can only define one subnet.
Update policy: If this setting is changed, the update is not allowed.
SecurityGroups
(Optional[String]
)-
A list of security groups to use for the login nodes pool. If no security groups are specified, AWS ParallelCluster creates security groups for you.
Update policy: If this setting is changed, the update is not allowed.
AdditionalSecurityGroups
(Optional[String]
)-
A list of additional security groups to use for the login nodes pool.
Update policy: If this setting is changed, the update is not allowed.
Dcv
(Optional)-
Defines configuration settings for the NICE DCV server running on the login nodes. For more information, see Connect to the head and login nodes through Amazon DCV
Dcv: Enabled:
boolean
Port:integer
AllowedIps:string
Important
By default, the NICE DCV port setup by AWS ParallelCluster is open to all IPv4 addresses. You can connect to a NICE DCV port only if you have the URL for the NICE DCV session and connect to the NICE DCV session within 30 seconds of when the URL is returned from pcluster dcv-connect. Use the
AllowedIps
setting to further restrict access to the NICE DCV port with a CIDR-formatted IP range and use the Port setting to set a nonstandard port.Update policy: If this setting is changed, the update is not allowed.
Note
Support for DCV on login nodes is added in AWS ParallelCluster version 3.11.0.
Enabled
(RequiredBoolean
)-
Specifies whether NICE DCV is enabled on the login nodes in the pool. The default value is
false
.Update policy: If this setting is changed, the update is not allowed.
Note
NICE DCV automatically generates a self-signed certificate that's used to secure traffic between the NICE DCV client and NICE DCV server running on the login node. To configure your own certificate, see Amazon DCV HTTPS certificate.
Port
(OptionalInteger
)-
Specifies the port for NICE DCV. The default value is
8443
.Update policy: If this setting is changed, the update is not allowed.
AllowedIps
(OptionalString
)-
Specifies the CIDR-formatted IP range for connections to NICE DCV. This setting is used only when AWS ParallelCluster creates the security group. The default value is
0.0.0.0/0
, which allows access from any Internet address.Update policy: If this setting is changed, the update is not allowed.
CustomActions
(Optional)-
Specifies the custom scripts to run on the login nodes.
CustomActions: OnNodeStart: Sequence: - Script:
string
Args: -string
Script:string
Args: -string
OnNodeConfigured: Sequence: - Script:string
Args: -string
Script:string
Args: -string
OnNodeUpdated: Sequence: - Script:string
Args: -string
Script:string
Args: -string
Note
Support for custom actions on login nodes is added in AWS ParallelCluster version 3.11.0.
OnNodeStart
(Optional)-
Specifies single script or a sequence of scripts to run on the login nodes before any node deployment bootstrap action is started. For more information, see Custom bootstrap actions.
Sequence
(Optional)-
List of scripts to run. AWS ParallelCluster runs the scripts in the same order as they are listed in the configuration file, starting with the first.
Script
(RequiredString
)-
Specifies the file to use. The file path can start with
https://
ors3://
. Args
(Optional[String]
)-
Specifies single script or a sequence of scripts to run on the login nodes before any node deployment bootstrap action is started. For more information, see Custom bootstrap actions.
Update policy: If this setting is changed, the update is not allowed.
Script
(RequiredString
)-
Specifies the file to use for a single script. The file path can start with
https://
ors3://
. Args
(Optional[String]
)-
List of arguments to pass to the single script.
OnNodeConfigured
(Optional)-
Specifies single script or a sequence of scripts to run on the login nodes before any node deployment bootstrap action is started. For more information, see Custom bootstrap actions.
Sequence
(Optional)-
List of scripts to run. AWS ParallelCluster runs the scripts in the same order as they are listed in the configuration file, starting with the first.
Script
(RequiredString
)-
Specifies the file to use. The file path can start with
https://
ors3://
. Args
(Optional[String]
)-
List of arguments to pass to the script.
Update policy: If this setting is changed, the update is not allowed.
Script
(RequiredString
)-
Specifies the file to use for a single script. The file path can start with
https://
ors3://
. Args
(Optional[String]
)-
List of arguments to pass to the single script.
Update policy: If this setting is changed, the update is not allowed.
OnNodeUpdated
(Optional)-
Specifies single script or a sequence of scripts to run on the login nodes before any node deployment bootstrap action is started. For more information, see Custom bootstrap actions.
Sequence
(Optional)-
List of scripts to run. AWS ParallelCluster runs the scripts in the same order as they are listed in the configuration file, starting with the first.
Script
(RequiredString
)-
Specifies the file to use. The file path can start with
https://
ors3://
. Args
(Optional[String]
)-
List of arguments to pass to the script.
Script
(RequiredString
)-
Specifies the file to use for a single script. The file path can start with
https://
ors3://
. Args
(Optional[String]
)-
List of arguments to pass to the single script.
Update policy: If this setting is changed, the update is not allowed.
Note
AWS ParallelCluster doesn't support including both a single script and
Sequence
for the same custom action.
Iam
(Optional)-
Specifies either an instance role or an instance profile to use on the login nodes to override the default instance role or instance profile for the cluster.
Iam: InstanceRole:
string
InstanceProfile:string
AdditionalIamPolicies: - Policy:string
Note
Starting with AWS ParallelCluster version 3.11.0, the update policy is: The login nodes in the pool must be stopped for this setting to be changed for an update.
InstanceProfile
(OptionalString
)-
Specifies an instance profile to override the default login node instance profile. You can't specify both
InstanceProfile
andInstanceRole
. The format isarn:Partition:iam::Account:instance-profile/
. If this is specified, theInstanceProfileName
InstanceRole
andAdditionalIamPolicies
settings can't be specified.Update policy: If this setting is changed, the update is not allowed.
InstanceRole
(OptionalString
)-
Specifies an instance role to override the default login node instance role. You can't specify both
InstanceProfile
andInstanceRole
. The format isarn:Partition:iam::Account:role/RoleName
. If this is specified, theS3Access
andAdditionalIamPolicies
settings can't be specified. If this is specified, theInstanceProfile
andAdditionalIamPolicies
settings can't be specified.Update policy: If this setting is changed, the update is not allowed.
AdditionalIamPolicies
(Optional)-
AdditionalIamPolicies: - Policy:
string
An IAM policy Amazon Resource Name (ARN).
Specifies a list of Amazon Resource Names (ARNs) of IAM policies for Amazon EC2. This list is attached to the root role used for the login node in addition to the permissions that are required by AWS ParallelCluster.
An IAM policy name and its ARN are different. Names can't be used.
If this is specified, the
InstanceProfile
andInstanceRole
settings can't be specified. We recommend that you useAdditionalIamPolicies
becauseAdditionalIamPolicies
are added to the permissions that AWS ParallelCluster requires, and theInstanceRole
must include all required permissions. The required permissions often change from release to release as features are added.There's no default value.
Update policy: If this setting is changed, the update is not allowed.
Policy
(Required[String]
)-
Update policy: If this setting is changed, the update is not allowed.