You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/aws-stack.yml
+91-4Lines changed: 91 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,13 @@ Metadata:
57
57
Parameters:
58
58
- MinSize
59
59
- MaxSize
60
+
- SpotAllocationStrategy
61
+
- OnDemandBaseCapacity
62
+
- OnDemandPercentageAboveBaseCapacity
63
+
- InstanceType1
64
+
- InstanceType2
65
+
- InstanceType3
66
+
- InstanceType4
60
67
- ScaleOutFactor
61
68
- ScaleInIdlePeriod
62
69
- ScaleOutForWaitingJobs
@@ -210,7 +217,7 @@ Parameters:
210
217
MinLength: 1
211
218
212
219
SpotPrice:
213
-
Description: Spot bid price to use for the instances. 0 means normal (non-spot) instances
220
+
Description: Maximum Spot bid price to use for the instances. 0 allows you to specify mixed instances (a combination of On-Demand and Spot Instances across multiple instances types)
214
221
Type: String
215
222
Default: 0
216
223
@@ -225,6 +232,44 @@ Parameters:
225
232
Type: Number
226
233
Default: 0
227
234
235
+
InstanceType1:
236
+
Description: The primary instance type to use when requesting mixed instance types.
237
+
Type: String
238
+
Default: ""
239
+
240
+
InstanceType2:
241
+
Description: The secondary instance type to use when requesting mixed instances. Omit this parmameter to only request 1 instance type.
242
+
Type: String
243
+
Default: ""
244
+
245
+
InstanceType3:
246
+
Description: The tertiary instance type to use when requesting mixed instances. Omit this parmameter to only request 2 instance types.
247
+
Type: String
248
+
Default: ""
249
+
250
+
InstanceType4:
251
+
Description: The quaternary instance type to use when requesting mixed instances. Omit this parmameter to only request 3 instance types.
252
+
Type: String
253
+
Default: ""
254
+
255
+
SpotAllocationStrategy:
256
+
Description: Indicates how to allocate Spot capacity across Spot pools.
257
+
AllowedValues:
258
+
- capacity-optimized
259
+
- lowest-price
260
+
Type: String
261
+
Default: capacity-optimized
262
+
263
+
OnDemandBaseCapacity:
264
+
Description: Minimum number of instances in the ASG's initial capacity that must be fulfilled by On-Demand instances.
265
+
Type: Number
266
+
Default: 0
267
+
268
+
OnDemandPercentageAboveBaseCapacity:
269
+
Description: Percentage of On-Demand Instances for additional capacity beyond the optional On-Demand base amount.
270
+
Type: Number
271
+
Default: 40
272
+
228
273
ScaleOutFactor:
229
274
Description: A decimal factor to apply to scale out changes to speed up or slow down scale-out
0 commit comments