6 Delete a Stack

You can delete the stack your created for Oracle WebLogic Server for OKE.

Note:

Before you delete a stack, ensure that you have deleted all the resources of your domain. See Terminate a WebLogic Domain in Manage WebLogic Domains.

If you enabled Verrazzano for the stack, see Terminate a WebLogic Domain in Manage WebLogic Domains in Verrazzano.

  1. Access the administration compute instance for your domain.
  2. Run the following command to delete the resources:
    /u01/shared/scripts/lcm/delete_resources.sh -p <OCIR Auth Token> -l

    This deletes the OCIR repos created during provisioning and the OCI Load Balancer associated with the internal and external ingress services.

  3. Sign in to the Oracle Cloud Infrastructure Console.
  4. Click the navigation menu Navigation Menu icon, select Developer Services. Under the Resource Manager group, click Stacks.
  5. Click the stack you want to delete.
  6. Click Terraform Actions, and then select Destroy.
  7. When prompted for confirmation, click Destroy.
  8. Periodically monitor the progress of the Destroy job until it is finished.

    If an email address is associated with your user profile, you will receive an email notification.

    Ensure that all the resources of the stack are deleted successfully.

  9. Click Delete Stack.