Termination Protection and Spot Instances Amazon EMR termination protection

Termination protection and spot instances amazon emr

This preview shows page 96 - 98 out of 395 pages.

Termination Protection and Spot Instances Amazon EMR termination protection does not prevent an Amazon EC2 Spot Instance from terminating when the Spot Price rises above the maximum Spot price. Configuring Termination Protection When You Launch a Cluster You can enable or disable termination protection when you launch a cluster using the console, the AWS CLI, or the API. The default termination protection setting depends on how you launch the cluster: Amazon EMR Console Quick Options—Termination Protection is disabled by default. Amazon EMR Console Advanced Options—Termination Protection is enabled by default. AWS CLI aws emr create-cluster —Termination Protection is disabled unless --termination- protected is specified. Amazon EMR API RunJobFlow command—Termination Protection is disabled unless the TerminationProtected boolean value is set to true . To enable or disable termination protection when creating a cluster using the console 1. Open the Amazon EMR console at . 2. Choose Create cluster . 3. Choose Go to advanced options . 4. For Step 3: General Cluster Settings , under General Options make sure Termination protection is selected to enable it, or clear the selection to disable it. 5. Choose other settings as appropriate for your application, choose Next , and then finish configuring your cluster. To enable termination protection when creating a cluster using the AWS CLI Using the AWS CLI, you can launch a cluster with termination protection enabled by using the create-cluster command with the --termination-protected parameter. Termination protection is disabled by default. The following example creates cluster with termination protection enabled: 90
Image of page 96
Amazon EMR Management Guide Using Termination Protection Note Linux line continuation characters (\) are included for readability. They can be removed or used in Linux commands. For Windows, remove them or replace with a caret (^). aws emr create-cluster --name " TerminationProtectedCluster " --release-label emr-5.28.1 \ --applications Name= Hadoop Name= Hive Name= Pig \ --use-default-roles --ec2-attributes KeyName= myKey --instance-type m5.xlarge \ --instance-count 3 --termination-protected For more information about using Amazon EMR commands in the AWS CLI, see https:// docs.aws.amazon.com/cli/latest/reference/emr . Configuring Termination Protection for Running Clusters You can configure termination protection for a running cluster using the console or the AWS CLI. To enable or disable termination protection for a running cluster using the console 1. Open the Amazon EMR console at . 2. On the Clusters page, choose the Name of your cluster. 3. On the Summary tab, for Termination protection , choose Change .
Image of page 97
Image of page 98

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

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes