forked from aws-samples/cryoem-on-aws-parallel-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parallel-cluster-cryosparc-custom-roles.yaml
197 lines (197 loc) · 5.02 KB
/
parallel-cluster-cryosparc-custom-roles.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
Region: <REGION>
Image:
Os: alinux2
Iam:
Roles:
LambdaFunctionsRole: <PClusterLambdaRoleArn>
HeadNode:
InstanceType: c5a.4xlarge
Networking:
SubnetId: <SMALL-PUBLIC-SUBNET-ID>
ElasticIp: true
SecurityGroups:
- <HEAD-NODE-SECURITY-GROUP-ID>
Ssh:
KeyName: <EC2-KEY-PAIR-NAME>
LocalStorage:
RootVolume:
Size: 100
EphemeralVolume:
MountDir: /scratch
Dcv:
Enabled: true
CustomActions:
OnNodeConfigured:
Script: s3://<BUCKET-NAME>/parallel-cluster-post-install.sh
Args:
- s3://<BUCKET-NAME>/parallel-cluster-post-install.sh
- <CRYOSPARC-LICENSE>
Iam:
InstanceRole: <PClusterInstanceRoleArn>
Scheduling:
Scheduler: slurm
SlurmQueues:
- Name: gpu-t4
Iam:
InstanceRole: <PClusterInstanceRoleArn>
CapacityType: ONDEMAND
ComputeResources:
- Name: g4dn-12xlarge
InstanceType: g4dn.12xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
- Name: g4dn-metal
InstanceType: g4dn.metal
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
- Name: g4dn-16xlarge
InstanceType: g4dn.16xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: gpu-a100
Iam:
InstanceRole: <PClusterInstanceRoleArn>
CapacityType: ONDEMAND
ComputeResources:
- Name: p4d-24xlarge
InstanceType: p4d.24xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: gpu-v100
Iam:
InstanceRole: <PClusterInstanceRoleArn>
CapacityType: ONDEMAND
ComputeResources:
- Name: p3-2xlarge
InstanceType: p3.2xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
- Name: p3-8xlarge
InstanceType: p3.8xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
- Name: p3-16xlarge
InstanceType: p3.16xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: cpu
Iam:
InstanceRole: <PClusterInstanceRoleArn>
CapacityType: ONDEMAND
ComputeResources:
- Name: c5n-18xlarge
InstanceType: c5n.18xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: true
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: gpu-a100-spot
Iam:
InstanceRole: <PClusterInstanceRoleArn>
CapacityType: SPOT
ComputeResources:
- Name: p4d-24xlarge-spot
InstanceType: p4d.24xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
SharedStorage:
- Name: cryosparc-ebs
StorageType: Ebs
MountDir: /shared
EbsSettings:
Encrypted: false
VolumeType: gp3
Size: 100
- Name: cryosparc-fsx
StorageType: FsxLustre
MountDir: /fsx
FsxLustreSettings:
AutoImportPolicy: NEW_CHANGED
StorageCapacity: 12000
DeploymentType: SCRATCH_2
ImportedFileChunkSize: 1024
ImportPath: s3://<PATH-TO-IMPORT-FILES>
Monitoring:
Dashboards:
CloudWatch:
Enabled: true