Commit 41f52546 authored by Justin Santa Barbara's avatar Justin Santa Barbara

AWS: Add d2 instance types

Another family of instance types, I think the next-gen of hs1
parent d97199c0
...@@ -805,6 +805,16 @@ func getResourcesByInstanceType(instanceType string) (*api.NodeResources, error) ...@@ -805,6 +805,16 @@ func getResourcesByInstanceType(instanceType string) (*api.NodeResources, error)
case "hs1.8xlarge": case "hs1.8xlarge":
return makeNodeResources("hs1", 35, 117) return makeNodeResources("hs1", 35, 117)
// d2: Dense instances (next-gen of hs1)
case "d2.xlarge":
return makeNodeResources("d2", 14, 30.5)
case "d2.2xlarge":
return makeNodeResources("d2", 28, 61)
case "d2.4xlarge":
return makeNodeResources("d2", 56, 122)
case "d2.8xlarge":
return makeNodeResources("d2", 116, 244)
// m1: General purpose // m1: General purpose
case "m1.small": case "m1.small":
return makeNodeResources("m1", 1, 1.7) return makeNodeResources("m1", 1, 1.7)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment