You can release an E-MapReduce (EMR) cluster in a timely manner if you no longer need the cluster. This helps avoid unnecessary costs. After a cluster is deleted, the data of the cluster cannot be recovered. Proceed with caution.
Prerequisites
Pay-as-you-go cluster: The cluster is in the Initializing, Running, or Idle state.
Subscription cluster: The cluster is in the Running or Startup Failed state, and no ECS instance exists in the cluster. For information about how to release an ECS instance, see Release an instance.
Precautions
Before you release a subscription cluster, you must release all ECS instances in the cluster. If a cluster has ECS instances that are stopped but are not released, you cannot release the cluster.
After all ECS instances are released, the subscription EMR cluster is automatically released within 15 minutes.
When you release an ECS instance, if an ongoing task exists in the ECS instance, the task fails.
Before your subscription cluster expires, you can release all ECS instances in the cluster if you no longer need the cluster. When you release the ECS instances, the system refunds you the fees for unused resources. For more information, see Refund policy. You can go to the Orders page to view your refund status. To go to the Orders page, perform the following operations: Log on to the EMR console. In the top navigation bar, choose Expenses > Orders.
Procedure
Go to the EMR on ECS page.
Log on to the EMR console. In the left-side navigation pane, click EMR on ECS.
In the top navigation bar, select the region where you want to create a cluster and select a resource group based on your business requirements.
You cannot change the region of a cluster after the cluster is created.
By default, all resource groups in your account are displayed.
On the EMR on ECS page, find your cluster, move the pointer over the icon and select Release.
You can also go to the Basic Information tab of the cluster that you want to release and choose All Operations > Cluster Operation > Release in the upper-right corner.
In the Release Cluster message, click OK.