Delete a Cluster
Perform the following two actions to delete a cluster:
- Destroy a Stack – A destroy job terminates the compute instance or instances for the cluster but the stack's state and job history remain.
- 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:
- Access Resource Manager in the Oracle Cloud Infrastructure Console.
- From the Compartment drop-down menu, select the compartment where your stack is located.
- Click the name of your stack.
- On the Stack Details page, click Terraform Actions, and then click Destroy.
- When prompted for confirmation, click Destroy. A job with type
Destroyand stateAcceptedis added to the top of the table under Jobs. After a few minutes, the state changes toIn Progress. - Wait for the destroy job state to change to
Succeededbefore 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:
- Access Resource Manager in the Oracle Cloud Infrastructure Console.
- From the Compartment drop-down menu, select the compartment where your stack is located.
- Click the name of your stack.
- On the Stack Details page, click Delete Stack.
- When prompted for confirmation, click Delete.
The Stacks page redisplays immediately. You'll no longer see your stack listed on the page.