From a39c8ca0fe1ba573ed7d128773ee03a27f6385dc Mon Sep 17 00:00:00 2001 From: Alessandro Andrioni Date: Thu, 26 Jun 2014 10:55:45 -0300 Subject: [PATCH] SPARK-2291: Improved support for m3 instance types Add support to m3.medium and m3.large instance types, and for the SSD-backed instance storage now available for all m3 instance types. --- ec2/spark_ec2.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index e80f928b8beb..5da4edf7272a 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -220,6 +220,8 @@ def get_spark_ami(opts): "cg1.4xlarge": "hvm", "hs1.8xlarge": "hvm", "hi1.4xlarge": "hvm", + "m3.medium": "hvm", + "m3.large": "hvm", "m3.xlarge": "hvm", "m3.2xlarge": "hvm", "cr1.8xlarge": "hvm", @@ -544,8 +546,10 @@ def get_num_disks(instance_type): "hs1.8xlarge": 24, "cr1.8xlarge": 2, "hi1.4xlarge": 2, - "m3.xlarge": 0, - "m3.2xlarge": 0, + "m3.medium": 1, + "m3.large": 1, + "m3.xlarge": 2, + "m3.2xlarge": 2, "i2.xlarge": 1, "i2.2xlarge": 2, "i2.4xlarge": 4,