Skip to content

Commit 24078e9

Browse files
committed
Merge pull request #525 from datacratic/d2_instance_support
d2 instance type support
2 parents ca69338 + 66aad99 commit 24078e9

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

starcluster/static.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ def create_sc_config_dirs():
152152
'i2.2xlarge': ['x86_64'],
153153
'i2.4xlarge': ['x86_64'],
154154
'i2.8xlarge': ['x86_64'],
155+
'd2.xlarge': ['x86_64'],
156+
'd2.2xlarge': ['x86_64'],
157+
'd2.4xlarge': ['x86_64'],
158+
'd2.8xlarge': ['x86_64']
155159
}
156160

157161
T1_INSTANCE_TYPES = ['t1.micro']
@@ -181,9 +185,11 @@ def create_sc_config_dirs():
181185

182186
I2_STORAGE_TYPES = ['i2.xlarge', 'i2.2xlarge', 'i2.4xlarge', 'i2.8xlarge']
183187

188+
DENSE_STORAGE_TYPES = ['d2.xlarge', 'd2.2xlarge', 'd2.4xlarge', 'd2.8xlarge']
189+
184190
HVM_ONLY_TYPES = (CLUSTER_COMPUTE_TYPES + CLUSTER_GPU_TYPES +
185191
CLUSTER_HIMEM_TYPES + I2_STORAGE_TYPES + HIMEM_TYPES +
186-
T2_INSTANCE_TYPES)
192+
T2_INSTANCE_TYPES + DENSE_STORAGE_TYPES)
187193

188194
HVM_TYPES = (HVM_ONLY_TYPES + HI_IO_TYPES + HI_STORAGE_TYPES + SEC_GEN_TYPES +
189195
M3_COMPUTE_TYPES + M4_COMPUTE_TYPES)

0 commit comments

Comments
 (0)