Depending on the configuration of the cluster it may take up to 5 20 minutes

Depending on the configuration of the cluster it may

This preview shows page 332 - 334 out of 395 pages.

Depending on the configuration of the cluster, it may take up to 5-20 minutes for the cluster to completely terminate and release allocated resources, such as EC2 instances. Terminate a Cluster Using the Console You can terminate one or more clusters using the Amazon EMR console. The steps to terminate a cluster in the console vary depending on whether termination protection is on or off. To terminate a protected cluster, you must first disable termination protection. To terminate a cluster with termination protection off 1. Sign in to the AWS Management Console and open the Amazon EMR console at https:// console.aws.amazon.com/elasticmapreduce/ . 2. Select the cluster to terminate. You can select multiple clusters and terminate them at the same time. 3. Choose Terminate . 4. When prompted, choose Terminate . Amazon EMR terminates the instances in the cluster and stops saving log data. To terminate a cluster with termination protection on 1. Sign in to the AWS Management Console and open the Amazon EMR console at https:// console.aws.amazon.com/elasticmapreduce/ . 2. On the Cluster List page, select the cluster to terminate. You can select multiple clusters and terminate them at the same time. 3. Choose Terminate . 4. When prompted, choose Change to turn termination protection off. If you selected multiple clusters, choose Turn off all to disable termination protection for all the clusters at once. 5. In the Terminate clusters dialog, for Termination Protection , choose Off and then click the check mark to confirm. 6. Click Terminate . Amazon EMR terminates the instances in the cluster and stops saving log data. Terminate a Cluster Using the AWS CLI To terminate an unprotected cluster using the AWS CLI To terminate an unprotected cluster using the AWS CLI, use the terminate-clusters subcommand with the --cluster-ids parameter. 326
Image of page 332
Amazon EMR Management Guide Terminate a Cluster Using the API Type the following command to terminate a single cluster and replace j-3KVXXXXXXX7UG with your cluster ID. aws emr terminate-clusters --cluster-ids j-3KVXXXXXXX7UG To terminate multiple clusters, type the following command and replace j-3KVXXXXXXX7UG and j- WJ2XXXXXX8EU with your cluster IDs. aws emr terminate-clusters --cluster-ids j-3KVXXXXXXX7UG j-WJ2XXXXXX8EU For more information on using Amazon EMR commands in the AWS CLI, see https:// docs.aws.amazon.com/cli/latest/reference/emr . To terminate a protected cluster using the AWS CLI To terminate a protected cluster using the AWS CLI, first disable termination protection using the modify-cluster-attributes subcommand with the --no-termination-protected parameter. Then use the terminate-clusters subcommand with the --cluster-ids parameter to terminate it. 1. Type the following command to disable termination protection and replace j-3KVTXXXXXX7UG with your cluster ID.
Image of page 333
Image of page 334

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