329 Amazon EMR Management Guide Using Automatic Scaling in Amazon EMR Note The

329 amazon emr management guide using automatic

This preview shows page 335 - 338 out of 395 pages.

Image of page 335
Amazon EMR Management Guide Using Automatic Scaling in Amazon EMR Note The parameters listed here are based on the AWS Management Console for Amazon EMR. When you use the AWS CLI or Amazon EMR API, additional advanced configuration options are available. For more information about advanced options, see SimpleScalingPolicyConfiguration in the Amazon EMR API Reference . Maximum instances and minimum instances. The Maximum instances constraint specifies the maximum number of Amazon EC2 instances that can be in the instance group, and applies to all scale- out rules. Similarly, the Minimum instances constraint specifies the minimum number of Amazon EC2 instances and applies to all scale-in rules. • The Rule name , which must be unique within the policy. • The scaling adjustment , which determines the number of EC2 instances to add (for scale-out rules) or terminate (for scale-in rules) during the scaling activity triggered by the rule. • The CloudWatch metric , which is watched for an alarm condition. • A comparison operator , which is used to compare the CloudWatch metric to the Threshold value and determine a trigger condition. • An evaluation period , in five-minute increments, for which the CloudWatch metric must be in a trigger condition before scaling activity is triggered. • A Cooldown period , in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. When an instance group has finished a scaling activity and reached its post-scale state, the cooldown period provides an opportunity for the CloudWatch metrics that might trigger subsequent scaling activities to stabilize. For more information, see Auto Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide . Using the AWS Management Console to Configure Automatic Scaling When you create a cluster, you configure a scaling policy for instance groups using the advanced cluster configuration options. You can also create or modify a scaling policy for an instance group in-service by modifying instance groups in the Hardware settings of an existing cluster. 1. If you are creating a cluster, in the Amazon EMR console, select Create Cluster , select Go to advanced options , choose options for Step 1: Software and Steps , and then go to Step 2: Hardware Configuration . —or— If you are modifying an instance group in a running cluster, select your cluster from the cluster list, and then expand the Hardware section. 330
Image of page 336
Amazon EMR Management Guide Using Automatic Scaling in Amazon EMR 2. Click the pencil icon that appears in the Auto Scaling column for the instance group you want to configure. If an automatic scaling policy is already configured for the instance group, the number of Maximum instances and Minimum instances appear in this column; otherwise, Not enabled appears.
Image of page 337
Image of page 338

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