Aws-cli: Instance type 'm3.large' is not supported

Created on 20 Oct 2014  路  6Comments  路  Source: aws/aws-cli

I am wondering what other instance types are not supported.
Is there a way to extract the list?

Using v 1.5.2.

Most helpful comment

Hi tilusnet@, you can see EC2 instance types available on EMR listed here: http://aws.amazon.com/elasticmapreduce/pricing/

There is no EMR Web Service API to extract the supported instance types list yet.

All 6 comments

What command are you running? Would you mind showing the exact error message you are getting?

Hi, I use this command:

aws emr --region eu-west-1 create-cluster --no-auto-terminate --name "xxxx" \
    --termination-protected --bootstrap-actions Path="s3://elasticmapreduce/bootstrap-actions/configure-hadoop",Args=[-m,"mapred.child.java.opts=-Xmx2048m -Dfile.encoding=UTF-8"] \
    --ec2-attributes KeyName=xxxx \
    --ami-version 2.4.6 \
    --log-uri s3n://xxxx \
    --instance-groups \
      Name=CycMasterGroup,InstanceGroupType=MASTER,InstanceType=m3.large,InstanceCount=1,BidPrice=0.20 \
      Name=CycCoreGroup,InstanceGroupType=CORE,InstanceType=m3.large,InstanceCount=7,BidPrice=0.20

A client error (ValidationException) occurred when calling the RunJobFlow operation: Instance type 'm3.large' is not supported

m3.large instance type is listed here:
http://aws.amazon.com/ec2/instance-types/

Thank you.

Sorry I didn't mean to close this. :-)

Hi tilusnet@, you can see EC2 instance types available on EMR listed here: http://aws.amazon.com/elasticmapreduce/pricing/

There is no EMR Web Service API to extract the supported instance types list yet.

Thanks for the clarification. It sounds like this is not an issue with the AWS CLI, the EMR service does not support this particular instance type, and at the current time there is no web service API to list the supported instance types. Closing out the issue.

Thank you both, both your comments were actually helpful:
I was not aware that the valid EMR instance types are different from the EC2 ones.
EC2 does support m3.large: http://aws.amazon.com/ec2/instance-types/

Was this page helpful?
0 / 5 - 0 ratings