Delete a Cluster

Use Resource Manager to destroy and delete the stack when you no longer need an Oracle Coherence Cloud cluster.

Perform the following two actions to delete a cluster:

  1. Destroy a Stack – A destroy job terminates the compute instance or instances for the cluster but the stack's state and job history remain.
  2. Delete a Stack – A delete job permanently removes the stack and all related resources that were created for the cluster, such as compute instances and networking components.

Destroy a Stack

To delete an Oracle Coherence Cloud cluster, use Resource Manager to destroy the stack associated with the cluster before you execute the Delete Stack action.

A destroy action terminates the compute instance or instances for the domain but the stack's state and job history remain until you execute the Delete Stack action. To destroy a stack:

  1. Access Resource Manager in the Oracle Cloud Infrastructure Console.
  2. From the Compartment drop-down menu, select the compartment where your stack is located.
  3. Click the name of your stack.
  4. On the Stack Details page, click Terraform Actions, and then click Destroy.
  5. When prompted for confirmation, click Destroy. A job with type Destroy and state Accepted is added to the top of the table under Jobs. After a few minutes, the state changes to In Progress.
  6. Wait for the destroy job state to change to Succeeded before you delete the stack.

To verify the stack has been destroyed, navigate to the Compute Instances page. Instances associated with a destroyed stack are labeled Terminated.

Delete a Stack

To delete an Oracle Coherence Cloud cluster, use Resource Manager to delete the stack associated with the cluster, but only after you have successfully destroyed the stack.

Note:

To verify a stack has been destroyed, navigate to the Compute Instances page. Instances associated with a destroyed stack are labeled Terminated.

A delete action permanently removes the stack and all related resources that were created for the cluster, such as compute instances and network components. To delete a stack:

  1. Access Resource Manager in the Oracle Cloud Infrastructure Console.
  2. From the Compartment drop-down menu, select the compartment where your stack is located.
  3. Click the name of your stack.
  4. On the Stack Details page, click Delete Stack.
  5. When prompted for confirmation, click Delete.

The Stacks page redisplays immediately. You'll no longer see your stack listed on the page.