Manually Resizing a Running Cluster You can add and remove instances from core

Manually resizing a running cluster you can add and

This preview shows page 342 - 345 out of 395 pages.

"Message": "Cluster ready after last step completed." } } } } Manually Resizing a Running Cluster You can add and remove instances from core and task instance groups and instance fleets in a running cluster using the AWS Management Console, AWS CLI, or the Amazon EMR API. If a cluster uses instance groups, you explicitly change the instance count. If your cluster uses instance fleets, you can change the target units for On-Demand Instances and Spot Instances. The instance fleet then adds and removes 336
Image of page 342
Amazon EMR Management Guide Manually Resizing a Running Cluster instances to meet the new target. For more information, see Instance Fleet Options (p. 122) . Applications can use newly provisioned Amazon EC2 instances to host nodes as soon as the instances are available. When instances are removed, Amazon EMR terminates tasks in a way that does not interrupt jobs and safeguards against data loss. For more information, see Terminate at Task Completion (p. 343) . Resize a Cluster Using the Console You can use the Amazon EMR console to resize a running cluster. To change the instance count for an existing running cluster using the console 1. From the Cluster List page, choose a cluster to resize. 2. On the Cluster Details page, choose Hardware . 3. If your cluster uses instance groups, choose Resize in the Instance count column for the instance group that you want to resize, type a new instance count, and then select the green check mark. –OR– If your cluster uses instance fleets, choose Resize in the Provisioned capacity column, type new values for On-demand units and Spot units , and then choose Resize . 337
Image of page 343
Amazon EMR Management Guide Manually Resizing a Running Cluster When you make a change to the number of nodes, the Status of the instance group updates. When the change you requested is complete, the Status is Running . Resize a Cluster Using the AWS CLI You can use the AWS CLI to resize a running cluster. You can increase or decrease the number of task nodes, and you can increase the number of core nodes in a running cluster. It is also possible to terminate an instance in the core instance group using the AWS CLI or the API. This should be done with caution. Terminating an instance in the core instance group risks data loss, and the instance is not automatically replaced. In addition to resizing the core and task groups, you can also add one or more task instance groups to a running cluster using the AWS CLI. To resize a cluster by changing the instance count using the AWS CLI You can add instances to the core group or task group, and you can remove instances from the task group using the AWS CLI modify-instance-groups subcommand with the InstanceCount parameter. To add instances to the core or task groups, increase the InstanceCount . To reduce the number of instances in the task group, decrease the InstanceCount . Changing the instance count of the task group to 0 removes all instances but not the instance group.
Image of page 344
Image of page 345

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