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
+46-13Lines changed: 46 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ Metadata:
57
57
Parameters:
58
58
- MinSize
59
59
- MaxSize
60
+
- OnDemandPercentage
60
61
- ScaleOutFactor
61
62
- ScaleInIdlePeriod
62
63
- ScaleOutForWaitingJobs
@@ -204,13 +205,15 @@ Parameters:
204
205
Default: ""
205
206
206
207
InstanceType:
207
-
Description: Instance type
208
+
Description: Instance type. Comma-separated list with 1-4 instance types. The order is a prioritized preference for launching OnDemand instances, and a non-prioritized list of types to consider for Spot Instances (where used).
208
209
Type: String
209
210
Default: t3.large
210
211
MinLength: 1
212
+
AllowedPattern: "^[\\w\\.]+(,[\\w\\.]*){0,3}$"
213
+
ConstraintDescription: "must contain 1-4 instance types separated by commas. No space before/after the comma."
211
214
212
215
SpotPrice:
213
-
Description: Spot bid price to use for the instances. 0 means normal (non-spot) instances
216
+
Description: Maximum spot price to use for the instances, in instance cost per hour. Values >0 will result in 100% of instances being spot. 0 means only use normal (non-spot) instances. This parameter is deprecated - we recommend setting to 0 and using OnDemandPercentage to opt into spot instances.
214
217
Type: String
215
218
Default: 0
216
219
@@ -225,6 +228,13 @@ Parameters:
225
228
Type: Number
226
229
Default: 0
227
230
231
+
OnDemandPercentage:
232
+
Description: Percentage of total instances that should launch as OnDemand. Default is 100% OnDemand - reduce this to use some Spot Instances when they're available and cheaper than the OnDemand price. A value of 70 means 70% OnDemand and 30% Spot Instances.
233
+
Type: Number
234
+
Default: 100
235
+
MinValue: 0
236
+
MaxValue: 100
237
+
228
238
ScaleOutFactor:
229
239
Description: A decimal factor to apply to scale out changes to speed up or slow down scale-out
0 commit comments