For more information see Using Automatic Scaling in Amazon EMR p 328 Instance

For more information see using automatic scaling in

This preview shows page 379 - 381 out of 395 pages.

at a given time across an account. For more information, see Using Automatic Scaling in Amazon EMR (p. 328) . Instance Type Not Supported If you create a cluster, and it fails with the error message "The requested instance type InstanceType is not supported in the requested Availability Zone," it means that you created the cluster and specified an instance type for one or more instance groups that is not supported by Amazon EMR in the Region and Availability Zone where the cluster was created. Amazon EMR may support an instance type in one Availability Zone within a Region and not another. The subnet you select for a cluster determines the Availability Zone within the Region. Solutions When you create a cluster using the Amazon EMR console, the list of instances is limited automatically to available instance types, so this error most often occurs when you create a cluster programmatically using the AWS CLI or Amazon EMR API. A consolidated list of supported Amazon EMR instance types by Region and Availability Zone is not yet available, so the first step for any solution is to determine whether the instance type you want is available in the Availability Zone you want. To determine available instance types in an Availability Zone using the Amazon EMR management console 1. Open the Amazon EMR console at . 2. Choose Create cluster , Go to advanced options . 3. Choose Next to view Hardware Configuration options. 373
Image of page 379
Amazon EMR Management Guide Streaming Cluster Errors 4. Choose the Network and EC2 Subnet for the cluster. 5. Under Instance type , choose the pencil icon next to the default instance type for any of the Master , Core , or Task Node types . 6. A list of instance types available in the Region and Availability Zone associated with the EC2 Subnet that you selected is shown. 7. You can continue creating the cluster, or choose Cancel , choose a different Network and EC2 Subnet , and repeat the previous steps. To determine available instance types in an Availability Zone using the AWS CLI Use the ec2 run-instances command with the --dry-run option. In the example below, replace m5.xlarge with the instance type you want to use, ami-035be7bafff33b6b6 with the AMI associated with that instance type, and subnet-12ab3c45 with a subnet in the Availability Zone you want to query. aws ec2 run-instances --instance-type m5.xlarge --dry-run --image-id ami-035be7bafff33b6b6 --subnet-id subnet-12ab3c45 After you determine the instance types available, you can do any of the following: Create the cluster in the same Region and EC2 Subnet, and choose a different instance type with similar capabilities as your initial choice. For a list of supported instance types, see Supported Instance Types (p. 106) . To compare capabilities of EC2 instance types, see Amazon EC2 Instance Types .
Image of page 380
Image of page 381

You've reached the end of your free preview.

Want to read all 395 pages?

  • Spring '12
  • LauraParker
  • Amazon Web Services, Amazon Elastic Compute Cloud

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors