@@ -110,6 +110,56 @@ def client_error(error_code):
110
110
"CapacityReservationId" : "cr-234567" ,
111
111
},
112
112
},
113
+ "queue-single-az" : {
114
+ "c5xlarge" : {"Api" : "run-instances" , "Instances" : [{"InstanceType" : "c5.xlarge" }]},
115
+ "fleet1" : {
116
+ "Api" : "create-fleet" ,
117
+ "Instances" : [{"InstanceType" : "t2.medium" }, {"InstanceType" : "t2.large" }],
118
+ "AllocationStrategy" : "prioritized" ,
119
+ "CapacityType" : "on-demand" ,
120
+ "Networking" : MULTIPLE_SUBNETS ,
121
+ },
122
+ },
123
+ "queue-prioritized" : {
124
+ "c5xlarge" : {"Api" : "run-instances" , "Instances" : [{"InstanceType" : "c5.xlarge" }]},
125
+ "fleet1" : {
126
+ "Api" : "create-fleet" ,
127
+ "Instances" : [{"InstanceType" : "t2.medium" }, {"InstanceType" : "t2.large" }],
128
+ "AllocationStrategy" : "prioritized" ,
129
+ "CapacityType" : "on-demand" ,
130
+ "Networking" : MULTIPLE_SUBNETS ,
131
+ },
132
+ },
133
+ "queue-capacity-optimized-prioritized" : {
134
+ "c5xlarge" : {"Api" : "run-instances" , "Instances" : [{"InstanceType" : "c5.xlarge" }]},
135
+ "fleet1" : {
136
+ "Api" : "create-fleet" ,
137
+ "Instances" : [{"InstanceType" : "t2.medium" }, {"InstanceType" : "t2.large" }],
138
+ "AllocationStrategy" : "capacity-optimized-prioritized" ,
139
+ "CapacityType" : "spot" ,
140
+ "Networking" : MULTIPLE_SUBNETS ,
141
+ },
142
+ },
143
+ "queue-prioritized-all-or-nothing" : {
144
+ "c5xlarge" : {"Api" : "run-instances" , "Instances" : [{"InstanceType" : "c5.xlarge" }]},
145
+ "fleet1" : {
146
+ "Api" : "create-fleet" ,
147
+ "Instances" : [{"InstanceType" : "t2.medium" }],
148
+ "AllocationStrategy" : "prioritized" ,
149
+ "CapacityType" : "on-demand" ,
150
+ "Networking" : MULTIPLE_SUBNETS ,
151
+ },
152
+ },
153
+ "queue-capacity-optimized-prioritized-all-or-nothing" : {
154
+ "c5xlarge" : {"Api" : "run-instances" , "Instances" : [{"InstanceType" : "c5.xlarge" }]},
155
+ "fleet1" : {
156
+ "Api" : "create-fleet" ,
157
+ "Instances" : [{"InstanceType" : "t2.medium" }],
158
+ "AllocationStrategy" : "capacity-optimized-prioritized" ,
159
+ "CapacityType" : "spot" ,
160
+ "Networking" : MULTIPLE_SUBNETS ,
161
+ },
162
+ },
113
163
}
114
164
115
165
LAUNCH_OVERRIDES = {}
0 commit comments