Skip to content

Commit e1845ba

Browse files
committed
config processing cpu west
1 parent d53b0b7 commit e1845ba

File tree

2 files changed

+416
-4
lines changed

2 files changed

+416
-4
lines changed

parallelcluster/config.us-west-2.sample.yaml

Lines changed: 219 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ Scheduling:
119119
PlacementGroup:
120120
Enabled: false
121121
SubnetIds:
122-
- ${HN_SUBNET_ID}
123-
AssignPublicIp: True
122+
- ${SUBNET_ID}
123+
AssignPublicIp: ${USE_PUBLIC_IPS}
124124
- Name: cpu64
125125
CapacityType: ONDEMAND
126126
ComputeSettings:
@@ -174,8 +174,223 @@ Scheduling:
174174
PlacementGroup:
175175
Enabled: false
176176
SubnetIds:
177-
- ${HN_SUBNET_ID}
178-
AssignPublicIp: True
177+
- ${SUBNET_ID}
178+
AssignPublicIp: ${USE_PUBLIC_IPS}
179+
- Name: cpu48
180+
CapacityType: ONDEMAND
181+
ComputeSettings:
182+
LocalStorage:
183+
RootVolume:
184+
Size: 1024
185+
Encrypted: false
186+
VolumeType: gp3
187+
Iops: 5000
188+
ComputeResources:
189+
- Name: c6i-12xlarge
190+
DisableSimultaneousMultithreading: false
191+
InstanceType: c6i.12xlarge
192+
MaxCount: 100
193+
MinCount: 0
194+
- Name: m6i-12xlarge
195+
DisableSimultaneousMultithreading: false
196+
InstanceType: m6i.12xlarge
197+
MaxCount: 100
198+
MinCount: 0
199+
- Name: r6i-12xlarge
200+
DisableSimultaneousMultithreading: false
201+
InstanceType: r6i.12xlarge
202+
MaxCount: 100
203+
MinCount: 0
204+
- Name: m5zn-12xlarge
205+
DisableSimultaneousMultithreading: false
206+
InstanceType: m5zn.12xlarge
207+
MaxCount: 100
208+
MinCount: 0
209+
CustomActions:
210+
OnNodeConfigured:
211+
Args:
212+
- 00.install.custom.packages.compute.sh
213+
- 02.activate.passwordless.sudo.compute.sh
214+
- 00.install.knot.resolver.cpu.sh
215+
- 04.configure.disable.anacron.compute.sh
216+
- 33.install.cost.control.sh
217+
- 80.fast.aws.cli.compute.sh
218+
Script: s3://${S3_BUCKET}/1click-hpc/scripts/post.install.sh
219+
Iam:
220+
AdditionalIamPolicies:
221+
- Policy: arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess
222+
- Policy: arn:aws:iam::aws:policy/SecretsManagerReadWrite
223+
- Policy: arn:aws:iam::aws:policy/CloudWatchFullAccess
224+
- Policy: arn:aws:iam::aws:policy/AWSPriceListServiceFullAccess
225+
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess
226+
- Policy: arn:aws:iam::aws:policy/AWSCloudFormationReadOnlyAccess
227+
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
228+
S3Access:
229+
- BucketName: '*'
230+
EnableWriteAccess: true
231+
Networking:
232+
AdditionalSecurityGroups:
233+
- ${ADDITIONAL_SG}
234+
PlacementGroup:
235+
Enabled: false
236+
SubnetIds:
237+
- ${SUBNET_ID}
238+
AssignPublicIp: ${USE_PUBLIC_IPS}
239+
- Name: cpu32
240+
CapacityType: ONDEMAND
241+
ComputeSettings:
242+
LocalStorage:
243+
RootVolume:
244+
Size: 1024
245+
Encrypted: false
246+
VolumeType: gp3
247+
Iops: 5000
248+
ComputeResources:
249+
- Name: c6i-8xlarge
250+
DisableSimultaneousMultithreading: false
251+
InstanceType: c6i.8xlarge
252+
MaxCount: 200
253+
MinCount: 0
254+
- Name: m6i-8xlarge
255+
DisableSimultaneousMultithreading: false
256+
InstanceType: m6i.8xlarge
257+
MaxCount: 200
258+
MinCount: 0
259+
- Name: r6i-8xlarge
260+
DisableSimultaneousMultithreading: false
261+
InstanceType: r6i.8xlarge
262+
MaxCount: 200
263+
MinCount: 0
264+
CustomActions:
265+
OnNodeConfigured:
266+
Args:
267+
- 00.install.custom.packages.compute.sh
268+
- 02.activate.passwordless.sudo.compute.sh
269+
- 00.install.knot.resolver.cpu.sh
270+
- 04.configure.disable.anacron.compute.sh
271+
- 33.install.cost.control.sh
272+
- 80.fast.aws.cli.compute.sh
273+
Script: s3://${S3_BUCKET}/1click-hpc/scripts/post.install.sh
274+
Iam:
275+
AdditionalIamPolicies:
276+
- Policy: arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess
277+
- Policy: arn:aws:iam::aws:policy/SecretsManagerReadWrite
278+
- Policy: arn:aws:iam::aws:policy/CloudWatchFullAccess
279+
- Policy: arn:aws:iam::aws:policy/AWSPriceListServiceFullAccess
280+
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess
281+
- Policy: arn:aws:iam::aws:policy/AWSCloudFormationReadOnlyAccess
282+
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
283+
S3Access:
284+
- BucketName: '*'
285+
EnableWriteAccess: true
286+
Networking:
287+
AdditionalSecurityGroups:
288+
- ${ADDITIONAL_SG}
289+
PlacementGroup:
290+
Enabled: false
291+
SubnetIds:
292+
- ${SUBNET_ID}
293+
AssignPublicIp: ${USE_PUBLIC_IPS}
294+
- Name: cpu24
295+
CapacityType: ONDEMAND
296+
ComputeSettings:
297+
LocalStorage:
298+
RootVolume:
299+
Size: 1024
300+
Encrypted: false
301+
VolumeType: gp3
302+
Iops: 5000
303+
ComputeResources:
304+
- Name: m5zn-6xlarge
305+
DisableSimultaneousMultithreading: false
306+
InstanceType: m5zn.6xlarge
307+
MaxCount: 200
308+
MinCount: 0
309+
CustomActions:
310+
OnNodeConfigured:
311+
Args:
312+
- 00.install.custom.packages.compute.sh
313+
- 02.activate.passwordless.sudo.compute.sh
314+
- 00.install.knot.resolver.cpu.sh
315+
- 04.configure.disable.anacron.compute.sh
316+
- 33.install.cost.control.sh
317+
- 80.fast.aws.cli.compute.sh
318+
Script: s3://${S3_BUCKET}/1click-hpc/scripts/post.install.sh
319+
Iam:
320+
AdditionalIamPolicies:
321+
- Policy: arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess
322+
- Policy: arn:aws:iam::aws:policy/SecretsManagerReadWrite
323+
- Policy: arn:aws:iam::aws:policy/CloudWatchFullAccess
324+
- Policy: arn:aws:iam::aws:policy/AWSPriceListServiceFullAccess
325+
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess
326+
- Policy: arn:aws:iam::aws:policy/AWSCloudFormationReadOnlyAccess
327+
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
328+
S3Access:
329+
- BucketName: '*'
330+
EnableWriteAccess: true
331+
Networking:
332+
AdditionalSecurityGroups:
333+
- ${ADDITIONAL_SG}
334+
PlacementGroup:
335+
Enabled: false
336+
SubnetIds:
337+
- ${SUBNET_ID}
338+
AssignPublicIp: ${USE_PUBLIC_IPS}
339+
- Name: cpu16
340+
CapacityType: ONDEMAND
341+
ComputeSettings:
342+
LocalStorage:
343+
RootVolume:
344+
Size: 1024
345+
Encrypted: false
346+
VolumeType: gp3
347+
Iops: 5000
348+
ComputeResources:
349+
- Name: c6i-4xlarge
350+
DisableSimultaneousMultithreading: false
351+
InstanceType: c6i.4xlarge
352+
MaxCount: 400
353+
MinCount: 0
354+
- Name: m6i-4xlarge
355+
DisableSimultaneousMultithreading: false
356+
InstanceType: m6i.4xlarge
357+
MaxCount: 400
358+
MinCount: 0
359+
- Name: r6i-4xlarge
360+
DisableSimultaneousMultithreading: false
361+
InstanceType: r6i.4xlarge
362+
MaxCount: 400
363+
MinCount: 0
364+
CustomActions:
365+
OnNodeConfigured:
366+
Args:
367+
- 00.install.custom.packages.compute.sh
368+
- 02.activate.passwordless.sudo.compute.sh
369+
- 00.install.knot.resolver.cpu.sh
370+
- 04.configure.disable.anacron.compute.sh
371+
- 33.install.cost.control.sh
372+
- 80.fast.aws.cli.compute.sh
373+
Script: s3://${S3_BUCKET}/1click-hpc/scripts/post.install.sh
374+
Iam:
375+
AdditionalIamPolicies:
376+
- Policy: arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess
377+
- Policy: arn:aws:iam::aws:policy/SecretsManagerReadWrite
378+
- Policy: arn:aws:iam::aws:policy/CloudWatchFullAccess
379+
- Policy: arn:aws:iam::aws:policy/AWSPriceListServiceFullAccess
380+
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess
381+
- Policy: arn:aws:iam::aws:policy/AWSCloudFormationReadOnlyAccess
382+
- Policy: arn:aws:iam::${AWS_ACCOUNT}:policy/pclusterTagsAndBudget #make sure this policy is created https://pcluster.cloud/02-tutorials/04-cost-tracking.html
383+
S3Access:
384+
- BucketName: '*'
385+
EnableWriteAccess: true
386+
Networking:
387+
AdditionalSecurityGroups:
388+
- ${ADDITIONAL_SG}
389+
PlacementGroup:
390+
Enabled: false
391+
SubnetIds:
392+
- ${SUBNET_ID}
393+
AssignPublicIp: ${USE_PUBLIC_IPS}
179394
SharedStorage:
180395
${FSX}
181396
Tags:

0 commit comments

Comments
 (0)