Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Commit 94d4008

Browse files
author
Kari Stromsland
committed
Release 3.4.0 - 12/22/22-10:16am PST
1 parent 7a1d288 commit 94d4008

File tree

143 files changed

+1748
-1251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+1748
-1251
lines changed

doc_source/AdditionalPackages-v3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ IntelSoftware:
2121

2222
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
2323

24-
### `IntelSoftware` Properties<a name="AdditionalPackages-v3-IntelSoftware.properties"></a>
24+
### `IntelSoftware` properties<a name="AdditionalPackages-v3-IntelSoftware.properties"></a>
2525

2626
`IntelHpcPlatform` \(**Optional**, `Boolean`\)
2727
If `true`, indicates that the [End user license agreement](https://software.intel.com/en-us/articles/end-user-license-agreement) for Intel Parallel Studio is accepted\. This causes Intel Parallel Studio to be installed on the head node and shared with the compute nodes\. This adds several minutes to the time it takes the head node to bootstrap\. The `IntelHpcPlatform` setting is only supported on CentOS 7 \.

doc_source/Build-v3.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Build:
2828
Enabled: boolean
2929
```
3030

31-
## `Build` Properties<a name="Build-v3.properties"></a>
31+
## `Build` properties<a name="Build-v3.properties"></a>
3232

3333
`InstanceType` \(**Required**, `String`\)
3434
Specifies the instance type for the instance used to build the image\.
@@ -45,9 +45,9 @@ Specifies the list of security group IDs for the image\.
4545

4646
### `Imds`<a name="Build-v3-Imds"></a>
4747

48-
#### `Imds` Properties<a name="Build-v3-Imds.properties"></a>
48+
#### `Imds` properties<a name="Build-v3-Imds.properties"></a>
4949

50-
**\(Optional\)** Specifies the EC2 ImageBuilder build and test instance instance metadata service \(IMDS\) settings\.
50+
**\(Optional\)** Specifies the EC2 ImageBuilder build and test instance metadata service \(IMDS\) settings\.
5151

5252
```
5353
Imds:
@@ -65,7 +65,7 @@ Support for [`Imds`](#Build-v3-Imds) / [`ImdsSupport`](#yaml-build-image-Build-I
6565

6666
### `Iam`<a name="Build-v3-Iam"></a>
6767

68-
#### `Iam` Properties<a name="Build-v3-Iam.properties"></a>
68+
#### `Iam` properties<a name="Build-v3-Iam.properties"></a>
6969

7070
\(**Optional**\) Specifies the IAM resources for the image build\.
7171

@@ -103,7 +103,7 @@ The ARN of the IAM policy to use as permissions boundary for all roles created b
103103

104104
### `Components`<a name="Build-v3-Components"></a>
105105

106-
#### `Components` Properties<a name="Build-v3-Components.properties"></a>
106+
#### `Components` properties<a name="Build-v3-Components.properties"></a>
107107

108108
\(**Optional**\) Specifies EC2 ImageBuilder components to use during the AMI build process in addition to the ones provided by default by AWS ParallelCluster\. Such components can be used to customize the AMI build process\. For more information, see [AWS ParallelCluster AMI customization](custom-ami-v3.md)\.
109109

@@ -121,7 +121,7 @@ Specifies the value of the type\-value pair for the component\. When type is `ar
121121

122122
### `Tags`<a name="Build-v3-Tags"></a>
123123

124-
#### `Tags` Properties<a name="Build-v3-Tags.properties"></a>
124+
#### `Tags` properties<a name="Build-v3-Tags.properties"></a>
125125

126126
\(**Optional**\) Specifies the list of tags to be set in the resources used to build the AMI\.
127127

@@ -139,7 +139,7 @@ Defines the value of the tag\.
139139

140140
### `UpdateOsPackages`<a name="Build-v3-UpdateOsPackages"></a>
141141

142-
#### `UpdateOsPackages` Properties<a name="Build-v3-UpdateOsPackages.properties"></a>
142+
#### `UpdateOsPackages` properties<a name="Build-v3-UpdateOsPackages.properties"></a>
143143

144144
\(**Optional**\) Specifies whether the operating system is updated before installing AWS ParallelCluster software stack\.
145145

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# `DeploymentSettings` section<a name="DeploymentSettings-build-image-v3"></a>
2+
3+
**\(Optional\)** Specifies the deployment settings configuration\.
4+
5+
```
6+
DeploymentSettings:
7+
LambdaFunctionsVpcConfig:
8+
SecurityGroupIds
9+
- string
10+
SubnetIds
11+
- string
12+
```
13+
14+
## `DeploymentSettings` properties<a name="DeploymentSettings-build-image-v3.properties"></a>
15+
16+
### `LambdaFunctionsVpcConfig`<a name="DeploymentSettings-build-image-v3-LambdaFunctionsVpcConfig"></a>
17+
18+
**\(Optional\)** Specifies the AWS Lambda functions VPC configurations\. For more information, see [AWS Lambda VPC configuration in AWS ParallelCluster](lambda-vpc-v3.md)\.
19+
20+
```
21+
LambdaFunctionsVpcConfig:
22+
SecurityGroupIds
23+
- string
24+
SubnetIds
25+
- string
26+
```
27+
28+
#### `LambdaFunctionsVpcConfig properties`<a name="DeploymentSettings-build-image-v3-LambdaFunctionsVpcConfig.properties"></a>
29+
30+
`SecurityGroupIds` \(**Required**, `[String]`\)
31+
The list of Amazon VPC security group IDs that are attached to the Lambda functions\.
32+
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
33+
34+
`SubnetIds` \(**Required**, `[String]`\)
35+
The list of subnet IDs that are attached to the Lambda functions\.
36+
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
37+
38+
**Note**
39+
The subnets and security groups must be in the same VPC\.
40+
41+
**Note**
42+
`DeploymentSettings` is added starting with AWS ParallelCluster version 3\.4\.0\.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# `DeploymentSettings` section<a name="DeploymentSettings-cluster-v3"></a>
2+
3+
**\(Optional\)** Specifies the deployment settings configuration\.
4+
5+
```
6+
DeploymentSettings:
7+
LambdaFunctionsVpcConfig:
8+
SecurityGroupIds
9+
- string
10+
SubnetIds
11+
- string
12+
```
13+
14+
## `DeploymentSettings` properties<a name="DeploymentSettings-cluster-v3.properties"></a>
15+
16+
### `LambdaFunctionsVpcConfig`<a name="DeploymentSettings-cluster-v3-LambdaFunctionsVpcConfig"></a>
17+
18+
**\(Optional\)** Specifies the AWS Lambda functions VPC configurations\. For more information, see [AWS Lambda VPC configuration in AWS ParallelCluster](lambda-vpc-v3.md)\.
19+
20+
```
21+
LambdaFunctionsVpcConfig:
22+
SecurityGroupIds
23+
- string
24+
SubnetIds
25+
- string
26+
```
27+
28+
#### `LambdaFunctionsVpcConfig properties`<a name="DeploymentSettings-cluster-v3-LambdaFunctionsVpcConfig.properties"></a>
29+
30+
`SecurityGroupIds` \(**Required**, `[String]`\)
31+
The list of Amazon VPC security group IDs that are attached to the Lambda functions\.
32+
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
33+
34+
`SubnetIds` \(**Required**, `[String]`\)
35+
The list of subnet IDs that are attached to the Lambda functions\.
36+
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
37+
38+
**Note**
39+
The subnets and security groups must be in the same VPC\.
40+
41+
**Note**
42+
`DeploymentSettings` is added starting with AWS ParallelCluster version 3\.4\.0\.

doc_source/DirectoryService-v3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ DirectoryService:
2424

2525
[Update policy: The compute fleet must be stopped for this setting to be changed for an update.](using-pcluster-update-cluster-v3.md#update-policy-compute-fleet-v3)
2626

27-
## `DirectoryService` Properties<a name="DirectoryService-v3.properties"></a>
27+
## `DirectoryService` properties<a name="DirectoryService-v3.properties"></a>
2828

2929
**Note**
3030
If you plan to use AWS ParallelCluster in a single subnet with no internet access, see [AWS ParallelCluster in a single subnet with no internet access](network-configuration-v3.md#aws-parallelcluster-in-a-single-public-subnet-no-internet-v3) for additional requirements\.
@@ -55,7 +55,7 @@ Use LDAP over TLS/SSL \(LDAPS\) to avoid transmission of passwords and other sen
5555
`PasswordSecretArn` \(**Required**, `String`\)
5656
The Amazon Resource Name \(ARN\) of the AWS Secrets Manager secret that contains the `DomainReadOnlyUser` plaintext password\. The content of the secret corresponds to SSSD\-LDAP parameter that's called `ldap_default_authtok`\.
5757
The LDAP client uses the password to authenticate to the AD domain as a `DomainReadOnlyUser` when requesting identity information\.
58-
If the user has the permission to [https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DescribeSecret.html](https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DescribeSecret.html), `PasswordSecretArn` is validated\. `PasswordSecretArn` is valid if the specified secret exists\. If the user IAM policy doesn't include `DescribeSecret`, `PasswordSecretArn` isn't validated and a warning message is displayed\. For more information, see [Base user policy required to invoke AWS ParallelCluster features](iam-roles-in-parallelcluster-v3.md#iam-roles-in-parallelcluster-v3-base-user-policy)\.
58+
If the user has the permission to [https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DescribeSecret.html](https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DescribeSecret.html), `PasswordSecretArn` is validated\. `PasswordSecretArn` is valid if the specified secret exists\. If the user IAM policy doesn't include `DescribeSecret`, `PasswordSecretArn` isn't validated and a warning message is displayed\. For more information, see [Base AWS ParallelCluster` pcluster` user policy](iam-roles-in-parallelcluster-v3.md#iam-roles-in-parallelcluster-v3-base-user-policy)\.
5959
When the value of the secret changes, the cluster *isn't* automatically updated\. To update the cluster for the new secret value, you must stop the compute fleet with the [`pcluster update-compute-fleet`](pcluster.update-compute-fleet-v3.md) command and then run the following command from within the head node\.
6060

6161
```

doc_source/HeadNode-v3.md

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ HeadNode:
1010
ElasticIp: string/boolean
1111
SecurityGroups:
1212
- string
13-
- string
1413
AdditionalSecurityGroups:
1514
- string
16-
- string
1715
Proxy:
1816
HttpProxyAddress: string
1917
DisableSimultaneousMultithreading: boolean
@@ -39,11 +37,13 @@ HeadNode:
3937
Script: string
4038
Args:
4139
- string
42-
- string
4340
OnNodeConfigured:
4441
Script: string
4542
Args:
4643
- string
44+
OnNodeUpdated:
45+
Script: string
46+
Args:
4747
- string
4848
Iam:
4949
InstanceRole: string
@@ -65,6 +65,8 @@ HeadNode:
6565
`InstanceType` \(**Required**, `String`\)
6666
Specifies the instance type for the head node\.
6767
Specifies the Amazon EC2 instance type that's used for the head node\. The architecture of the instance type must be the same as the architecture used for the AWS Batch [`InstanceType`](Scheduling-v3.md#yaml-Scheduling-AwsBatchQueues-ComputeResources-InstanceTypes) or Slurm [`InstanceType`](Scheduling-v3.md#yaml-Scheduling-SlurmQueues-ComputeResources-InstanceType) setting\.
68+
AWS ParallelCluster doesn't support the following instance types for the `HeadNode` setting\.
69+
+ hpc6id
6870
If you define a p4d instance type or another instance type that has multiple network interfaces or a network interface card, you must set [`ElasticIp`](#yaml-HeadNode-Networking-ElasticIp) to `true` to provide public access\. AWS public IPs can only be assigned to instances launched with a single network interface\. For this case, we recommend that you use a [NAT gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html) to provide public access to the cluster compute nodes\. For more information, see [Assign a public IPv4 address during instance launch](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#public-ip-addresses) in the *Amazon EC2 User Guide for Linux Instances*\.
6971
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
7072

@@ -83,10 +85,8 @@ Networking:
8385
ElasticIp: string/boolean
8486
SecurityGroups:
8587
- string
86-
- string
8788
AdditionalSecurityGroups:
8889
- string
89-
- string
9090
Proxy:
9191
HttpProxyAddress: string
9292
```
@@ -136,7 +136,7 @@ Ssh:
136136

137137
[Update policy: This setting can be changed during an update.](using-pcluster-update-cluster-v3.md#update-policy-setting-supported-v3)
138138

139-
### `Ssh` Properties<a name="HeadNode-v3-Ssh.properties"></a>
139+
### `Ssh` properties<a name="HeadNode-v3-Ssh.properties"></a>
140140

141141
`KeyName` \(**Optional**, `String`\)
142142
Names an existing Amazon EC2 key pair to enable SSH access to the head node\.
@@ -165,7 +165,7 @@ LocalStorage:
165165

166166
[Update policy: This setting can be changed during an update.](using-pcluster-update-cluster-v3.md#update-policy-setting-supported-v3)
167167

168-
### `LocalStorage` Properties<a name="HeadNode-v3-LocalStorage.properties"></a>
168+
### `LocalStorage` properties<a name="HeadNode-v3-LocalStorage.properties"></a>
169169

170170
`RootVolume` \(**Required**\)
171171
Specifies the root volume storage for the head node\.
@@ -271,16 +271,16 @@ CustomActions:
271271
Script: string
272272
Args:
273273
- string
274-
- string
275274
OnNodeConfigured:
276275
Script: string
277276
Args:
278277
- string
279-
- string
278+
OnNodeUpdated:
279+
Script: string
280+
Args:
281+
- string
280282
```
281283

282-
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
283-
284284
### `CustomActions` properties<a name="HeadNode-v3-CustomActions.properties"></a>
285285

286286
`OnNodeStart` \(**Optional**, `String`\)
@@ -289,16 +289,25 @@ Specifies a script to run on the head node before any node deployment bootstrap
289289
Specifies the file to use\. The file path can start with `https://` or `s3://`\.
290290
`Args` \(**Optional**, `[String]`\)
291291
List of arguments to pass to the script\.
292+
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
292293

293294
`OnNodeConfigured` \(**Optional**, `String`\)
294295
Specifies a script to run on the head node after the node bootstrap actions are complete\. For more information, see [Custom bootstrap actions](custom-bootstrap-actions-v3.md)\.
295296
`Script` \(**Required**, `String`\)
296297
Specifies the file to use\. The file path can start with `https://` or `s3://`\.
297298
`Args` \(**Optional**, `[String]`\)
298299
List of arguments to pass to the script\.
299-
300300
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
301301

302+
`OnNodeUpdated` \(**Optional**, `String`\)
303+
Specifies a script to run on the head node after node update actions are complete\. For more information, see [Custom bootstrap actions](custom-bootstrap-actions-v3.md)\.
304+
`Script` \(**Required**, `String`\)
305+
Specifies the file to use\. The file path can start with `https://` or `s3://`\.
306+
`Args` \(**Optional**, `[String]`\)
307+
List of arguments to pass to the script\.
308+
[Update policy: This setting can be changed during an update.](using-pcluster-update-cluster-v3.md#update-policy-setting-supported-v3)
309+
`OnNodeUpdated` is added starting with AWS ParallelCluster 3\.4\.0\.
310+
302311
## `Iam`<a name="HeadNode-v3-Iam"></a>
303312

304313
**\(Optional\)** Specifies either an instance role or an instance profile to use on the head node to override the default instance role or instance profile for the cluster\.
@@ -378,7 +387,7 @@ Imds:
378387

379388
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
380389

381-
### `Imds` Properties<a name="HeadNode-v3-Imds.properties"></a>
390+
### `Imds` properties<a name="HeadNode-v3-Imds.properties"></a>
382391

383392
`Secured` \(**Optional**, `Boolean`\)
384393
If `true`, restricts access to the head node's IMDS \(and the instance profile credentials\) to a subset of superusers\.
@@ -413,7 +422,7 @@ Image:
413422

414423
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
415424

416-
### `Image` Properties<a name="HeadNode-v3-Image.properties"></a>
425+
### `Image` properties<a name="HeadNode-v3-Image.properties"></a>
417426

418427
`CustomAmi` \(**Optional**, `String`\)
419428
Specifies the ID of a custom AMI to use for the head node instead of the default AMI\. For more information, see [AWS ParallelCluster AMI customization](custom-ami-v3.md)\.

doc_source/Iam-v3.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ Iam:
77
Roles:
88
LambdaFunctionsRole: string
99
PermissionsBoundary: string
10+
ResourcePrefix: string
1011
```
1112

1213
[Update policy: This setting can be changed during an update.](using-pcluster-update-cluster-v3.md#update-policy-setting-supported-v3)
1314

14-
## `Iam` Properties<a name="Iam-v3.properties"></a>
15+
## `Iam` properties<a name="Iam-v3.properties"></a>
1516

1617
`PermissionsBoundary` \(**Optional**, `String`\)
1718
The ARN of the IAM policy to use as permissions boundary for all roles created by AWS ParallelCluster\. For more information, see [Permissions boundaries for IAM entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) in the *IAM User Guide*\. The format is `arn:${Partition}:iam::${Account}:policy/${PolicyName}`\.
@@ -22,4 +23,39 @@ Specifies settings for the IAM roles used by the cluster\.
2223
[Update policy: This setting can be changed during an update.](using-pcluster-update-cluster-v3.md#update-policy-setting-supported-v3)
2324
`LambdaFunctionsRole` \(**Optional**, `String`\)
2425
The ARN of the IAM role to use for AWS Lambda\. This overrides the default role attached to all Lambda functions backing AWS CloudFormation custom resources\. Lambda needs to be configured as the principal allowed to assume the role\. This will not override the role of Lambda functions used for AWS Batch\. The format is `arn:${Partition}:iam::${Account}:role/${RoleName}`\.
25-
[Update policy: This setting can be changed during an update.](using-pcluster-update-cluster-v3.md#update-policy-setting-supported-v3)
26+
[Update policy: This setting can be changed during an update.](using-pcluster-update-cluster-v3.md#update-policy-setting-supported-v3)
27+
28+
`ResourcePrefix` \(**Optional**\)
29+
Specifies a path or name prefix for IAM resources that are created by AWS ParallelCluster\.
30+
The resource prefix must follow the [naming rules specified by IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html):
31+
+ A name can contain up to 30 characters\.
32+
+ A name can only be a string with no slash \(`/`\) characters\.
33+
+ A path can be up to 512 characters\.
34+
+ A path must start and end with a slash \(`/`\)\. It can contain multiple slashes \(`/`\) between the start and end slashes \(`/`\)\.
35+
+ You can combine the path and name `/path/name`\.
36+
Specify a name\.
37+
38+
```
39+
Iam:
40+
ResourcePrefix: my-prefix
41+
```
42+
Specify a path\.
43+
44+
```
45+
Iam:
46+
ResourcePrefix: /org/dept/team/project/user/
47+
```
48+
Specify a path and name\.
49+
50+
```
51+
Iam:
52+
ResourcePrefix: /org/dept/team/project/user/my-prefix
53+
```
54+
If you specify `/my-prefix`, an error is returned\.
55+
56+
```
57+
Iam:
58+
ResourcePrefix: /my-prefix
59+
```
60+
A configuration error is returned\. A path must have two `/`s\. A prefix by itself can't have `/`s\.
61+
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)

doc_source/Image-v3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Image:
88
CustomAmi: string
99
```
1010

11-
## `Image` Properties<a name="Image-v3.properties"></a>
11+
## `Image` properties<a name="Image-v3.properties"></a>
1212

1313
`Os` \(**Required**, `String`\)
1414
Specifies the operating system to use for the cluster\. The supported values are `alinux2`, `centos7`, `ubuntu1804`, and `ubuntu2004`\.
15-
Other than the specific Regions mentioned in the following table that don't support `centos7`\. All other AWS commercial Regions support all of the following operating systems\.
15+
Other than the specific AWS Regions mentioned in the following table that don't support `centos7`\. All other AWS commercial Regions support all of the following operating systems\.
1616
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/parallelcluster/latest/ug/Image-v3.html)
1717
[Update policy: If this setting is changed, the update is not allowed.](using-pcluster-update-cluster-v3.md#update-policy-fail-v3)
1818

doc_source/Imds-cluster-v3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Imds:
77
ImdsSupport: string
88
```
99

10-
## `Imds` Properties<a name="Imds-cluster-v3.properties"></a>
10+
## `Imds` properties<a name="Imds-cluster-v3.properties"></a>
1111

1212
`ImdsSupport` \(**Optional**, `String`\)
1313
Specifies which IMDS versions are supported in the cluster nodes\. Supported values are `v1.0` and `v2.0`\. The default value is `v1.0`\.

0 commit comments

Comments
 (0)