-
Notifications
You must be signed in to change notification settings - Fork 23
/
pcluster.yaml
63 lines (63 loc) · 2.1 KB
/
pcluster.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
HeadNode:
InstanceType: c5.xlarge
Networking:
SubnetId: subnet-123456
AdditionalSecurityGroups:
- sg-123456
Ssh:
KeyName: keypair
LocalStorage:
RootVolume:
VolumeType: gp3
CustomActions:
OnNodeConfigured:
Script: https://raw.githubusercontent.com/aws-samples/aws-parallelcluster-monitoring/main/post-install.sh
Args:
- https://github.com/aws-samples/aws-parallelcluster-monitoring/tarball/main
- aws-parallelcluster-monitoring
- install-monitoring.sh
Iam:
AdditionalIamPolicies:
- Policy: arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
- Policy: arn:aws:iam::aws:policy/CloudWatchFullAccess
- Policy: arn:aws:iam::aws:policy/AWSPriceListServiceFullAccess
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess
- Policy: arn:aws:iam::aws:policy/AWSCloudFormationReadOnlyAccess
Scheduling:
Scheduler: slurm
SlurmQueues:
- Name: queue0
AllocationStrategy: lowest-price
ComputeResources:
- Name: queue0-compute-resource-0
Instances:
- InstanceType: c5n.large
MinCount: 0
MaxCount: 4
Networking:
SubnetIds:
- subnet-123456
ComputeSettings:
LocalStorage:
RootVolume:
VolumeType: gp3
CustomActions:
OnNodeConfigured:
Script: https://raw.githubusercontent.com/aws-samples/aws-parallelcluster-monitoring/main/post-install.sh
Args:
- https://github.com/aws-samples/aws-parallelcluster-monitoring/tarball/main
- aws-parallelcluster-monitoring
- install-monitoring.sh
Iam:
AdditionalIamPolicies:
- Policy: arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
- Policy: arn:aws:iam::aws:policy/CloudWatchFullAccess
- Policy: arn:aws:iam::aws:policy/AWSPriceListServiceFullAccess
- Policy: arn:aws:iam::aws:policy/AmazonSSMFullAccess
- Policy: arn:aws:iam::aws:policy/AWSCloudFormationReadOnlyAccess
Region: us-east-2
Image:
Os: alinux2
Tags:
- Key: 'Grafana'
Value: 'true'