Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

Charmed OpenSearch Tutorial > 7. Clean up the environment

Clean up the environment

In this tutorial, we’ve successfully:

  • Deployed OpenSearch on LXD
  • Enabled TLS
  • Integrated with a client application
  • Rotated user credentials
  • Scaled our deployment

You may now keep your OpenSearch deployment running to continue experimenting or remove it entirely to free up resources on your machine.

Remove Charmed OpenSearch

Warning: When you remove Charmed OpenSearch as shown below, you will lose all the data in your cluster.

To remove Charmed OpenSearch and the model it is hosted on, run this command:

juju destroy-model tutorial --destroy-storage --force --no-wait

The next step is to remove the Juju controller. You can see all of the available controllers by entering juju controllers.

To remove the controller created for this tutorial, enter:

juju destroy-controller opensearch-demo

Remove Juju

Warning: When you remove Juju as shown below you will lose access to any other applications you have hosted on Juju.

To remove Juju altogether, enter:

sudo snap remove juju --purge

What next?

Last updated 3 months ago. Help improve this document in the forum.